/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/okx-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/okx-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/okx-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/okx-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"source": "OKX public API v5 (live)",
"service": "okx-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/ticker": "An instrument's ticker (inst=BTC-USDT or BTC-USDT-SWAP).",
"GET /v1/candles": "OHLC candles (inst=BTC-USDT, bar=1m..1M).",
"GET /v1/funding": "Perpetual funding rate + APR (inst=BTC-USDT-SWAP or BTC-USDT).",
"GET /v1/tickers": "All instruments of a type (type=SPOT|SWAP|FUTURES, sort=change|volume)."
},
"description": "Live market data from OKX across spot and perpetual markets, from its public v5 API: any instrument's ticker (last, bid/ask, 24h open/high/low, volume, 24h % change) for a spot pair or a perpetual swap; every instrument of a type (spot, swap, futures) in one call, sortable; OHLC candles at a chosen bar (1m to 1M); and the funding rate of any perpetual swap with the rate annualised to an APR and the next funding time. Live, no key, nothing stored. 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.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-09T20:24:48.820Z",
"request_id": "2c0124dc-9ba2-4c47-bb68-093d3b1fd989"
},
"status": "ok",
"message": "Meta",
"success": true
}