Skip to main content
Routes list which assets can reach which destinations; limits give amount bounds for a pair. Read /routes for capability and decimals, /limits for form validation, then /estimate for pricing and /quote when the user commits. Do not hardcode availability or bounds.

Routes

GET /v2/orchestration/routes returns { assets, tokenSupport, validForMs }: one entry per asset, the chains where a token can be named by address, and how long the response can be cached, up to 10 seconds. tokenSupport is omitted when no chain supports it for your key. The id is <chain>:<asset>, for example base:USDC, ton:GRAM, hypercore:USDC. Fetch it:
Illustrative asset entry; read current capabilities from the response.
Read the source asset’s sets for the requested destination:
  • to: supported destinations.
  • exactOutTo: destinations supporting exact-out amounts.
  • fixedTo: destinations supporting Fixed-output quotes.
Each set is "all" (every other asset), a list of ids (empty means none), or an object with an except list. Availability also depends on partner configuration and live pricing. Discover routes with the same partner key used for quotes when applicable. contractAddress identifies the token; native assets use null. chainId identifies the network where supplied. decimals is the smallest-unit exponent for that specific asset: Base USDC uses 6, BSC USDC 18, and Hypercore USDC 8. Never infer decimals from the ticker. Read capability from set membership, not from the symbol. Two assets that share a ticker on different chains are different ids with different sets, and an id that is missing from the response is never routable. A token outside assets is routable only by its contract address or mint, on a chain in tokenSupport; see Any token.

Limits

GET /v1/orchestration/limits returns { generatedAt, routes: [...] } with bounds per canonical route. Filter by sourceChain, sourceAsset, destinationChain, and destinationAsset:
Illustrative route entry, trimmed; use live bounds:
Direction is buy, sell, or xchain. The notional band is operator-tuned and changes without notice. The exact-in and exact-out blocks give the request-amount bounds in smallest units and in cents. The fiat band is present only when the source is Lightning BTC. When dynamicProviderLimits.possible is true, live pricing can still reject an amount inside the published band. Every bound has a typed entry in constraints whose source is one of runtime_order_bounds, flashnet_static_limit, bitcoin_l1_delivery, provider_quote, or fiat_amount. Three minimums have fixed bases: 5,000 sats of swap input from Bitcoin L1, 1,200 sats from Spark, and 10,000 sats for delivery to Bitcoin L1. The published Bitcoin L1 values are higher than the base, and the two are computed differently. The delivery minimum adds the exit fee reserve that quotes net at the current feerate, so it moves between reads. The source minimum adds the deposit claim fee at a fixed reference of 10 sat/vB and does not move: above that feerate a quote requires a larger deposit than /limits shows, and refreshing /limits will not show it. Size a Bitcoin L1 deposit from /estimate or /quote. Read the published values from the response; do not hardcode them. Some cross-chain planner routes appear on /routes but not on /limits, and a pair with a token named by address never does. Treat /limits as a guardrail for your form, not as an execution guarantee: /estimate and /quote can still return amount_too_small, amount_too_large, amount_exceeds_liquidity, or route_unavailable for an amount inside the published band. Both endpoints are rate limited to 60 requests per minute per IP. Responses carry X-RateLimit-* headers and exhaustion returns 429 rate_limited. See Rate limits.