- Get swap quotes from multiple liquidity sources in a single call
- Receive ready-to-sign approve and swap transactions - no separate quote/execute steps
- Bridge assets across chains (EVM ↔ EVM, EVM ↔ Solana)
Prerequisites
- A Zerion API key (get one here)
- A wallet address with tokens to swap
How it works
Unlike most swap APIs that require separate quote and execute endpoints, the Zerion API combines both into a single call:- Call
GET /v1/swap/quotes/with the sender, recipient, input asset, output asset, and amount - Receive multiple quotes - each includes the expected output, fees, and (when executable) ready-to-sign
transaction_approveandtransaction_swappayloads - Pick a quote and sign the transactions with your wallet
output_amount_after_fees.