Intents Route

v0.1.1
fi.intents/route Checked 1 day ago Published 5 days ago

Compare every intent protocol for a cross-chain transfer; the user's wallet signs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_started Get started with Intents

Get step-by-step setup for accepting payments, swapping or routing, with the links you need. Includes signup, how to make a test key, the first test call and the docs. No account needed. Omit `goal` to get the guide for this endpoint's product.

ParameterTypeDescription
goalstringaccept_payments (Checkout), swap (Swap) or route (Route)

whoami Who am I connected as

Show how this connection is authenticated: none, API key or OAuth, its mode, scopes and account. For Checkout accounts it adds the business name and status. Call it first to know whether account tools will work and whether payments are test or live.

search_docs Search the Intents docs

Search the Intents docs and get the best-matching pages with a snippet. Covers Intents Checkout, Intents Route, Intents Swap, webhooks, the API reference, error codes and agent setup; read a page in full with get_doc.

ParameterTypeDescription
query *stringWhat you are looking for, in words
limitinteger

get_doc Read an Intents docs page

Read one Intents docs page as markdown. Pass a path (`/checkout/quickstart`, `/errors/INVOICE_NOT_OPEN`) or a full intents.fi/docs URL; `/llms.txt` lists every page. Only the docs host is fetched.

ParameterTypeDescription
page *stringA docs path or URL

explain_error Explain an Intents error code

Explain an Intents API error code and how to handle it. Pass the `error.code` from any API response or tool error, e.g. INVOICE_NOT_OPEN or LIVE_MODE_LOCKED; the answer is that code's docs page.

ParameterTypeDescription
code *stringThe error code, e.g. LIVE_MODE_LOCKED

list_chains List supported chains

List every chain Intents supports, with its CAIP-2 ID, alias, VM, native asset and protocols. The count comes from the live registry. Use the `id` or `alias` wherever a tool asks for a chain.

list_assets Find routable assets

Find tokens Intents can route by symbol, name or contract address, optionally on one chain. Returns CAIP-19 IDs, decimals, USD price and protocols. Symbols are display-only: pass the `id` to quote tools, and convert amounts to base units with `decimals`.

ParameterTypeDescription
chainstringCAIP-2 chain ID or alias, e.g. base
limitinteger
qstringSymbol, name or address, e.g. USDC

list_protocols List routing protocols

List the protocols Intents Route routes through, with how many chains each serves. Derived from the live chain registry, so the list and every count are never out of date.

quote_route Compare cross-chain quotes

Compare every intent protocol's quote for one cross-chain transfer, ranked, with who could not quote. Set from.amount for exact input or to.amount for exact output, as integer base-unit strings; assets are CAIP-19. Read-only: pass a quoteId to get_route_plan to get the steps to sign.

ParameterTypeDescription
from *object
recipient *stringWho receives, on the destination chain
sender *stringThe wallet that pays, on the source chain
to *object
rankstring
refundTostring
slippageBpsinteger

get_route_plan Build a route execution plan

Turn a quote_route quoteId into an order and the steps the user's wallet must sign. Returns the transactions or signatures, in order, and when the plan expires. Nothing is signed or sent by this server. Needs credentials; persist the orderId before retrying.

ParameterTypeDescription
quoteId *string
driftToleranceBpsintegerHow much worse a re-quote may be before the order is refused (default 50)

route_order_status Route order status

Get a Route order's status, the same lifecycle whichever protocol carries it. awaiting_user → submitted → pending_deposit → processing → completed | refunded | failed | expired, with transaction hashes. Needs the credentials that created the order.

ParameterTypeDescription
orderId *string

route_health Route health

Get live route health: success rate, quote error rate and failovers per protocol. The same data as intents.fi/docs/status, for a 24h or 7d window.

ParameterTypeDescription
windowstring