# OKX Market Data API: pricing, API and features

Category: [Market data APIs](https://tokvane.app/categories/market-data-apis) · Vendor: OKX · Website: https://www.okx.com/okx-api · Status: active

OKX exchange-native REST and WebSocket API for tickers, order books, candles, trades and public derivatives data such as funding rate and open interest.

> OKX Market Data API (OKX) — pricing: free; free tier: Yes; REST: Yes; MCP: unknown; open source: No.

## Pricing

- **Model:** free
- **Free tier:** Yes — Page states signing up and using the APIs is completely free; trading fees follow the OKX fee schedule.
- **Plans:** unknown
- **Notes:** Market Maker and Broker programs offer better fees and higher limits.

_Verified on 2026-10-30. Source: https://www.okx.com/okx-api_

## Access & auth

- **Authentication:** none
- **KYC required:** unknown
- **Notes:** Docs say public channels need no authentication and public unauthenticated REST limits are per IP; Account endpoints need API keys. Demo trading keys exist. Product availability depends on region.

_Verified on 2026-10-30. Source: https://www.okx.com/docs-v5/en/_

## Coverage

- **Exchanges:** OKX only
- **Chains:** unknown
- **Assets:** Instrument types SPOT, MARGIN, SWAP, FUTURES, OPTION, EVENTS

_Verified on 2026-10-30. Source: https://www.okx.com/docs-v5/en/_

## Capabilities

- **Capabilities:** price-data, orderbook-data, trades-data, derivatives-data, funding-rates, open-interest, liquidations

_Verified on 2026-10-30. Source: https://www.okx.com/docs-v5/en/_

## Interfaces

- **REST API:** Yes
- **WebSocket:** Yes
- **SDKs:** python
- **Official MCP server:** unknown
- **Other:** Liquidation data is documented as a WebSocket channel (Liquidation orders channel).

_Verified on 2026-10-30. Source: https://www.okx.com/okx-api_

## Open source & self-hosting

- **Open source:** No
- **Licence:** proprietary
- **Self-host:** No

_Verified on 2026-10-30. Source: https://www.okx.com/okx-api_

## FAQ

**Does OKX Market Data API have a free tier?**
Yes. Page states signing up and using the APIs is completely free; trading fees follow the OKX fee schedule. (verified 2026-10-30)

**Does OKX Market Data API offer an API?**
REST: Yes. WebSocket: Yes. Official MCP server: unknown. Verified 2026-10-30.

**Is OKX Market Data API open source or self-hostable?**
Open source: No; licence: proprietary; self-host: No. Verified 2026-10-30.

**What are alternatives to OKX Market Data API?**
Other market data apis in our directory: 0xArchive, AllTick Market Data API, Amberdata Market Data API, Aster Futures API (market data), binance (Siebly.io SDK).

Alternatives: https://tokvane.app/alternatives/okx-market-data-api

Information only, not financial or investment advice.