OKX · GraphQL Specification

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 derivatives trading, account management, market data, funding operations, sub-accounts, financial products, and on-chain wallet services.

Documentation Endpoint View on GitHub CryptocurrencyExchangeTradingDerivativesSpot TradingFuturesOptionsMarket DataWeb3BlockchainWalletsGraphQL

Overview

OKX Exchange GraphQL Schema is a GraphQL API specification published by OKX on the APIs.io network.

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 derivatives trading, account management, market data, funding operations, sub-accounts, financial products, and on-chain wallet services.

The specification includes 3 reference links.

Tagged areas include Cryptocurrency, Exchange, Trading, Derivatives, and Spot Trading.

Endpoint

References

Related API Specs

OKX Trading API (OpenAPI)
Back to OKX · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema 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 graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema in the catalog.
  • 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 GraphQL schema
curl "https://apis.io/api/v1/graphql/okx-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

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.