OKX logo

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.

7 APIs 0 Features
CryptocurrencyExchangeTradingDerivativesSpot TradingFuturesOptionsMarket DataWeb3BlockchainWallet

APIs

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.

Semantic Vocabularies

Okx Context

14 classes · 40 properties

JSON-LD

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrg
GitHubOrg
🔗
LinkedIn
LinkedIn
📰
Blog
Blog
💰
Pricing
Pricing
🟢
StatusPage
StatusPage
🔗
X
X
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
📄
Changelog
Changelog
🔑
Authentication
Authentication

Sources

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.
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
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-productions.s3.amazonaws.com/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/
  - 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-productions.s3.amazonaws.com/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-productions.s3.amazonaws.com/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-productions.s3.amazonaws.com/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-productions.s3.amazonaws.com/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-productions.s3.amazonaws.com/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-productions.s3.amazonaws.com/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: 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: [email protected]