Orkid Swap Quote
orkid_quoteGet a live, non-executing token swap quote across Base, Ethereum, Arbitrum, Unichain, BSC, and Robinhood Chain, including gasless, MEV-protected routes and a swap URL for signing.
Instructions
Get a live, non-executing crypto token swap quote from the Orkid solver network — best route across Tycho + RFQ DEX liquidity, gasless via Permit2 (solver pays gas, no ETH/BNB needed), MEV-protected. Same-chain swaps on Base, Ethereum, Arbitrum, Unichain, BSC, and Robinhood Chain (tokenized stocks, chain 4663). Use when a user wants to swap tokens, trade crypto, or buy tokenized equities. The response includes a swapUrl — send the user there to sign; the agent never touches keys. Free with X-ORKID-API-Key header (key at orkidlabs.xyz/partner) or $0.002 USDC/call via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>",
"amount": "<amount>",
"chain": "<chain>"
},
"name": "orkid_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Output token symbol (e.g. WETH) or contract address | |
| from | Yes | Input token symbol (e.g. USDC) or contract address | |
| chain | Yes | Chain name or id: base | ethereum | arbitrum | unichain | bsc | robinhood | polygon | |
| amount | Yes | Human-readable input amount, e.g. "25" |