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 4 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. Data provided by CoinGecko (https://www.coingecko.com/en/api).
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.
Watch a call get paid
GET /api/exchange-tickers$0.008 USDCPAYMENT-SIGNATUREon 14 chains200 OKAgent402-ReceiptEd25519Example 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"
}
],
"credit": "Data provided by CoinGecko (https://www.coingecko.com/en/api)."
}| 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 |
credit | string | yes | Data provided by CoinGecko (https://www.coingecko.com/en/api). |
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 an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.14.0.
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 runs after the tool and only on a successful response. 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 issued earlier (
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?.({ maxAmountPerPayment: "$0.008" }); // refuse any quote above this tool's price
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
Cross-exchange price spread
One coin's price across every major venue, measured against the cross-venue median: each venue's deviation in basis.
DEX volume board by network
A network's decentralized exchanges ranked by their share of 24h volume across the network's top pools (the 60 largest.
Solana token trading pairs
Every DEX pair trading a Solana token mint (Raydium, Orca, Meteora, Pump.fun AMM and the rest), sorted by liquidity.
Known-address label lookup
Label a known EVM address from a curated, committed dataset: major stablecoin + token contracts (the USDC and USDG.
DEX pool health
Measured health of one DEX pool by network and pool address: liquidity, 24h turnover (volume over liquidity), buy share.
Crypto exchanges
Crypto exchanges ranked by trust score: id, name, country, year established, trust score (1-10) and rank, 24h volume.