Acrossbridge API: Get an executable cross-chain swap quote
Request a cross-chain swap quote with POST /v1/quotes, then check its expiry, refund options and ordered wallet actions.
3 min read

Acrossbridge’s POST /v1/quotes returns a cross-chain swap quote and the ordered actions a client needs to execute it. For a selected transfer, acrossbridge.dev lets a developer request that quote; Across uses relayers to fulfill transfer requests between supported networks. Treat the response as an execution plan: proceed only when the quote is current and the client can perform each required action.
Choose an eligible token pair and confirm the client can handle the actions it may require. For example, use WETH on Ethereum as the origin and USDC on Optimism as the destination. Resolve each token to its chain ID and contract address, and confirm the wallet can approve tokens, provide required signatures and submit transactions on both networks.
Send an authenticated POST request with the API key as a Bearer token. Set
amountTypetoexact_input, provide the input in base units, and include the depositor and destination recipient.curl -X POST "$API_URL/v1/quotes" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"amountType":"exact_input","origin":{"token":{"chainId":1,"address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},"amount":"1000000000000000000","depositor":"0xYourWallet"},"destination":{"token":{"chainId":10,"address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"},"recipient":"0xRecipient"}}'Replace the example wallet addresses with valid addresses. A quote is returned only when the requested route is available.
Validate the response before showing an execution button. Compare the origin and destination token, chain, amount, depositor and recipient with the request. Review
destination.amountas the expected output,destination.minAmountas the minimum, and the fee breakdown infee. The [Across quote reference](https://docs.across.to/api-reference/v1/quotes/post) documents these fields and the execution actions.Check
expiresAtandrefundTo. The expiry marks when the client needs a replacement quote; refund destinations identify possible refund tokens, chains and recipients. Show those details with the quote so the user can assess the amount and destination before signing.Walk through
nextActionsin their returned order. They may call for an approval, a signature or a transaction, so the client must support each operation and its required chain. Keep the associatedorderIdwith the plan for any later API call the actions require.The quote is ready to return as an execution plan when it is unexpired, matches the requested assets and recipient, and every action is supported by the client. Across’ December 2026 migration guide deprecates the legacy Swap, suggested-fees and deposit-status APIs; build new quote flows around the current quote endpoint.
Acrossbridge is useful here when the client needs a priced transfer and the wallet operations together: the response gives the developer one ordered plan to validate before passing it to the wallet.