Retrieves a swap quote with full transaction details for trading tokens on a specific chain. Use this endpoint when you are ready to execute a swap and need the complete transaction to sign and broadcast.
Client API Key or Client Session Token (CST). Pass as a Bearer token in the Authorization header.
Chain ID in CAIP-2 format (e.g. eip155:1).
Token symbol or address to buy (e.g. USDC).
Token symbol or address to sell (e.g. ETH).
Amount to sell in the smallest unit (e.g. wei).
Optional 0x API key.
Maximum acceptable slippage in basis points (e.g. 100 = 1%).
Comma-separated list of liquidity sources to exclude.
Address to receive swap fees.
Swap fee in basis points.
Token to collect fees in.
Swap quote retrieved successfully