All
FAQ
Announcements
Product documents
OKX API FAQ
This is the password you filled in when applying for the API key. You need to remember it yourself. Once you forget it, you can't retrieve it and you'll need to create a new API key.How do I create an API key? On the App: 1. Log in to your OKX account > Select Menu (⋮⋮⋮) > Scroll down and select API > Create API key 2. Fill in the API name > Select Account and Purpose > Enter the IP address allowlist > Select Permissions > Enter the Paraphrase On the Web: 1.Published on Sep 20, 2024Updated on Jun 17, 2026FAQ140Notice: Updates to OKX INC. API — Effective June 9 & 11, 2026
API Effective June 9 & 11, 2026 OKX is introducing a new consolidated ELP order book channel and REST endpoint (books-elp-all), and expanding the isElpTakerAccess order flag to all order types.Published on Jun 1, 2026Updated on Jun 1, 2026AnnouncementsNotice: Security Fund Display & API Updates — Effective June 9–11, 2026
See the API documentation for full details: https://app.okx.com/docs-v5/zh/#public-data-rest-api-get-insurance-fund No action is needed for general platform users. Changes will apply automatically.Questions? Contact OKX customer support or visit our Help Center. Thank you for your continued support. OKX US TeamPublished on Jun 9, 2026Updated on Jun 10, 2026AnnouncementsIntroduction of rules on OKX Connect
Connect API integration process Documents required: You are required to use OKX's public API documents and Connect API documents 3 steps for API docking: Steps Available for 1. Use public API documents to set up public services, such as trading, query, etc. API , OAuth 2. Use connect API documents to set up Oauth-based docking OAuth 3.Published on Feb 9, 2026Updated on May 29, 2026Product documentationELP Expansion to Event Contract and ELP Taker Restriction
The change affects: POST / Place order POST / Place multiple orders WS / Place order WS / Place multiple orders Please review the API documentation for full details and update your integration before the effective date. For questions, contact OKX API support. OKX team May 08, 2026Published on May 9, 2026Updated on May 29, 2026AnnouncementsHow can I do spot trading with the Jupyter Notebook?
How can I create API keys? After signing in to our platform, go to Trade > Demo trading to create API keys for testing purposes Open Demo trading page Go to Profile and select Demo Trading API to create API keys. Open API to create API keys Create API keys for the different master/sub accounts you might have Select Create API key Select Trade in the Permissions to trade with the API key Select Trade in Permissions Now you have access to your API key, your Secret key, and your passphrase.Published on Sep 29, 2023Updated on May 29, 2026FAQ562How can I enhance my OKX app security?
Audit your API permissions: head over to Profile > API for the web while select Menu > Tools > API to access via the app, and delete any unauthorized APIs available. Proceed to select API under the Tools section on the Menu page Check your active devices: head over to Profile and settings > Security > Device Management under Advanced security, and remove any unrecognized devices and reset your password.Published on May 14, 2026Updated on May 29, 2026FAQOpen interest limits of contracts
(Open API error code: 54031) Notes: The above rules only apply to some futures. Please refer to trading rules and open position limits for the specific values and parameters. If a futures is not shown on the trading rules page or its Open API query returns empty results, then the above rules do not apply to these futures.Published on Mar 22, 2025Updated on May 29, 2026Product documentationHow do I level up my trades with Mizar?
That means you don't need to deposit any funds on Mizar to trade, but you can connect to your exchange with API keys.3. How do I connect OKX to Mizar? Learn more on how you can create your OKX API key and how to connect it to the Mizar bot by reading about it here.Published on Mar 28, 2024Updated on May 29, 2026FAQ5How do I verify OKX's ownership and balance of the wallet address?
Please refer to here Use third-party nodes: Infura、Alchemy Example: Alchemy provides ethereum archive node serviceOKLink API balance verification Login to OKLink Go to profile > API Select Create API under On-chain Data to create apiKey Configure parameters related to OKLink open API in the rpc.json file OKLink is a blockchain big data company that provides an open interface to query the address balance of a specified height in the blockchain.Published on Sep 26, 2023Updated on May 29, 2026FAQ1,004How do I supercharge my trading with Alertatron's automated solutions?
There are three main steps: Creating a set of OKX API keys: Visit here to learn more Adding the API keys to Altertatron: Visit here Amazing, you can now send your first test order!Published on Mar 28, 2024Updated on May 29, 2026FAQ1How do I secure my account after detecting unusual activity?
However, for security reasons, fund withdrawals will be disabled for 24 hours after making any changes.API To view or delete your APIs: Select the Menu icon on the app > Pull down to access the Toolbar > Select API > Delete any APIs not created by the account owner.Trusted device Visit your Security Center and review Device Management.If you see any unrecognized devices, we recommend removing them immediately to secure your account.Payment method It’s important to keep your payment methods accuratePublished on Mar 21, 2025Updated on May 29, 2026FAQ34OKX Enhanced Liquidity Program
API order book ELP orders will be excluded from current order book REST endpoints or WebSocket channels. GET /api/v5/market/books GET /api/v5/market/books-full WebSocket: books/books5/bbo-tbt/books-l2-tbt/books50-l2-tbt There will be a new WebSocket channel to include all ELP orders only (both valid and invalid orders). WebSocket: books-elp Order books on the web and app interfaces: YesHow are ELP orders and trades labeled?Published on Nov 26, 2025Updated on May 29, 2026Product documentationOKX Trading Server Migration Announcement (Hong Kong → Tokyo)
API endpoints and fields will not be affected by the migration. All latency-sensitive services will be migrated from Hong Kong to Tokyo. Changelog: June 12, 2026 — Migration rescheduled from end of June to end of July. Regards, Team OKXPublished on May 14, 2026Updated on Jun 16, 2026AnnouncementsOKX INC. - Trading Server Migration Announcement (Hong Kong → Tokyo)
API endpoints and fields will not be affected by the migration. All latency-sensitive services will be migrated from Hong Kong to Tokyo. Change Log: June 12, 2026 — Migration rescheduled from end of June to end of July. Regards, Team OKXPublished on Jun 16, 2026Updated on Jun 16, 2026Announcements