o1 Get Quote
o1_get_quoteGet a live DEX-aggregator swap quote on Base. Read-only, returns route summary and raw data without requiring a wallet.
Instructions
Get a live DEX-aggregator swap quote on Base (o1.exchange). Read-only — no wallet or signing. Pass token addresses or "ETH". amountIn is in base units (wei). Returns a compact route summary + raw. Quotes expire in ~10s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeBps | No | Integrator fee in bps. | |
| chainId | No | Chain id. Base (8453) only; other chains are rejected. | |
| maxHops | No | Max route hops. | |
| tokenIn | Yes | Input token: an EVM address or "ETH". | |
| amountIn | Yes | Amount of tokenIn in base units (wei), as a decimal string > 0. | |
| tokenOut | Yes | Output token: an EVM address or "ETH". | |
| slippageBps | No | Max slippage in bps (0..2000). Defaults to 100. | |
| allowedDexes | No | Restrict routing to these DEX ids. | |
| splitEnabled | No | Allow split routing across venues. | |
| timeBudgetMs | No | Upstream routing time budget in ms (50..10000). |