v1
latestOpenAPI 3.1.02026-07-2643416.7 KBPrice a swap and return a routePlan
Request body
EVM chain id. 8453 for Base (current Phase-1 target).
20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.
20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.
Non-negative integer encoded as a decimal string (wei).
Integrator fee in bps, charged out of the output amount.
20-byte hex address. The sentinel 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in tokenIn/tokenOut.
Per-request override of the optimizer's wall-clock budget. Omit to inherit the engine default.
Response
Quote produced
SHA-256 (or HMAC-SHA256 if the server has O1_QUOTE_SIGNING_KEY set) of the quote payload. Echo this on /submit.
Unix epoch milliseconds at which the cached quote drops.