OKEx

OKEx — free tier with API key

🪙 Crypto & Web3HEALTHYchecked 9h ago
AUTH APIKEYCORS AGENT HTTPS COMMERCIAL ?

OKEx exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

91HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 91 · healthy
Uptime history
85.3%90 days
96.7%30 days
192P50 · ms
490P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 78 ms, slowest 490 ms, most recent 291 ms.
Live response samplecaptured by our last successful check
GET https://www.okx.com/api/v5/public/instruments?instType=SPOT

{
  "code": "0",
  "data": [
    {
      "alias": "",
      "auctionEndTime": "",
      "baseCcy": "USDT",
      "category": "1",
      "contTdSwTime": "",
      "ctMult": "",
      "ctType": "",
      "ctVal": ""
    },
    {
      "alias": "",
      "auctionEndTime": "",
      "baseCcy": "USDC",
      "category": "1",
      "contTdSwTime": "",
      "ctMult": "",
      "ctType": "",
      "ctVal": ""
    }
  ],
  "msg": ""
}
Call itcurl · fetch · python
curl "https://www.okx.com/api/v5/public/instruments?instType=SPOT"
const res = await fetch("https://www.okx.com/api/v5/public/instruments?instType=SPOT");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://www.okx.com/api/v5/public/instruments?instType=SPOT")
print(res.json())
Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /api/v5/public/instruments?instType=SPOT192 mschecked 9h ago
GET/api/v5/public/instruments?instType=SPOTPROBED

OKEx — free tier with API key

GET/api

Api — documented GET route.

GET/api/1

Api details by ID (example: 1).

GET/api?limit=10

Api — documented GET route.

GET/api/search?q=test

Search by query parameters.

GET/api/v5/public/instruments?limit=5

Instruments — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

OKEx: common questions

Is OKEx free to use?

Yes — OKEx is a free crypto & web3 API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does OKEx need an API key?

Yes — OKEx needs a free API key, which you pass on each request. Rate limits: Retry-After: 0s.

Can I call OKEx from the browser?

Yes — OKEx returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is OKEx up right now?

As of our last scheduled check, OKEx is healthy with 85.3% uptime over 90 days and a 192 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.