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.

45.4/100 developing ▬ flat Agent 27/100 agent aware Full breakdown ↓
scored 2026-08-21 · rubric v0.12.0
AccessFreemium
7 APIs
CryptocurrencyExchangeTradingDerivativesSpot TradingFuturesOptionsMarket DataWeb3BlockchainWallets

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-21 · rubric v0.12.0
Composite quality — 45.4/100 · developing
Contract Quality 11.8 / 21
Developer Ergonomics 4.0 / 17
Access Clarity 8.5 / 17
Operational Transparency 7.6 / 11
Contract Governance 0.0 / 10
Discoverability 6.3 / 9
Regulatory Posture 5.7 / 15
Agent readiness — 27/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 0 / 10
Documented Reversibility 0 / 6
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
Regulatory Posture applies to this provider. Its tags matched the Securities & Market Data regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
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

10 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.23'
aid: okx
type: Index
tags:
- Cryptocurrency
- Exchange
- Trading
- Derivatives
- Spot Trading
- Futures
- Options
- Market Data
- Web3
- Blockchain
- Wallets
tags_raw:
- 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
  - Order
  - Spot
  - Futures
  - Options
  - Perpetuals
  tags_raw:
  - 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
  - Balances
  - Positions
  - Risk Management
  tags_raw:
  - 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:
  - Subaccounts
  - Multi-Account
  tags_raw:
  - 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:
  - Wallets
  - Web3
  - DEX
  - Multi-Chain
  - Onchain
  tags_raw:
  - 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

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/okx"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/okx/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/okx/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.