Cryptocurrency — entry 048 of 53

OKX

Verified Jul 2026

OKEx rebranded to OKX in 2022 and its old okex.com/docs/ portal is gone entirely; the live API reference now lives at okx.com/docs-v5. The v5 REST and WebSocket API covers spot, margin, futures, options, and perpetual swaps, authenticated via an API key, secret, and passphrase with HMAC-SHA256-signed requests, and access is free with VIP fee tiers tied to trading volume rather than data pricing.

exchangederivativestradingwebsocket
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, WebSocketResponses can be requested as JSON or WebSocket.

GreatAPIs Score

Score70out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats15/15Supports 2 response formats
Freshness20/20Verified within 6 months

Embed this badge

Scored 70 on greatapis.com
<a href="https://greatapis.com/api/okex/"><img src="https://greatapis.com/badge/okex.svg" alt="Scored 70 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.