API · /okx-api

OKX Exchange API

healthy 3,682 Subscribers

Live market data from OKX, one of the largest crypto exchanges, across both spot and perpetual markets, served straight from its public v5 API — no key, nothing cached. The ticker endpoint returns any instrument's snapshot — last price, best bid and ask, 24-hour open/high/low, volume and the 24-hour percentage change — for a spot pair like BTC-USDT or a perpetual swap like BTC-USDT-SWAP. The tickers endpoint returns every instrument of a type (spot, swap or futures) in one call, sortable by 24-hour change or volume. The candles endpoint returns OHLC candles at a bar you choose, from one minute to one month. The funding endpoint returns the funding rate of any perpetual swap — the periodic payment between longs and shorts — with the rate annualised to an APR and the next funding time, the signal perpetual-futures traders watch. Everything is OKX's live venue data, nothing stored. This is the OKX price, perpetual-funding and candle layer for any trading, charting, derivatives or market-data app. Distinct from Coinbase, Bitstamp, Binance and Kraken venue APIs and from aggregated feeds — this is OKX's own spot and perpetual order flow and its per-contract funding rates. 4 endpoints, no key on our side, real-time.

api.oanor.com/okx-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/okx-api/openapi.json
/api/okx-api/llms.txt

Discovery: GET /api/index.json lists every API.

OKX Exchange API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
302 ms
Server probes · 24h
Subscribers
3,682
active
Total calls
95
last 7 days
status Full status page → · 15 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 6,000 calls / month
  • 5 requests / second
  • Hard cap (429 above quota, no overage)
  • 6,000 calls/month
  • 5 req/sec
  • Ticker, tickers, candles
  • No credit card
Sign in to subscribe

Starter

€13.00 /month

  • 135,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 135,000 calls/month
  • 12 req/sec
  • Perpetual funding rates + APR
  • Email support
Sign in to subscribe

Pro

€33.00 /month

  • 820,000 calls / month
  • 30 requests / second
  • Hard cap (429 above quota, no overage)
  • 820,000 calls/month
  • 30 req/sec
  • Trading & derivatives pipelines
  • Priority support
Sign in to subscribe

Mega

€82.00 /month

  • 4,400,000 calls / month
  • 80 requests / second
  • Hard cap (429 above quota, no overage)
  • 4,400,000 calls/month
  • 80 req/sec
  • Desk & platform scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

WEMIX API — oanor API marketplace

WEMIX API

Live EVM on-chain data for WEMIX (chain id 1111) — the gaming-focused public Layer-1 built by Wemade, whose native token is WEMIX — served directly from public EVM JSON-RPC nodes with multi-node failover. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the WEMIX balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole WEMIX with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and game-economy analytics across the WEMIX ecosystem. Live keyless upstream. 5 endpoints.

api.oanor.com/wemix-api

Monad API — oanor API marketplace

Monad API

Live EVM on-chain data for Monad (chain id 143) — the high-performance, parallel-execution Layer-1 designed for thousands of transactions per second, whose native token is MON — served directly from public EVM JSON-RPC nodes with multi-node failover. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the MON balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole MON with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and analytics apps across the Monad ecosystem. Live keyless upstream. 5 endpoints.

api.oanor.com/monad-api

Superposition API — oanor API marketplace

Superposition API

Live EVM on-chain data for Superposition (chain id 55244) — an Arbitrum-Orbit DeFi Layer-3 with ETH gas and on-chain yield-bearing Super Assets — served directly from the public Superposition JSON-RPC with server-side resilience. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the ETH balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole ETH with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and DeFi analytics across the Superposition and Arbitrum-Orbit ecosystem. Live keyless upstream. 5 endpoints.

api.oanor.com/superposition-api

Matchain API — oanor API marketplace

Matchain API

Live EVM on-chain data for Matchain (chain id 698) — the BNB-Chain-secured Layer-2 focused on decentralised identity and social, where gas is paid in BNB — served directly from the public Matchain JSON-RPC with server-side resilience. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the BNB balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole BNB with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and analytics apps across the Matchain identity and social ecosystem. Live keyless upstream. 5 endpoints.

api.oanor.com/matchain-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for OKX Exchange API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call OKX Exchange API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for OKX Exchange API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does OKX Exchange API cost?
OKX Exchange API has a free tier with 100 calls / month. Paid plans start at €13.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is OKX Exchange API GDPR-compliant?
All requests to OKX Exchange API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/okx-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/okx-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/okx-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/okx-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.