#perpetual
2 APIs with this tag
Bybit API
Live derivatives and spot market data from Bybit, one of the largest crypto-derivatives exchanges, straight from its public v5 API. Built for perpetual swaps: the ticker returns a contract's last, mark and index price together, the 24-hour change, high, low, volume and turnover, the live open interest in contracts and in USD, and the current funding rate with the next funding time — a whole perp in one call. The funding endpoint returns the historical funding-rate series, the recurring payments that anchor a perp to spot. The openinterest endpoint returns the open-interest time series, the best gauge of leverage building or unwinding. The kline endpoint returns OHLCV candles at any interval. Linear (USDT) perps, inverse (coin) perps and spot are all reachable via the category parameter. Live, no key, nothing stored. Distinct from Coinbase, Bitstamp, OKX, Gate.io, Bitfinex and Gemini venue APIs and from aggregated derivatives feeds — this is Bybit's own ticker, funding history, open interest and candles. Perfect for trading, charting, derivatives-analytics and risk apps.
api.oanor.com/bybit-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.oanor.com/okx-api