Binance spot markets with 24h stats
Every spot market on Binance with 24 h statistics: base and quote asset with names, last, open, high and low price, percent change, base and quote volume, circulating supply and market cap, tick size, minimum trade amount and the site's tags (e.g. Layer1_Layer2, Meme, AI, defi). Filter by quote asset, tag, text and minimum quote volume; sort by quote volume, change, market cap, price or symbol. tags lists the tags present in the result. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
quote | string | Quote asset, e.g. USDT, USDC, BTC, FDUSD, EUR, TRY. Example: USDT |
tag | string | Site tag, e.g. Layer1_Layer2, Meme, defi, AI, Gaming, pos (see tags in a response). |
q | string | Text in the symbol or the base asset's name. |
min_quote_volume | number | Only markets with at least this 24 h quote volume. |
status | string | TRADING (default), BREAK or ALL. |
sort | quote_volume | change | change_asc | market_cap | price | symbol | quote_volume (default), change (biggest gain first), change_asc (biggest loss first), market_cap, price or symbol. |
page | integer | Page number (default 1). Pass next_page from the previous response. |
limit | integer | Markets per page, 1-500 (default 100). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/binance/v1/markets?quote=USDT" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/binance/v1/markets",
params={"quote": "USDT"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/binance/v1/markets");
url.searchParams.set("quote", "USDT");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).