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.oanor.com/okx-api