OKEx
OKEx — free tier with API key
OKEx exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.
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": ""
}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())/api/v5/public/instruments?instType=SPOTPROBEDOKEx — free tier with API key
/apiApi — documented GET route.
/api/1Api details by ID (example: 1).
/api?limit=10Api — documented GET route.
/api/search?q=testSearch by query parameters.
/api/v5/public/instruments?limit=5Instruments — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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.