Skip to content
Checkout: public page
GET/v0/checkout/{invoiceId}/assets

Search every asset this invoice can be paid with

Searches every payable asset in the registry, not just the default list, by symbol, token name, network or contract address. Every word of q must match (“usdc base”).

Only assets that a provider can route exact-output to the invoice’s settlement asset are listed (§11.3). On Bitcoin and NEAR only the native coin is listed.

Search never quotes a long list. When the whole result set is 3 assets or fewer, each match carries its option (or null: nothing routes it right now). Otherwise price the one the customer picks with GET …/options?assets=.

Limited per invoice: 240 searches an hour (429 RATE_LIMITED).

The invoice’s client secret, in the x-client-secret header. It reaches this one invoice’s public endpoints and nothing else, and expires with the invoice.

  • invoiceIdRequired · path
  • qRequired · query

    What the customer typed: a symbol, a token name, a network, or a contract address. Every word must match.

  • limitOptional · query
  • cursorOptional · query

    nextCursor from the previous page

  • payerOptional · query

    The payer's address, so an inline quote can read their balance (§6.4)

  • 200Matching assets, best match first
curl
curl https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10 \
-H 'x-client-secret: $CLIENT_SECRET'
TypeScript
const response = await fetch("https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10", {
method: "GET",
headers: {
"x-client-secret": clientSecret,
},
});
if (!response.ok) {
const { error } = await response.json();
throw new Error(`${error.code}: ${error.message}`);
}
const data = await response.json();
Python
import httpx
response = httpx.get(
"https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/assets?q=usdc%20base&limit=10",
headers={"x-client-secret": client_secret},
)
response.raise_for_status()
data = response.json()
{ "error": { "code": "INVOICE_EXPIRED", "message": "This invoice has expired" } }

Switch on code, not on the message: every code has a page under Error codes. Base URL https://api.intents.fi; the whole reference is on one page.