Exchange tickers
GET /api/exchange-tickersMarkets (tickers) listed on one exchange: base/target pair, last price, 24h volume, USD- and BTC-converted last price and volume, bid-ask spread %, trust score (green/yellow/red), anomaly and stale flags, trade URL and last trade time. Send GET /api/exchange-tickers with the required field exchange and pay $0.008 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, exchange, exchangeName and 3 more.
Filter by `coins` (coin ids, max 10); pages of up to 100 tickers (`page`), trimmed to `limit` (default 50). Where is a coin actually trading, at what spread, and is the volume trusted. Cached in-process for 60 seconds.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
exchange | string | yes | Exchange id (binance, gdax, kraken, ...). See the exchanges tool. |
coins | string | no | Optional comma-separated coin ids to filter (max 10), e.g. "bitcoin,ethereum". |
page | number | no | Page of 100 tickers upstream (default 1). |
limit | number | no | Max tickers returned from that page, 1-100 (default 50). |
Example request
curl -i "https://agent402.tools/api/exchange-tickers?exchange=binance&coins=ethereum&limit=5"
Without payment this returns HTTP 402 Payment Required with the exact price for exchange-tickers; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "coingecko",
"fetchedAt": "2026-08-22T13:20:00.000Z",
"cached": false,
"exchange": "binance",
"exchangeName": "Binance",
"page": 1,
"count": 1,
"tickers": [
{
"base": "ETH",
"target": "USDT",
"coinId": "ethereum",
"targetCoinId": "tether",
"last": 2424.51,
"volume24h": 412000.5,
"lastUsd": 2424.6,
"volume24hUsd": 998000000,
"lastBtc": 0.0314,
"spreadPct": 0.01,
"trustScore": "green",
"anomaly": false,
"stale": false,
"tradeUrl": "https://www.binance.com/en/trade/ETH_USDT",
"lastTradedAt": "2026-08-22T13:19:30.000Z"
}
]
}
| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | coingecko |
fetchedAt | string | yes | 2026-08-22T13:20:00.000Z |
cached | boolean | yes | false |
exchange | string | yes | binance |
exchangeName | string | yes | Binance |
page | number | yes | 1 |
count | number | yes | 1 |
tickers | array of objects | yes | 1 item in the example |
From an MCP client
catalog.call {
"slug": "exchange-tickers",
"params": {
"exchange": "binance",
"coins": "ethereum",
"limit": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for exchange-tickers; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
exchangeis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- 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/exchange-tickers 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/exchange-tickers?exchange=binance&coins=ethereum&limit=5");
Related tools
Solana token trading pairs
POST /api/sol-token-pairsEvery DEX pair trading a Solana token mint (Raydium, Orca, Meteora, Pump.fun AMM and the rest), sorted by liquidity: pai…
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…
Crypto order book
GET /api/crypto-orderbookL2 order-book snapshot for a spot pair: best bid/ask, mid price, spread (absolute + %), and the top N aggregated price l…
DEX volume by protocol
POST /api/defi-dex-volumeDecentralized exchanges ranked by 24h spot trading volume from DefiLlama's free DEX overview: per-DEX 24h/7d/30d/1y/all-…
Crypto exchanges
GET /api/exchangesCrypto exchanges ranked by trust score: id, name, country, year established, trust score (1-10) and rank, 24h volume in …
Onchain options volume by protocol
POST /api/options-volumeOnchain options protocols ranked by 24h notional volume from DefiLlama's options overview: per-protocol 24h, 7d and 30d …