OKX API
by OKX HTTP API in Crypto exchanges
Local
Aux Cayes FinTech Co. Ltd. · okx.com since 2001 · status page · who's behind it
OKX's V5 API covers spot, margin, perpetual, futures and options trading, account and market data over REST and WebSocket, with demo trading on the same host and an open-source Agent Trade Kit whose okx-trade-mcp package is a local MCP server.
Best for An agent trading spot, perpetuals, futures or options on a person's OKX account from a local machine, with demo trading to test first and grid or DCA bots through the kit.
Viewed under 500 times in the last 30 days · Claim it, free, to see who finds it
Is this your product? Claim it to see how agents find it: lookups through the API, MCP and letme, the comparisons it's in, and what people search for in Exchanges. Free, and it never changes the grade. Or verify it, or log in if it's already claimed.
Assessment. OKX publishes per-endpoint rate limits, Read, Trade and Withdraw key permissions with IP binding, demo trading on the production host, and an MIT MCP server with 170 tools, a read-only flag and a permission check at startup. The fee table and privacy policy were not read, no OpenAPI file was found, and the news tools return third-party text.
Facts
Access how an agent reaches and pays for it
- Transport
- stdio
- Auth
- API key
- Pricing
- Pay per use
- x402
- No
- Licence
- Proprietary hosted service under OKX's Terms of Service (29 October 2026) and API Agreement (28 July 2026). The Agent Trade Kit (MCP server, CLI and skills) is MIT
- Tools exposed
- 170
Where it lives packages, source, docs and releases
- Packages
npm@okx_ai/okx-trade-mcpnpm@okx_ai/okx-trade-clipypipython-okx- llms.txt
- published
- Last release
- GitHub stars
- 499
- npm / week
- 1.8k
From our research 12 facts checked against the vendor's pages
- Surface listed
- The V5 REST API at openapi.okx.com/api/v5 and its WebSocket channels at ws.okx.com, read from okx.com/docs-v5, the help centre, okx.com/status and a shallow clone of okx/agent-trade-kit on 3 November 2026. No account was made, no key was used and no MCP session was opened
- MCP server
- Official, local. okx-trade-mcp (stdio) in okx/agent-trade-kit, npm @okx_ai/okx-trade-mcp v1.5.0 of 28 October 2026, 170 tools in 11 modules per the README (market 19, spot 13, swap 17, futures 18, option 10, account 14, event 9, earn 24, bot 18, news 7, smartmoney 10), default modules spot, swap and account, --read-only, --modules and a demo profile. Keys stay in ~/.okx/config.toml. Not in the official MCP registry. Skills for OpenClaw in okx/agent-skills
- Key permissions
- Read, Trade and Withdraw, in any combination; up to 20 IP addresses or ranges per key; Trade or Withdraw keys without an IP binding expire after 14 days without use. No withdrawal address allow-list was found in the API docs read
- Rate limits
- Per endpoint and per User ID for private REST (sub-accounts count separately); Place order 60 per 2 seconds per instrument, lead-trader instruments 4 per 2 seconds; Get balance 10 per 2 seconds; 3 amendments in flight per order; 1,000 order requests per 2 seconds per sub-account, higher by fill ratio from VIP5; WebSocket 3 connections a second per IP, 480 subscribe, unsubscribe and login requests an hour per connection, 30 connections per channel per sub-account. Error 50011 on a limit
- Sandbox
- Demo trading on the production REST host and wspap.okx.com WebSocket hosts with the header
x-simulated-tradingset to 1 and demo keys that do not expire; withdraw, deposit and purchase or redemption are unsupported there - Countries
- Restricted per the Risk and Compliance Disclosure of 8 July 2026 are Afghanistan, Canada, Cuba, Hong Kong, Iran, India, Japan, Malaysia, Nepal, North Korea, Syria, Crimea, Donetsk and Luhansk, Uzbekistan and certain US jurisdictions including all US territories; services are limited in Australia, the Bahamas, Brazil, Eritrea, Russia, South Korea and the United Kingdom. Regional entities serve the EEA (eea.okx.com), the US and Australia (us.okx.com)
- Fees
- Not read. okx.com/fees loads its table by script and the fee FAQ (updated 9 September 2026) says the applicable rates are the ones shown while logged in
- FIX and WebSocket
- No FIX API in the V5 docs read. WebSocket public, private and business channels at ws.okx.com (demo at wspap.okx.com), with a 30-second idle disconnect and port 8443 retiring on 31 October and 16 November 2026
- Terms on automated trading
- The Terms of Service (29 October 2026) say API use may be subject to order rate limits and repeated violations may suspend the account. The API Agreement (28 July 2026) covers the Agent Trade Kit, bars wash trading, layering, spoofing, quote stuffing and momentum ignition by an agent, bars circumventing rate limits, requires minimum key scope, makes the user responsible for keys and AI-submitted orders, and says use cases a third-party AI provider's terms restrict, including fully automated trading without human oversight, must not run through the API
- SDKs
- python-okx on PyPI (the only SDK named in the docs), the okx-trade-cli, and a market-maker sample at okxapi/okx-sample-market-maker
- Status
- okx.com/status with issue descriptions, maintenance notices and per-asset deposit and withdrawal status, no component history; nothing listed for August to November 2026
- Legal entity
- Aux Cayes FinTech Co. Ltd. (Seychelles) for most users, with OKX Europe Limited, OKX Inc., OKX Australia, OKX Dubai, OKX Brazil, OKX Singapore and OKX El Salvador for their regions, per the terms
Facts verified 3 November 2026 from vendor docs, repositories and package registries. JSON · Markdown
Strengths
- Official local MCP server, MIT, with modules, --read-only, a demo profile, readOnlyHint annotations and a startup check that hides order tools when the key cannot trade
- Keys limited to Read, Trade or Withdraw, bound to up to 20 IPs, with unbound Trade and Withdraw keys expiring after 14 idle days
- Rate limits published per endpoint and per User ID, with sub-account and WebSocket limits in numbers
- Demo trading on the production hosts with one header, keys that do not expire, and a demo profile in the kit
- An API Agreement written for agents, naming prohibited tactics, minimum key scope and rate-limit circumvention
Weaknesses
- The fee table loads by script and the fee FAQ defers to the logged-in view, so maker and taker rates were not read
- No OpenAPI file was found in the docs; the machine-readable contract is the kit's tool definitions
- The status page lists incidents without component history, and its newest entry is from March 2024
- The news and smart money tools return third-party text with no documented guidance on treating it as untrusted
- Trade tools in the kit carry destructiveHint false, and the npm package runs a postinstall script
Before you call it notes for agents
- Start okx-trade-mcp with --profile demo first, then --read-only on a live key; load only the modules the task needs
- Use a sub-account key with Read and Trade only, bound to the agent's IP; an unbound Trade key expires after 14 idle days
- Stay under 60 place-order requests per 2 seconds per instrument and at most 3 amendments in flight per order; 50011 means the limit was hit
- Send a clOrdId on every order and use the structured error block (code, message, endpoint) to diagnose with read-only tools before retrying
- Call us.okx.com or eea.okx.com for US, Australian and EEA accounts; openapi.okx.com does not serve those regions
Who's behind it provenance 85/100
- Legal entity namedAux Cayes FinTech Co. Ltd.20/20
- Domain ageokx.com, registered 2001-07-03 (25 years)15/15
- Endpoint on the vendor's domainokx.com15/15
- Terms of serviceread, states 6 of the 7 things a reader expects, and has 1 clause that costs points7.1/10
- Privacy policypublished, but our reader couldn't read it7/10
- Status pagewww.okx.com/status10/10
- Changelogpublished10/10
- security.txtnot found0/10
- People named1 named with their role, none with a public profile7/10
- Support routehelp pages, a community5/5
Terms and privacy, as read
Terms of service dated 2026-10-29, states 6 of 7, 3 to know
TL;DR Dated 2026-10-29. States 6 of the 7 things a reader expects, and we didn't find a service level. To know before relying on it, changes without notice, cut-off without notice or for any reason and arbitration or a class action waiver.
Says the terms or the service can change without noticecosts points
11.1 Service Change and Interruption: we may change the Services and/or may also interrupt, suspend or terminate the Services at any time with or without prior notice.
A customer may not hear about a change before it applies.
Says access can be ended without notice or for any reason
Further, in the event that users decline to provide the requested information, or otherwise do not comply in a timely manner, we may, without notice, suspend or terminate your access to your Account, or to all or part of the Services immediately.
The vendor can suspend or close an account without warning, which would stop an agent mid-task.
Requires arbitration or waives class actions
20.4 Waiver of Jury Trial: YOU AND OKX AGREE TO WAIVE ANY RIGHT TO SUE IN COURT AND HAVE A TRIAL IN FRONT OF A JUDGE OR JURY.
Disputes go to an arbitrator, or a customer gives up joining a class action or a jury trial.
Gives the date it was last updated Last updated 2026-10-29
Last Updated: 29 October 2026
Without a date nobody can tell which version they agreed to.
Names the governing law or courts
(c) deliver such Fiat Currency as unclaimed property, rounded to the nearest single unit of such Fiat Currency, or as may be directed by the Competent Authorities or any court of competent jurisdiction.
Says where a dispute would be heard and under whose law.
States a limit on its liability
In no event shall we be liable to you for any loss incurred if such action against you is taken.
Says the most the vendor would owe if the service causes a loss.
Says how the agreement or account can be ended
…Account is or may be associated with any of the Prohibited Businesses as set forth in these Terms, we will consider it to be a violation of these Terms and may suspend or terminate your access to your Account, or to all or any of the Services, and/or block transactions or freeze your funds immediately without notice,…
Says when the vendor can cut off access and what notice it gives.
Says how changes to the terms are announced Gives 30 days of notice before a change
1.5 If you do not agree to be bound by any of the updated Terms, or any other updates, your sole and exclusive remedy will be to close your Account, within 30 days of your actual, constructive or inquiry notice, and your access or use of the Services will be permitted only to the extent necessary to immediately close…
Says whether a customer hears about a change before it binds them.
Lists what users may not do
1.3 If you do not agree to be bound by any of these Terms, you must not access and/or use any of the Services and must leave the OKX Platform immediately.
The acceptable-use rules an agent acting for a user has to stay inside.
Refers to a service level or uptime commitment
Not found in the text.
Says whether availability is promised and where the promise is written.
Instructions sent through the API or any electronic channel are acted on as the customer's own without any duty to verify their source.
OKX is entitled and authorised to act upon and give effect to such Electronic Communication as if it were a valid and duly authorised instruction from you, without any obligation to verify the authenticity or source of such communication.
Noted by a second reader on 2026-11-03.
Commercial use of the platform or services needs OKX's explicit authorisation.
9.4 You may not use the OKX Platform or the Services for any commercial purpose unless otherwise explicitly authorized by OKX.
Noted by a second reader on 2026-11-03.
API use falls under a separate OKX API Agreement that these terms incorporate by reference.
For the API Services, please refer to the OKX API Agreement.
Noted by a second reader on 2026-11-03.
The document · read 2026-11-03 · 20,367 words
Privacy policy our reader couldn't read it
TL;DR Our reader couldn't read it, so nothing here is checked. The document is published and scores 7 of 10 until we can.
the page answered HTTP 404 to our reader.
The document · read 2026-11-03
A reading by a fixed set of rules, each answered with the vendor's own sentence. It isn't legal advice, a rule can miss a clause or misread one, and the document itself is what binds. How it's read and scored.
The Terms of Service (last updated 29 October 2026) name Aux Cayes FinTech Co. Ltd. for all users not served by a regional OKX entity; the page metadata of the API Agreement also lists it as publisher. The governing-law clause sat past the part of the page we read. The privacy policy URL is OKX's help-centre page and was not read.
RDAP gives okx.com a registration date of 3 July 2001, long before OKX took the name in 2022.
https://www.okx.com/.well-known/security.txt answers 404; the Agent Trade Kit's SECURITY.md names security@okx.com.
www.okx.com/robots.txt allows the docs, help and status pages read and /llms.txt, and disallows account, KYC and other private paths.
okx.com/status is OKX's own page with issue descriptions and maintenance notices in UTC+8, no component history and no feed found.
Checked 2026-11-03 against the vendor's own pages and the domain registry. Provenance is half of Transparency & trust.
Humans behind the project who makes it and where to get help
Key people
Researched 3 November 2026 from public pages. okx.com/about names nobody and the terms name only the contracting entities, so the founder comes from Wikipedia's OKX and Star Xu articles. Hong Fang is described as OKX's president in a Consensus Hong Kong 2025 speaker biography found by search, which is not a first-hand OKX page, so she is not listed. Investors were looked for on okx.com and in two searches. Wikipedia's OKX article says Intercontinental Exchange invested in March 2026 at a $25 billion valuation, citing Reuters, and that an October 2026 round at the same valuation included Ripple Labs, Circle Internet Group, SC Ventures and QRT, citing Bloomberg; neither report was read first-hand, so they are not listed as investors and the valuation is left out. The status is private per Wikipedia. Shown for information, not part of the grade yet. People's accounts link to their own profiles; check them before you rely on one.
Live watched around the clock · updated 2026-11-04 15:53 UTC
- Vendor status page unknown, no machine-readable status found · 3 hours ago
- security.txt none · 3 hours ago
Live data comes from our pollers, trackers and scrapers and doesn't change the score until a benchmark run. What we watch · /api/v1/live/okx.json
Notable
- OKX's official MCP server is okx-trade-mcp in okx/agent-trade-kit (TypeScript, MIT, 499 stars, v1.5.0 on 28 October 2026, first public release 12 May 2026), a local stdio process with 170 tools in 11 modules per its README, loading spot, swap and account by default, with --modules, --read-only and a demo profile. It is published on npm as @okx_ai/okx-trade-mcp (1,839 downloads in the week to 2 November 2026) and is not in the official MCP registry, where OKX entries are third-party source
- OKX's docs carry an Agent page for the kit and an API Agreement of 28 July 2026 that defines the Agent Trade Kit, bars configuring an agent for wash trading, layering, spoofing, quote stuffing or momentum ignition, bars circumventing rate limits, requires the minimum key scope, and says use cases a third-party AI provider's terms restrict, such as fully automated trading without human oversight, must not run through the API source
- Rate limits are set per endpoint and per User ID for private REST, with Place order at 60 requests per 2 seconds, Get balance at 10 per 2 seconds, at most 3 amendments in flight per order, 1,000 order requests per 2 seconds per sub-account, and WebSocket limits of 3 connections a second per IP and 480 subscribe, unsubscribe and login requests an hour per connection; exceeding a limit returns error 50011 source
- Demo trading runs on the production REST and WebSocket hosts with the header
x-simulated-tradingset to 1, without withdraw, deposit and purchase or redemption functions source - The changelog's newest entry is 27 October 2026 (a bbo-rpi-tbt channel); on 30 September 2026 Crypto-USD spot pairs migrated to Crypto-USDC with no mapping between instrument IDs, and WebSocket port 8443 stops for public internet connections on 31 October 2026 and for colocation on 16 November, labelled a breaking change source
- The Terms of Service (last updated 29 October 2026) name OKX Europe Limited, OKX Inc., OKX Australia, OKX Dubai, OKX Brazil, OKX Singapore and Aux Cayes FinTech Co. Ltd. as contracting entities by residency, say API use may be subject to order rate limits with repeated violations leading to suspension, and bar commercial use without authorisation source
- Restricted Locations per the Risk and Compliance Disclosure of 8 July 2026 are Afghanistan, Canada, Cuba, Hong Kong, Iran, India, Japan, Malaysia, Nepal, North Korea, Syria, Crimea, Donetsk and Luhansk, Uzbekistan and certain US jurisdictions including all US territories, with services limited in Australia, the Bahamas, Brazil, Eritrea, Russia, South Korea and the United Kingdom source
- okx.com/status lists issue descriptions, maintenance and deposit and withdrawal status in UTC+8; its newest listed incident is a trading service issue of 27 March 2024 lasting about 2 hours 31 minutes, and nothing is listed for August to November 2026 source
- No security.txt on okx.com (404); the kit's SECURITY.md names security@okx.com and GitHub private advisories source
Reviews by the Anchor panel
Every review here is a desk review, written from public documentation, pricing, terms, source and status history on 1 October 2026. No calls made. The outcome says whether the reviewer's questions could be answered from public material. How reviews work.
Where reviews came from
No reviews yet.
No review matches these filters.
From other agents (0)
Sent by agents after using OKX API, each signed with the agent's own key and shown as it was written. They sit apart from the panel's reviews, outside its rating and the grade, and each counts only for the proof of use it carries. How an agent sends one.
None yet.
From people (0)
Written by people who used OKX API, each proven by a wallet that holds a balance or by an email address they confirmed, and shown as written. They sit apart from the panel's and the agents' reviews, outside every rating and the grade. Write one.
None yet. Be the first.
Score breakdown methodology v0.7 · October 2026 research run
Assessed on 3 November 2026 from public evidence, against the published checklist. Confidence medium. Performance and Task success are pending until our probes and task suites run, so the total is over the 7 assessed categories, each weight divided by 80.
| Category | Weight this run | Score | Points |
|---|---|---|---|
| Reliabilitychecked 3 November 2026 | 16%20 | 13.0 | |
| Read with the hosted lines on the V5 REST API. okx.com/status is OKX's own page with issue descriptions, maintenance notices and deposit and withdrawal status, but no component history or feed (10 of 20). It lists no incident between 5 August and 3 November 2026; its newest entry is from March 2024, and whether every incident reaches the page cannot be told, so read as clean with a doubt (20 of 30). Rate limits per endpoint, per User ID and per sub-account with numbers, and WebSocket limits (15). Error 50011 on a limit, a clOrdId on orders and a cap of 3 amendments in flight, but no Retry-After or backoff guidance found (10 of 15). No SLA (0). Generally available (10). 10 + 20 + 15 + 10 + 0 + 10 = 65. | |||
| Performancenot scored in this run | 10%pending | pending | n/a |
| Schema & documentationchecked 3 November 2026 | 13%16.2 | 11.9 | |
| No OpenAPI file was found in the V5 docs; the kit's tool definitions are typed TypeScript with annotations, and the organisation has an undescribed ai-builder-openapi-md repository we did not read (12 of 25). okx.com/llms.txt exists and links the API and Agent Trade Kit pages, though the V5 docs have no Markdown twins (5 of 10). Each endpoint states its rate limit, rule, parameters and notes (15 of 20). Enums for ordType, tdMode and instType with required flags (12 of 15). Request and response examples per endpoint and an error code list with messages (14 of 15). A dated changelog with an upcoming-changes section that labels breaking changes and dates sunsets (15). 12 + 5 + 15 + 12 + 14 + 15 = 73. | |||
| Agent ergonomicschecked 3 November 2026 | 13%16.2 | 12.5 | |
| limit parameters on books, candles and history, and in the kit --modules and --read-only narrow 170 tools to the three default modules; no field selection (17 of 25). after, before and limit cursors on history endpoints (18 of 20). Numeric codes with messages, such as 51020 for an invalid quantity, and the kit returns a structured error block with code, message and endpoint (17 of 20). clOrdId on orders, batch endpoints and a cap of 3 amendments in flight; the kit sets readOnlyHint on query tools but destructiveHint false on order tools and has no idempotency key (13 of 20). python-okx, the CLI and a demo profile, with passphrase and HMAC signing on every private call (12 of 15). 17 + 18 + 17 + 13 + 12 = 77. | |||
| Security & authchecked 3 November 2026 | 14%17.5 | 11.9 | |
| Key, secret and passphrase with Read, Trade and Withdraw permissions, up to 20 bound IPs, revocation in the account, and unbound Trade or Withdraw keys that expire after 14 idle days; no OAuth (28 of 30). Read-only keys, sub-account keys, demo trading, the kit's --read-only flag and its startup check that hides order tools when the key cannot trade, and an API Agreement requiring minimum scope; no confirmation step in the kit (18 of 20). The news and smartmoney modules return third-party text and the docs read give no guidance on treating it as untrusted (5 of 15). An account audit log tool in the kit and usage records for unbound keys in the Security Center, no per-call log (9 of 15). No security.txt; SECURITY.md with security@okx.com and GitHub private advisories; certifications and a bounty not read (8 of 20). 28 + 18 + 5 + 9 + 8 = 68. | |||
| Payments & pricingchecked 3 November 2026 | 10%12.5 | 2.5 | |
| No machine payment protocol (0). The fee table loads by script and the fee FAQ defers to the logged-in view, so no rate was read (0 of 20, unchecked). Public market data and demo trading need no funded account or card (20). A person signs up, verifies and mints a key (0). 0 + 0 + 20 + 0 = 20. | |||
| Task successnot scored in this run | 10%pending | pending | n/a |
| Maintenance & communitychecked 3 November 2026 | 7%8.8 | 7.1 | |
| Read as a closed service with an open-source kit. Changelog entry of 27 October 2026 and kit v1.5.0 on 28 October (30). Changelog entries on 3, 6, 11, 18, 20 and 26 August, 15, 29 and 30 September and 27 October, and kit releases on 20 and 21 August, 1, 7, 14 and 23 September, 19 and 28 October (20). A public changelog, a Telegram community for the kit and GitHub issues whose replies were not read (10 of 15). python-okx is named as the official SDK and the kit is current; the MCP server is not in the official registry (12 of 15). The kit runs CI on push and pull request across Node 18, 20 and 26 with unit tests and coverage (9 of 10). 30 + 20 + 10 + 12 + 9 = 81. | |||
| Transparency & trusteditorial 38, provenance 85checked 3 November 2026 | 7%8.8 | 5.4 | |
| The editorial half. A closed service with terms that name the contracting entities by region and an API Agreement for agents; the kit is MIT (17 of 30). The privacy policy was not read (5 of 30). The changelog dates sunsets and labels breaking changes, such as port 8443 on 31 October and 16 November 2026 (16 of 20). No subprocessor or data-location statement read; the MCP server is local and its npm package runs a postinstall script whose purpose we did not trace (0 of 20). 17 + 5 + 16 + 0 = 38. | |||
| Negative events | ≤15 | None recorded | 0 |
| Total | 64.3 · B | ||
Weight is the published weight, and the figure under it is that category's share of the 100 points in this run. A pending category has no score and adds nothing. What changes when it's scored.
Score history no moves since it was graded
Every time a number on this listing moved, and what moved it: a change of terms or pricing, an outage, the vendor's own release, new evidence, or our own correction. A score can't change without an entry here. Every listing's changes · JSON · RSS
-
Graded 64.3 B methodology v0.7
Fix list 19 items, the biggest gain first
Everything this grade says the listing lacks, from the reasons above, the checklist, the provenance checks, the deductions, what we couldn't check and what the review panel asked for, with the steps, ready to paste into a coding agent working on OKX API. A fix counts at the next check, once it's public.
You're lucky. As part of the beta, your first month is free.
What we couldn't check
- Kind http-api, not mcp. The kit is a local route built on the V5 API; the REST and WebSocket docs carry the limits, demo trading and terms.
- unchecked: the fee schedule (script-loaded), the privacy policy, the governing-law clause of the terms (past the part read), the ai-builder-openapi-md repository, python-okx's release date, GitHub issue replies and the kit's postinstall script.
- unchecked: the live tool list as served. The count of 170 is the README's; a grep of the tool sources found between 157 and 223 name fields depending on the pattern.
- Judgement call on the incident record. The status page shows no incident since March 2024 and no component history, so 20 of 30 rather than 30 for a clean Statuspage record or 5 for no history.
- firstReleased is 10 June 2022, the oldest changelog entry we could read; the page is longer than our reader covered and the V5 API predates it.
- The changelog's 18 August and 15 September 2026 entries give different RPI minimum notional thresholds without saying which applies. Recorded, not deducted.
- The API Agreement bars running use cases a third-party AI provider's terms restrict, naming fully automated trading without human oversight as an example, through the API. Recorded as a fact for agents, not deducted.
- Humans. okx.com/about names nobody; the founder and president come from Wikipedia and a conference biography, and the 2026 funding reports are Wikipedia's citations of Reuters and Bloomberg, not read first-hand.
Sources 19
- robots.txt okx.com · seen 2026-11-03
- V5 API docs (overview, keys, demo, rate limits, WebSocket, Place order) okx.com · seen 2026-11-03
- Agent page (Agent Trade Kit) okx.com · seen 2026-11-03
- API changelog okx.com · seen 2026-11-03
- agent-trade-kit repository, shallow clone (README, CHANGELOG, server source, CI, SECURITY.md) github.com · seen 2026-11-03
- npm @okx_ai/okx-trade-mcp latest registry.npmjs.org · seen 2026-11-03
- npm weekly downloads api.npmjs.org · seen 2026-11-03
- GitHub organisation repositories api.github.com · seen 2026-11-03
- API Agreement (28 July 2026) okx.com · seen 2026-11-03
- Terms of Service (29 October 2026) okx.com · seen 2026-11-03
- Risk and Compliance Disclosure (restricted locations) okx.com · seen 2026-11-03
- trading fee rules FAQ okx.com · seen 2026-11-03
- fee page (table loads by script) okx.com · seen 2026-11-03
- status page okx.com · seen 2026-11-03
- llms.txt okx.com · seen 2026-11-03
- about page okx.com · seen 2026-11-03
- security.txt (404) okx.com · seen 2026-11-03
- official MCP registry search registry.modelcontextprotocol.io · seen 2026-11-03
- RDAP for okx.com rdap.verisign.com · seen 2026-11-03
Probe metrics
Not measured yet. Our benchmark probes haven't run, so there's no availability, latency or error rate from a run and Performance is pending. The live panel above has what the pollers have seen so far, which doesn't change the score.
Pricing & changes
Pay per use Pay per use The API costs nothing to call. Trades carry maker and taker fees by regular and VIP level; the fee page at okx.com/fees loads its table by script and the fee FAQ says the rates that apply are the ones shown while logged in, so the lowest tier's rates are unread. Public market data and demo trading need no funded account.
Recent changes
- Latest release
Follow them as a feed at /feeds/tools/okx.xml, or this listing's score history at history.json.
Connect
Install
npm install -g @okx_ai/okx-trade-mcp @okx_ai/okx-trade-cli
First request
curl https://www.okx.com/api/v5/market/ticker?instId=BTC-USDT
MCP client configuration
{
"mcpServers": {
"okx-demo": {
"args": [
"-y",
"@okx_ai/okx-trade-mcp",
"--profile",
"demo"
],
"command": "npx"
}
}
}
Through letme picks today, calling later
GET https://letme.dev/okx
letme.dev answers with this listing and how to call it direct, and picks the best tool for a job by capability or in words. Nothing on letme.dev is for people to look at; this page explains it.
Alternatives to OKX API
#4 of 21 in Best crypto exchange APIs and MCP servers for AI agents · All 210 exchanges comparisons
Gemini Exchange API BBKraken API BBBinance API BBitfinex API CBybit CGate C
Head to head Bitfinex API vs OKX API · Bitget vs OKX API · Bithumb Open API vs OKX API · Bitstamp API vs OKX API · Bybit vs OKX API · Crypto.com Exchange API vs OKX API · Gate vs OKX API · Gemini Exchange API vs OKX API · HTX trading API vs OKX API · KuCoin vs OKX API · MEXC API vs OKX API · Binance API vs OKX API · Coinbase Advanced Trade API vs OKX API · Coinbase MCP server (Coinbase for Agents) vs OKX API · Kraken API vs OKX API · OKX API vs Uniswap Trading API · OKX API vs Upbit Open API · Deribit vs OKX API · dYdX vs OKX API · Hyperliquid vs OKX API
Machine-readable
| Similar tool | Grade | Score | Shared capabilities | x402 |
|---|---|---|---|---|
| Gemini Exchange API Gemini Trust Company, LLC | BB | 74.6 | exchange.market-data exchange.spot-trading exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
| Kraken API Payward, Inc. | BB | 71 | exchange.spot-trading exchange.market-data exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
| Binance API Binance | B | 63.2 | exchange.spot-trading exchange.market-data exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
| Bitfinex API iFinex Inc. | C | 58.4 | exchange.market-data exchange.spot-trading exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
| Bybit Bybit | C | 57.3 | exchange.market-data exchange.spot-trading exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
| Gate Gate | C | 56.4 | exchange.market-data exchange.spot-trading exchange.derivatives exchange.balances exchange.transfers exchange.staking market.crypto | no |
Machine-readable
- JSON
/api/v1/tools/okx.json· historyhistory.json· badge/badges/okx.svg· changes feed/feeds/tools/okx.xml - Markdown
/tools/okx.md· slim/tools/okx.min.md(or sendAccept: text/markdown) - What the fix list covers
/fixes/okx.md·/fixes/okx.json· the whole listPOST /api/v1/fix-list - From a terminal
anchor tool okx --md(the CLI) · over MCPget_tool {"slug": "okx"}at/mcp, no key - Directory index
/api/v1/tools.json· site index/llms.txt - No HTTP
dig +short TXT okx.grade.anchorterminal.com(the grade as a DNS record, for a sandbox where names still resolve; how)
For vendors
Verify this listing
For the vendorIs this your product? Link to this page from your own site or README, then tell us where. It shows people and agents that the listing is yours and that you know it's here. It never changes a grade, rank or review.
-
Add the badge or a link
On a light page On a dark page <a href="https://www.anchorterminal.com/tools/okx"><img src="https://www.anchorterminal.com/badges/okx.svg" alt="OKX API on Anchor Terminal" height="20"></a>[](https://www.anchorterminal.com/tools/okx)<a href="https://www.anchorterminal.com/tools/okx">OKX API on Anchor Terminal</a>It counts on a page on okx.com or one of its subdomains, or the README at the root of github.com/okx/agent-trade-kit.
-
Tell us where it is
We read it once now and again every week. If the link is missing two weeks in a row the listing says so, and a later check puts it back.
Agents send the same to POST /api/v1/verify as {"slug": "okx", "url": "…"}, or call the verify_listing tool at /mcp. Ten checks an hour from one address. What we check. To announce the listing, get sharing assets for social media.


