v1
latestOpenAPI 3.1.02026-07-243035381.4 MBGet multi-protocol rates
/v4/data/defi/swaps/quotes
20 credits per API call
Compare swap rates across all supported protocols. Results are sorted by best price: highest buyAmount for sell orders, lowest sellAmount for buy orders. **Quotes are cached for up to 15 seconds** (less than one Ethereum block). Each result includes an `expiresAt` field (Unix timestamp) indicating when the underlying quote was originally fetched from the protocol. Always check `expiresAt` against the current time before displaying or acting on a quote — if less than ~10 seconds remain, re-query to get a fresh price.
Query parameters
ERC-20 token contract address to sell.
ERC-20 token contract address to buy.
Fixed-side amount in base units. sell order (kind='sell'): exact amount of sellToken to spend. buy order (kind='buy'): exact amount of buyToken to receive.
Wallet address initiating the swap. Used for CoW fee estimation and quote context.
Tatum network slug (e.g. ethereum-mainnet, bsc-mainnet, polygon-mainnet). Matches the networks[].id field in https://blockchains.tatum.io/blockchains2.json.
Whether this is exact-input (sell) or exact-output (buy).
Slippage tolerance in basis points (1 bps = 0.01%). Applied to the quoted amount to compute limitAmount.
Filter quotes by MEV protection status.
protected — only MEV-safe protocols (CoW Protocol). unprotected — only non-MEV protocols (Uniswap, PancakeSwap). omitted — all protocols, no filter.