OHLC candles
API · /okx-api
OKX Exchange API
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 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
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
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
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
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
Built by
Related APIs
Other APIs with overlapping tags.
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
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
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
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?
What's the rate limit for OKX Exchange API?
How much does OKX Exchange API cost?
Can I cancel my subscription anytime?
Is OKX Exchange API GDPR-compliant?
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 inNew thread
·
-
Provider answer
🔒 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 inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.