Skip to main content
GET
Get a free quote

Query Parameters

chainId
enum<string>
required

App-chain STRING key — never a numeric EIP-155 id on the REST surface. Twelve keys are wire-accepted: eight live (each backed by a canonical testnet deployment — ethereum/arbitrum/base/robinhood/mantle/ink/ xlayer/monad) + four dormant (taiko/bsc/polygon/hyperevm — kept for backward compatibility; status "dormant", no network backing, settle DB-simulated with honest labels; hyperevm is STAGED with its deployment pre-verified in simulation; the SDK refuses dormant keys client-side via assertQuoteInput). Round-13 (E), B-6: this count matches SkiaChainId (8 live + 4 dormant) and info.x-testnet — the pre-monad, pre-hyperevm "ten keys / seven live" fossil is retired. Numeric EIP-155 aliases are an MCP-layer convenience (CHAIN_INPUT enum), NOT a REST contract. ALIAS DISCIPLINE (R4-26): numeric aliases resolve to TESTNET settlementChainIdNumeric values ONLY; mainnet labels are forbidden pre-mainnet (MCP schema v0.1.2 carries the same sentence). (CR-3) App-chain key. 8 live + 4 dormant (taiko/bsc/polygon/hyperevm — wire-accepted only; no deployment; the SDK refuses them client-side; hyperevm is staged with its deployment pre-verified in simulation — mainnet id 999 probe-verified, testnet 998). monad joined LIVE in v0.4.5 via DEPLOYMENT REPRODUCTION (canonical set replayed from the recovered salts/initcodes by a non-original wallet, 2026-11-19, battery green): mainnet id 143, testnet id 10143 — both probe-verified via eth_chainId (rpc.monad.xyz / rpc-testnet.monadinfra.com). ROBINHOOD MAINNET FACT (probe-verified 2026-11-19): Robinhood Chain mainnet EXISTS — id 4663 (eth_chainId 0x1237); the testnet id 46630 remains the settlement + alias lane pre-mainnet-integration. ALIAS DISCIPLINE (R4-26): where numeric EIP-155 ids are accepted (MCP layer), they resolve to TESTNET settlementChainIdNumeric values only — mainnet labels are forbidden pre-mainnet (MCP schema v0.1.2 carries the same sentence); the MCP numeric alias additions (4663 / 143 / 10143 / 998 / 999) are queued for the v0.1.4 regen so runtime and docs move together.

Available options:
ethereum,
arbitrum,
base,
robinhood,
mantle,
ink,
xlayer,
monad,
taiko,
bsc,
polygon,
hyperevm
tokenIn
string
required

Symbol or token address; validated server-side. Accepted symbols: USDC, DAI, USDT, USDS, GHO, LUSD, PYUSD. Only USDC and DAI are canonically deployed (MockUSDC / MockDAI) — see info.x-token-tiers. Testnet "USDC" is MockUSDC, NOT Circle's USDC.

tokenOut
string
required

Same accepted set as tokenIn.

amountIn
string
required

Decimal string (R4-25 pattern).

Pattern: ^\d+(\.\d+)?$
expiry
string<date-time>

Optional requested quote expiry (ISO date-time). Previously undocumented; now specced (CR-9).

Response

Quote returned — embeds a live signed bearer instrument; NEVER cached (R4-8)

quoteId
string
required
chainId
enum<string>
required

App-chain key. 8 live + 4 dormant (taiko/bsc/polygon/hyperevm — wire-accepted only; no deployment; the SDK refuses them client-side; hyperevm is staged with its deployment pre-verified in simulation — mainnet id 999 probe-verified, testnet 998). monad joined LIVE in v0.4.5 via DEPLOYMENT REPRODUCTION (canonical set replayed from the recovered salts/initcodes by a non-original wallet, 2026-11-19, battery green): mainnet id 143, testnet id 10143 — both probe-verified via eth_chainId (rpc.monad.xyz / rpc-testnet.monadinfra.com). ROBINHOOD MAINNET FACT (probe-verified 2026-11-19): Robinhood Chain mainnet EXISTS — id 4663 (eth_chainId 0x1237); the testnet id 46630 remains the settlement + alias lane pre-mainnet-integration. ALIAS DISCIPLINE (R4-26): where numeric EIP-155 ids are accepted (MCP layer), they resolve to TESTNET settlementChainIdNumeric values only — mainnet labels are forbidden pre-mainnet (MCP schema v0.1.2 carries the same sentence); the MCP numeric alias additions (4663 / 143 / 10143 / 998 / 999) are queued for the v0.1.4 regen so runtime and docs move together.

Available options:
ethereum,
arbitrum,
base,
robinhood,
mantle,
ink,
xlayer,
monad,
taiko,
bsc,
polygon,
hyperevm
tokenIn
string
required
tokenOut
string
required
amountIn
string
required

Decimal string, echoed.

amountOut
string
required

Decimal string.

rate
string
required
fee
string
required

Spread in bps, e.g. '6'.

expiry
string<date-time>
required
unsignedIntent
object
required

The COMPLETE SwapERC20 order skeleton, signed by the maker (relayer) with EIP-712 (domain: SwapERC20, version 4, chainId, verifyingContract). This signature is the taker's exit capability: the order is verifiable and self-settleable on-chain. Reveal must echo these fields exactly. WIRE NAME STAYS unsignedIntent (R2-7 stability) even though the object CARRIES the maker's signature — the SDK type is honestly MakerIntent; the MCP surface already says signedOrder.

signerWallet
string
required
deprecated

MIRROR of unsignedIntent.signerWallet — the signed intent is authoritative.

signerToken
string
required
deprecated

MIRROR of unsignedIntent.signerToken (tokenOut as token address).

signerAmount
string<uint256>
required
deprecated

MIRROR of unsignedIntent.signerAmount (tokenOut amount in base units).

senderToken
string
required
deprecated

MIRROR of unsignedIntent.senderToken (tokenIn as token address).

senderAmount
string<uint256>
required
deprecated

MIRROR of unsignedIntent.senderAmount (tokenIn amount in base units).

protocolFee
string<uint256>
required
deprecated

MIRROR of unsignedIntent.protocolFee (AirSwap protocol fee bps for the order struct).

dynamicFeeApplied
string

Dynamic fee actually applied, e.g. '12.35 bps' (CR-8).

tier
enum<string>

Caller tier at quote time.

Available options:
Bronze,
Silver,
Gold,
None
layer
enum<string>
Available options:
sovereign,
edge
settlementMode
enum<string>

QUOTE-TIME honesty signal (R4-17; SHIPPED v0.4.5 — the prose promised it, the schema now carries it, the server emits it): "on-chain" = this quote settles through a REAL SwapERC20 transaction (chain-backed); "simulated" = DB-simulated. Same predicate reveal uses (isChainBacked); front ends MUST surface it and MUST NOT link a simulated result to an explorer. Clients on older specs derive it from onChain at reveal when absent.

Available options:
on-chain,
simulated
settlementNetwork
object

Echo when the quote is chain-backed (additive; CR-8). Same shape-lite as WalletSummary.settlementNetwork — the REAL chain facts for signing.