{"uid":"cap_JeSIUhjrIOcpm0_uLdpXS","slug":"basebuilder-defi-bridge-swap-rate-a4407303","name":"BaseBuilder DeFi Bridge Swap Rate","description":"BaseBuilder Defi API hub - 22 paid endpoints","url":"https://bbx-defi.vercel.app/api/bridge/swap-rate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.145638","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.145638/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.145638","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.145638","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZCAWGqZLrnzbC15bvvupl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.145638","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the exchange rate for swapping tokens across blockchain bridges in DeFi protocols","exampleAgentPrompt":"What's the current bridge swap rate for converting 1 ETH from Ethereum mainnet to USDC on Base chain?","exampleUseCases":[{"title":"Pre-trade cross-chain swap quote","prompt":"Before I bridge my funds, can you check what rate I'd get swapping 500 USDC from Arbitrum to ETH on Ethereum mainnet right now?"},{"title":"DeFi arbitrage rate monitoring","prompt":"Check the bridge swap rate from USDC on Base to USDC on Optimism — I want to see if there's a meaningful rate difference worth arbitraging."},{"title":"User-facing bridge rate display","prompt":"I'm building a DeFi app and need to show my users the current swap rate for bridging 0.5 WETH from Polygon to Base — can you fetch that rate for me?"}],"resultDescription":"Returns the current exchange rate for the requested token pair and chain combination, including the estimated output amount, bridge fees, and any applicable slippage or spread information for the cross-chain swap.","failureModes":["Unsupported token pair returns an error or empty rate","Unsupported source or destination chain returns a 400 or 404","Network congestion may cause stale or unavailable rate data","Invalid token contract addresses produce validation errors","Payment failure (402) if USDC payment not properly attached","Rate may be temporarily unavailable if bridge liquidity is insufficient"],"whenToPreferThis":"Use this endpoint when you need a real-time or near-real-time exchange rate quote for a cross-chain token bridge swap, especially within the BaseBuilder DeFi ecosystem covering Base chain and EVM-compatible networks. Prefer this over on-chain direct queries when you want a fast, off-chain rate estimate before committing to a transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:46:38.158Z","isFirstParty":false,"canonicalSlug":"basebuilder-defi-bridge-swap-rate-a4407303"}