tickers: Get all tickers

API: okx.com:okx-api
Endpoint: /market/tickers
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 324ms

Description

Returns a comprehensive list of all trading pairs with real-time price data including last traded price, bid/ask spreads, 24h high/low, and trading volumes. Use this to monitor market prices across all instruments.

From spec: Retrieve ticker data for all trading pairs of a specific instrument type.

Usage Tips

- Required parameter: instType (SPOT, MARGIN, SWAP, FUTURES, OPTION) - Returns up to 1000 instruments per request - Rate limit: 20 requests per 2 seconds (public endpoints) - Data updates in real-time; use WebSocket for streaming updates

Parameters (3)

instFamily (string, query, optional)

Instrument family (e.g., BTC-USD). Required for OPTION

instType (string, query, required)

Instrument type (SPOT, MARGIN, SWAP, FUTURES, OPTION)

Constraints: {'enum': ['SPOT', 'MARGIN', 'SWAP', 'FUTURES', 'OPTION']}

uly (string, query, optional)

Underlying and quote currency (e.g., BTC-USD). Deprecated, use instFamily

Examples (1)

Get all SPOT market tickers probe-gate

Demonstrates fetching ticker data for all SPOT (spot trading) instruments including current prices, 24h changes, and trading volumes.

curl 'https://www.okx.com/api/v5/market/tickers?instType=SPOT'
import requests

resp = requests.get(
    "https://www.okx.com/api/v5/market/tickers",
    params={
        'instType': 'SPOT',
    },
)
data = resp.json()
import zingu_apis

api = zingu_apis.api("okx")
result = api.fetch("market/tickers", instType="SPOT")

for item in result:
    print(item)
const resp = await fetch("https://www.okx.com/api/v5/market/tickers?instType=SPOT");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 17:48:05.722433 200 324ms
2026-04-16 00:52:25.840665 200 303ms
2026-04-15 04:02:44.296002 200 369ms
2026-04-14 00:55:39.323556 200 328ms
2026-04-12 15:58:13.287034 200 327ms
2026-04-10 02:48:54.917173 200 424ms
2026-04-09 01:24:13.000782 200 357ms