All
FAQ
Announcements
Product documents
How do I prevent self-trade and improve my API trading efficiency and protection?
Visit OKX's API page and explore the extensive API documentation to learn more about how to leverage this powerful tool to enhance your trading journey.Published on Jun 11, 2024Updated on May 14, 2025FAQ11Introduction 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 Mar 2, 2026Product documentationHow 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 Sep 10, 2025FAQ544Open 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 Feb 3, 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 Jan 2, 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 Jan 26, 2026FAQ996How 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 Oct 8, 2025FAQ1How 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 Feb 12, 2026FAQ30OKX 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 Jan 13, 2026Product documentationUS Holiday Campaign - Terms and Conditions
Terms & Conditions: OKX USDG 5% APY Program (U.S.) This OKX USDG APY program is being offered by OKX INC. (“OKX”). The program starts on November 24, 2025 at 00:00 PT (the “OKX USDG APY Program Start Date”) and will continue until further notice, as determined in OKX's sole discretion.Published on Nov 6, 2025Updated on Dec 2, 2025FAQFlywheel
Minimum annualized return: The minimum APY you expect to receive. When reinvesting, it will serve as a selection criterion for dual-investment financial products. Longest settlement period: The longest investment period you can accept. When reinvesting, it will serve as a selection criterion for dual-investment financial products.Published on Feb 11, 2025Updated on Aug 14, 2025Product documentationSmart Arbitrage with staking
For example, if the current reference APY for arbitrage is 5% and staking is 10%, the combined reference APY after enabling staking can reach up to 15%.How to Create a Smart Arbitrage Strategy with Staking Rewards?Published on May 7, 2025Updated on Nov 4, 2025Product documentationTrading Signal Bot Events History
order due to message timeout System Action Success Take-profit stop order for {cryptoPair} is successfully triggered System Action Success Stop-loss stop order for {cryptoPair} is successfully triggered System Action Failure Take-profit stop order for {cryptoPair} failed to trigger System Action Failure Stop-loss stop order for {cryptoPair} failed to trigger System Action Success Filled the trailing stop order of {cryptoPair} N/A Failure For any other unexpected events, please refer to our official APIPublished on Aug 6, 2023Updated on Apr 1, 2025Product documentationSpot index prices
The frequency of data retrieval is subject to the API rate limits set by these exchanges. B. Exchanges that underwent system maintenance or didn’t update their latest price during a specified time period won’t be taken into calculation for the latest price updates. The update frequency is different for each index. C.Published on Jun 16, 2022Updated on Nov 5, 2025Product documentationUpdates to U.S. Fee Framework
2,500,000 0.050% 0.100% 0.000% 0.000% 48,000,000 VIP 5 250,001 - 500,000 or 2,500,001 - 5,000,000 0.045% 0.080% 0.000% 0.000% 60,000,000 VIP 6 500,001 - 1,000,000 or 5,000,001 - 10,000,000 0.040% 0.070% 0.000% 0.000% 72,000,000 VIP 7 1,000,001 - 2,000,000 or 10,000,001 - 20,000,000 0.025% 0.040% 0.000% 0.000% 80,000,000 VIP 8 2,000,001 - 5,000,000 or 20,000,001 - 50,000,000 0.010% 0.035% 0.000% 0.000% 80,000,000 VIP 9 5,000,001+ or 50,000,001+ 0.000% 0.030% 0.000% 0.000% 80,000,000 Ongoing reviews & APIPublished on Nov 8, 2025Updated on Nov 17, 2025Announcements