Orkid Swap Quote
orkid_quoteGet 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.
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" |