All
FAQ
Announcements
Product documents
OKX API FAQ
What does Passphrase refer to? 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 5, 2026139What should I expect when changing my country of residence to any country within the European Economic Area (EEA) or Australia?
You can restake your assets immediately after the update.API domain update Your API domain will change after the system update. The REST API domain will be updated to eea.okx.com, and the WebSocket domain will be updated to wseea.okx.com.Published on Jul 2, 2025Updated on May 29, 2026170What are decentralized applications (DApps)?
Unlike user data of traditional AWS-based applications, records of DApp users are kept on a public, decentralized ledger and are immutable. Users can interact with the distributed codes of DApps to create or modify their data, and the changes will have to be confirmed by the participating nodes in the corresponding blockchain networks. Once data has been confirmed there, provided that the network has no serious inherent flaws, no one will be able to doctor the proofs on the network.Published on Nov 3, 2022Updated on May 29, 202630What do I need to do when I change my country of residence?
API domain update Follow OKX API Documentation for the latest API domain updates. Updated login URL Use the correct login site by following the account login flow on the web. There are no changes to the login process for the app version.Tips when entering your address Enter your full address (street, unit number if applicable, city, postal code, etc.) using the required format shown on screen.Published on Apr 10, 2025Updated on Jun 4, 2026647How 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 29, 202611How can I do spot trading with the Jupyter Notebook?
Instantiate python variables to save your API details in the notebook for later usage 1 api_key = "xxxxx" 2 secret_key = "xxxxx" 3 passphrase = "xxxxxx"4. How can I import OKX modules? In python-okx, there are several modules based on our REST API modules. Read our guide to learn how to import OKX modules.Published on Sep 29, 2023Updated on May 29, 2026562Why is my deposit not credited even when all information is correct?
Rest assured, assets that have already been recorded on the blockchain will not be lost. Once the network reopens for deposits, the platform will process it promptly. You can refer to the deposit page for the estimated recovery time and check back later.Published on Oct 17, 2024Updated on May 29, 20262,026Affiliate FAQ
How can affiliate access data from the Affiliate Portal via API? Kindly refer to: https://www.okx.com/docs-v5/en/#affiliate-rest-apiPublished on Dec 4, 2024Updated on May 29, 2026728Options trading FAQ
What are the API Best Practices? For those connected via API, visit here to learn more about API best practices.Is Market Maker Protection (MMP) available for options trading? We offer Market Maker Protection for options market makers to protect makers from executing too much within a short period of time. Please contact your account manager or institutional@okx.com if you want to have it enabled. Please refer to Market Maker Protection API.Published on Nov 19, 2024Updated on May 29, 20264OKX P2P user transaction rules
If the buyer commits the same behavior 3 times on the same day, the system will prohibit the buyer from buying for the rest of that day. 2. Order is automatically canceled as payment is not made within the time limit after the order is created. 1) If a user/Merchant commits the same behavior 5 times in a row as a taker-buyer, the system will prohibit them from buying as a taker for the rest of the day.Published on Sep 5, 2023Updated on May 29, 20261,049What's OKX Web3 Gaming?
You can follow the steps outlined in OKX WaaS-Marketplace API to create a project and generate API keys from the developer portal. Note: if you have any questions, you can always contact our support team via our OKX API Telegram group for real-time support.How do I issue my allowlist and NFT on OKX? You can refer to this article to learn more about issuing your allowlist and NFT assets.How do I enforce the collection of NFT royalties?Published on Jun 18, 2024Updated on May 29, 2026276What is DEX Boost and how do I participate?
The X Launch event usually refers to the Boost data from a day before the event starts. Please refer to the event page for specific details.How are bonuses distributed? Will they be credited automatically? No, bonus won't be distributed automatically. You must manually claim them on the event page. The claim period is typically 14 days. Bonus that's not claimed within this period will expire and can't be reissued.If I release my wallet, can I still participate or claim rewards? No.Published on Dec 13, 2025Updated on May 29, 20261How do I handle account restrictions on OKX?
For reference: High-Risk Withdrawal Fraud Prevention GuidePublished on Mar 17, 2023Updated on Jun 2, 2026936USDG on X Layer FAQ
The 4.1% APY rewards program is available globally with some regional restrictions. The program is NOT available to customers in the following jurisdictions: USA UK European Economic Area (EEA) Brazil Australia UAE Turkey Singapore All other regions can participate by holding USDG on X Layer via OKX Wallet, connecting their wallet to the exchange, and claiming rewards weekly. The APY is subject to change, and users should refer to the X Layer Terms of Service for complete details.Published on Oct 21, 2025Updated on Dec 18, 202516Event Contracts FAQ
For more details, please refer to Notice on OKX Event Contract Fee UpdateAPI Integration & AI Agent Integration Supported account modes: Futures mode, Multi-currency mode, and Portfolio mode. Spot mode is not supported. Position mode: API access only supports Isolated margin mode.Published on Apr 16, 2026Updated on Jun 2, 2026