Retrieves a swap price estimate for trading tokens on a specific chain without building a complete transaction. Use this endpoint for displaying price quotes to users before they commit to a swap.
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.
Token symbol or address to sell.
Amount to sell in the smallest unit.
Optional 0x API key.
Maximum acceptable slippage in basis points.
Comma-separated list of liquidity sources to exclude.
Swap price retrieved successfully