Sushi DEX Swap Quote Between Two Tokens
sushi/swap-quote
A read-only quote for swapping an amount of one token for another on one chain through Sushi's aggregator: the expected output in the output token's smallest units, the execution price, the price impact and the estimated gas, with the tokens involved. It builds no transaction and moves nothing. Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for the chain's native coin. Status NoWay means no route. Sushi public API data, passed through and served by Eden Engine; not an official Sushi product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Data from the Sushi API (sushi.com). Served by Eden Engine; not an official Sushi product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "sushi/swap-quote" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "sushi/swap-quote" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "sushi/swap-quote", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "sushi/swap-quote", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"chain",
"tokenIn",
"tokenOut",
"amount"
],
"properties": {
"chain": {
"type": "string",
"pattern": "^[0-9]{1,9}$",
"description": "EVM chain id as digits, e.g. 1 Ethereum, 10 Optimism, 56 BNB Chain, 137 Polygon, 8453 Base, 42161 Arbitrum, 43114 Avalanche. A chain the aggregator does not support is an error."
},
"amount": {
"type": "string",
"pattern": "^[1-9][0-9]{0,40}$",
"description": "Amount to sell in the input token's smallest units, a positive integer string. 1 WETH is 1000000000000000000."
},
"tokenIn": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to sell, address of either case, or the native-coin placeholder 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE."
},
"tokenOut": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to buy, address of either case, or the native-coin placeholder."
},
"maxSlippage": {
"type": "string",
"default": "0.005",
"pattern": "^0(\\.[0-9]{1,6})?$",
"description": "Maximum slippage as a fraction below 1, e.g. 0.005 for 0.5 percent."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"description": "Success, or NoWay when no route exists."
},
"tokens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"address": {
"type": "string"
},
"decimals": {
"type": "integer"
}
},
"additionalProperties": true
},
"description": "Tokens on the route."
},
"tokenTo": {
"type": "integer",
"description": "Index of the output token in `tokens`."
},
"amountIn": {
"type": "string"
},
"gasSpent": {
"type": "number",
"description": "Estimated gas."
},
"swapPrice": {
"type": "number",
"description": "Execution price in output smallest units per input smallest unit."
},
"tokenFrom": {
"type": "integer",
"description": "Index of the input token in `tokens`."
},
"priceImpact": {
"type": "number",
"description": "Price impact as a fraction."
},
"assumedAmountOut": {
"type": "string",
"description": "Expected output in the output token's smallest units."
}
},
"additionalProperties": true
}