OKEx

OKEx — free tier with API key

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.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
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 · 6On scheduleFULL DOCS ↗
On schedule — GET /api/v5/public/instruments?instType=SPOT awaits first probe
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

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

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: Unpublished.

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?

OKEx is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.