OKX website screenshot

OKX

Global cryptocurrency exchange providing a comprehensive REST and WebSocket API for spot and derivatives trading, account management, market data, funding, sub-account operations, block trading, and on-chain wallet services.

OKX publishes 1 API on the APIs.io network: Trading API. Tagged areas include Cryptocurrency, Exchange, Trading, Derivatives, and Spot Trading.

The OKX catalog on APIs.io includes 1 JSON-LD context.

OKX’s developer surface includes documentation, engineering blog, pricing, changelog, authentication, and 9 more developer resources.

41.4/100 thin ▬ flat Agent 28/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemium
7 APIs
CryptocurrencyExchangeTradingDerivativesSpot TradingFuturesOptionsMarket DataWeb3BlockchainWallet

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 41.4/100 · thin
Contract Quality 15.4 / 25
Developer Ergonomics 4.3 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 4.8 / 13
Governance 0.0 / 12
Discoverability 7.4 / 10
Agent readiness — 28/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/okx: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

OKX Trading API

REST and WebSocket endpoints for order book trading, algo orders, block trading, spread trading, and copy trading across spot, futures, options, and perpetual swap instruments.

OKX Market Data API

Public REST and WebSocket endpoints delivering real-time and historical market data including order books, tickers, candlesticks, trades, funding rates, open interest, and tradi...

OKX Account API

Private endpoints for managing trading accounts, viewing balances and positions, adjusting leverage, and configuring risk settings.

OKX Funding Account API

Endpoints for managing asset deposits, withdrawals, and internal transfers between trading and funding accounts.

OKX Sub-Account API

Endpoints for creating and managing sub-accounts, transferring assets between sub-accounts, and viewing sub-account trading activity.

OKX Financial Products API

Endpoints for on-chain earning, staking, simple earn, and lending products available through the OKX platform.

OKX Wallet API (Onchain OS)

Developer APIs for OKX Web3 wallet integration, including multi-chain transaction signing, DEX aggregation across 500+ DEXs on 20+ networks, and on-chain account management.

Scroll for all 7

GraphQL 1

GraphQL schemas published by this provider.

OKX Exchange GraphQL Schema

This document describes a conceptual GraphQL schema for the OKX cryptocurrency exchange and Web3 platform. OKX provides a comprehensive REST and WebSocket API covering spot and ...

GRAPHQL

Pricing Plans 1

Published pricing tiers and plan structures.

Okx Plans Pricing

6 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Okx Rate Limits

0 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Okx Finops

FINOPS

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Okx Context

14 classes · 40 properties

JSON-LD

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Okx Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Resources

Documentation 1

Reference material describing how the API behaves

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
name: OKX
description: Global cryptocurrency exchange providing a comprehensive REST and WebSocket API for spot and derivatives trading,
  account management, market data, funding, sub-account operations, block trading, and on-chain wallet services.
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/okx.png
url: https://raw.githubusercontent.com/api-evangelist/okx/refs/heads/main/apis.yml
created: '2026-06-13'
modified: '2026-06-13'
specificationVersion: '0.19'
aid: okx
type: Index
tags:
- Cryptocurrency
- Exchange
- Trading
- Derivatives
- Spot Trading
- Futures
- Options
- Market Data
- Web3
- Blockchain
- Wallet
apis:
- name: OKX Trading API
  description: REST and WebSocket endpoints for order book trading, algo orders, block trading, spread trading, and copy trading
    across spot, futures, options, and perpetual swap instruments.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/
  baseURL: https://openapi.okx.com
  tags:
  - Trading
  - Orders
  - Spot
  - Futures
  - Options
  - Perpetuals
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/
  - type: OpenAPI
    url: https://www.okx.com/docs-v5/en/
  - url: graphql/okx-graphql.md
    type: GraphQL
- name: OKX Market Data API
  description: Public REST and WebSocket endpoints delivering real-time and historical market data including order books,
    tickers, candlesticks, trades, funding rates, open interest, and trading statistics.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/#market-data
  baseURL: https://openapi.okx.com
  tags:
  - Market Data
  - Order Book
  - Ticker
  - Candlestick
  - Funding Rate
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/#market-data
- name: OKX Account API
  description: Private endpoints for managing trading accounts, viewing balances and positions, adjusting leverage, and configuring
    risk settings.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/#trading-account
  baseURL: https://openapi.okx.com
  tags:
  - Account
  - Balance
  - Positions
  - Risk Management
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/#trading-account
- name: OKX Funding Account API
  description: Endpoints for managing asset deposits, withdrawals, and internal transfers between trading and funding accounts.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/#funding-account
  baseURL: https://openapi.okx.com
  tags:
  - Funding
  - Deposits
  - Withdrawals
  - Transfers
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/#funding-account
- name: OKX Sub-Account API
  description: Endpoints for creating and managing sub-accounts, transferring assets between sub-accounts, and viewing sub-account
    trading activity.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/#sub-account
  baseURL: https://openapi.okx.com
  tags:
  - Sub-accounts
  - Multi-account
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/#sub-account
- name: OKX Financial Products API
  description: Endpoints for on-chain earning, staking, simple earn, and lending products available through the OKX platform.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://www.okx.com/docs-v5/en/#financial-product
  baseURL: https://openapi.okx.com
  tags:
  - Earn
  - Staking
  - Lending
  - DeFi
  properties:
  - type: Documentation
    url: https://www.okx.com/docs-v5/en/#financial-product
- name: OKX Wallet API (Onchain OS)
  description: Developer APIs for OKX Web3 wallet integration, including multi-chain transaction signing, DEX aggregation
    across 500+ DEXs on 20+ networks, and on-chain account management.
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://web3.okx.com/build/dev-docs/wallet-api
  baseURL: https://www.okx.com
  tags:
  - Wallet
  - Web3
  - DEX
  - Multi-chain
  - On-chain
  properties:
  - type: Documentation
    url: https://web3.okx.com/build/dev-docs/wallet-api
common:
- type: DomainSecurity
  url: security/okx-domain-security.yml
- type: Website
  url: https://www.okx.com
- type: Documentation
  url: https://www.okx.com/docs-v5/en/
- type: GitHubOrg
  url: https://github.com/okx
- type: LinkedIn
  url: https://www.linkedin.com/company/okxofficial
- type: Blog
  url: https://www.okx.com/learn
- type: Pricing
  url: https://www.okx.com/fees
- type: StatusPage
  url: https://www.okx.com/status
- type: X
  url: https://x.com/okx
- type: Plans
  url: plans/okx-plans-pricing.yml
- type: RateLimits
  url: rate-limits/okx-rate-limits.yml
- type: FinOps
  url: finops/okx-finops.yml
- type: ChangeLog
  url: https://www.okx.com/docs-v5/log_en/
- type: Authentication
  url: https://www.okx.com/docs-v5/en/#overview-api-key-creation
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com