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
- 313 ms
- Server probes · 24h
- Subscribers
- 3,682
- active
- Total calls
- 20
- 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.
AscendEX Exchange API
Live spot market data from AscendEX (formerly BitMax), a global crypto exchange, served straight from its public API with no key and nothing cached. The ticker endpoint returns a market's last price, open, 24-hour high and low, 24-hour change, best bid and ask and volume. The tickers endpoint returns every spot market for a quote currency ranked by 24-hour volume, so one call surfaces the most-traded pairs on the venue. The markets endpoint lists the tradable pairs with their tick and lot size and minimum and maximum notional. The book endpoint returns live order-book depth — every bid and ask level with price and amount, plus the best bid/ask and the spread. Everything is read live from AscendEX on each request, nothing stored. A distinct global venue, separate from the other exchange feeds on the marketplace. Markets are written BASE/QUOTE; BTC_USDT is also accepted. Ideal for trading bots, price tickers, arbitrage scanners, portfolio trackers and market dashboards. Live, no key. 4 spot endpoints. For candles or perpetuals use an OHLC or derivatives API.
api.oanor.com/ascendex-api
XT Exchange API
Live spot market data from XT.com, a global crypto exchange, served straight from its public v4 API with no key and nothing cached. The ticker endpoint returns a market's last price, open, 24-hour high and low, 24-hour change and base and quote volume. The tickers endpoint returns every spot market for a quote currency ranked by 24-hour quote volume, so one call surfaces the most-traded pairs on the venue. The markets endpoint lists the tradable pairs with their price and quantity precision and trading state. The book endpoint returns live order-book depth — every bid and ask level with price and amount, plus the best bid/ask and the spread. Everything is read live from XT on each request, nothing stored. A distinct global venue, separate from the other exchange feeds on the marketplace. Ideal for trading bots, price tickers, arbitrage scanners, portfolio trackers and market dashboards. Live, no key. 4 spot endpoints. For candles or perpetuals use an OHLC or derivatives API.
api.oanor.com/xt-api
LBank Exchange API
Live spot market data from LBank, a global crypto exchange, served straight from its public v2 API with no key and nothing cached. The ticker endpoint returns a market's last price, 24-hour high and low, 24-hour change and base and quote volume. The tickers endpoint returns every spot market for a quote currency ranked by 24-hour quote volume, so one call surfaces the most-traded pairs on the venue. The markets endpoint lists the tradable pairs with their price and quantity precision and minimum order size. The book endpoint returns live order-book depth — every bid and ask level with price and amount, plus the best bid/ask and the spread. Everything is read live from LBank on each request, nothing stored. A distinct global venue, separate from the other exchange feeds on the marketplace. Ideal for trading bots, price tickers, arbitrage scanners, portfolio trackers and market dashboards. Live, no key. 4 spot endpoints. For candles or perpetuals use an OHLC or derivatives API.
api.oanor.com/lbank-api
BitMart Exchange API
Live spot market data from BitMart, a global crypto exchange, served straight from its public API with no key and nothing cached. The ticker endpoint returns a market's last price, open, 24-hour high and low, 24-hour change, best bid and ask, the spread and base and quote volume. The tickers endpoint returns every spot market for a quote currency ranked by 24-hour quote volume, so one call surfaces the most-traded pairs on the venue. The markets endpoint lists the tradable pairs with their price precision and minimum order size. The book endpoint returns live order-book depth — every bid and ask level with price and amount, plus the best bid/ask and spread. Everything is read live from BitMart on each request, nothing stored. A distinct global venue, separate from the other exchange feeds on the marketplace. Ideal for trading bots, price tickers, arbitrage scanners, portfolio trackers and market dashboards. Live, no key. 4 spot endpoints. For candles or perpetuals use an OHLC or derivatives API.
api.oanor.com/bitmart-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.