OKX market tickers

GET https://api.api.sh/okx/v1/tickers
1 credit / call finance & crypto try it in the playground →

Tickers of every OKX instrument of one type, ranked by 24-hour volume, change (gainers and losers) or price. For options, include=greeks adds each option's greeks: delta, gamma, vega and theta (in coin and Black-Scholes terms), mark, bid and ask implied volatility, forward price and leverage.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
type SPOT | SWAP | FUTURES | OPTION SPOT (default), SWAP, FUTURES or OPTION. Example: SPOT
quote string Only instruments quoted in this currency (default USDT for spot), or ALL. Example: USDT
family string Instrument family such as BTC-USD (required for options).
sort volume_ccy_24h | volume_24h | change_percent_24h | price volume_ccy_24h (default), volume_24h, change_percent_24h or price. Example: volume_ccy_24h
order asc | desc asc or desc (default desc). Example: desc
limit integer Number of instruments, 1-1000 (default 50). Example: 50
include greeks greeks: add option greeks and implied volatility (type=OPTION only).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/okx/v1/tickers?type=SPOT" \
  -H "x-api-key: $APISH_KEY"

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).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.