All coin ids (paged)
GET /api/coins-listThe complete list of tracked coins (~18k) as {id, symbol, name}, paged: `page` + `perPage` (1-500, default 250). Send GET /api/coins-list with no required fields (5 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, page, perPage and 5 more.
`includePlatforms: true` adds each coin's contract address per platform; `platform` (e.g. base, solana, ethereum) keeps only coins with a contract there; `symbol` keeps one ticker (exact, case-insensitive) across all its namesakes. For bulk id resolution, building a local symbol map, or enumerating every token on one chain; for a single lookup use coin-search. The upstream list is fetched once and cached in-process for 10 minutes, so paging through it costs the shared quota one call.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | number | no | Page number (default 1). |
perPage | number | no | Rows per page, 1-500 (default 250). |
includePlatforms | boolean | no | Include contract addresses per platform (default false). |
platform | string | no | Keep only coins with a contract on this platform id (implies includePlatforms). |
symbol | string | no | Keep only coins with this ticker symbol (exact, case-insensitive). |
Example request
curl -i "https://agent402.tools/api/coins-list?symbol=usdc&includePlatforms=true"
Without payment this returns HTTP 402 Payment Required with the exact price for coins-list; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "coingecko",
"fetchedAt": "2026-08-22T13:20:00.000Z",
"cached": false,
"page": 1,
"perPage": 250,
"total": 3,
"totalPages": 1,
"count": 3,
"filters": {
"symbol": "usdc",
"platform": null
},
"coins": [
{
"id": "usd-coin",
"symbol": "usdc",
"name": "USDC",
"platforms": {
"ethereum": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"base": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"solana": "EPjFWdd5AuFqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
}
]
}
| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | coingecko |
fetchedAt | string | yes | 2026-08-22T13:20:00.000Z |
cached | boolean | yes | false |
page | number | yes | 1 |
perPage | number | yes | 250 |
total | number | yes | 3 |
totalPages | number | yes | 1 |
count | number | yes | 3 |
filters | object | yes | 2 fields: symbol, platform |
coins | array of objects | yes | 1 item in the example |
From an MCP client
catalog.call {
"slug": "coins-list",
"params": {
"symbol": "usdc",
"includePlatforms": true
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for coins-list; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/coins-list is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/coins-list?symbol=usdc&includePlatforms=true");
Related tools
Tokenized asset issuer
GET /api/rwa-issuerOne issuer of tokenized real-world assets by id: aggregate tokenized market cap, 24h cap change and 24h volume, plus eve…
Tokenized asset issuers
GET /api/rwa-issuersThe issuers behind tokenized real-world assets (Coinbase, Backpack Securities, Ondo, xStocks and the rest): id and name,…
Tokenized assets list
GET /api/rwa-listEvery real-world asset with a tokenized onchain version that CoinGecko tracks: stocks, ETFs and commodities, with id, sy…
Known-address label lookup
POST /api/address-labelLabel a known EVM address from a curated, committed dataset: major stablecoin + token contracts (the USDC and USDG contr…
Wallet token transfers (filtered)
POST /api/asset-transfersRecent token transfers for a wallet on Base, Ethereum and other EVM chains, newest first. Filtered transfer log for an E…
Block info
GET /api/block-infoHeader-level detail for one block on Ethereum, Base, Polygon, Arbitrum, or Optimism: hash, timestamp (unix + ISO), trans…