OKX API

finance & crypto

8 endpoints for public OKX data. Send your key in x-api-key; you pay for calls that run, and errors on our side are free. OKX API overview, examples and prices →

endpointwhat it returnsparameterscostactions
GET/okx/v1/candlesOKX candlesinst +4 optional1 crdocstry
GET/okx/v1/fundingOKX funding rateinst +2 optional1 crdocstry
GET/okx/v1/instrumentsOKX instruments3 optional1 crdocstry
GET/okx/v1/open-interestOKX open interest9 optional1 crdocstry
GET/okx/v1/orderbookOKX order bookinst +1 optional1 crdocstry
GET/okx/v1/tickerOKX tickerinst +1 optional1 crdocstry
GET/okx/v1/tickersOKX market tickers7 optional1 crdocstry
GET/okx/v1/tradesOKX recent tradesinst +3 optional1 crdocstry