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 Apr 20, 2026137What 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 Nov 17, 2025169How do I automate my trades?
Gather all of the details that you need in regards to the trading bots here.How do I use OKX's API for custom trading strategies? Generate API keys: in your OKX account settings, generate API keys with appropriate permissions. Set up your development environment: use programming languages like Python, JavaScript, or others to create your trading bot. Connect to the API: utilize OKX’s API documentation to connect your bot to the exchange.Published on Oct 1, 2024Updated on Nov 17, 202510How 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, 2025553Index components weightage adjustment FAQ
What will be updated on API related to index component weights? No changes to current API endpoints and no new endpoints will be added. The component weight (field name: "wgt") returned by "/api/v5/market/index-components" will be updated to the latest weights automatically.6. How does the updated index weighting method affect my trading strategies? After the weighting adjustments, the components that have higher volume and better liquidity will have higher weights.Published on Dec 14, 2023Updated on Feb 12, 202613How 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, 20265How 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, 2026999How 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, 20251How 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, 202633USD-margined futures contracts FAQ
On the API: Please refer to the API changelog On the app: Select More on Trading page > Select Settings > Select USD-M settlement currency Select More and Settings under Features selection USD-M settlement currency is under Trading mode option on the app's settings menu On the web: Select Settings on Trading page > Select USD-M settlement currency USD-M settlement currency is under Settings option on the web's menuWhat happens if I use a different settlement currency than my counterparty?Published on Oct 13, 2025Updated on Feb 12, 20266How can I do derivatives trading with the Jupyter Notebook?
If you have any questions about our APIs, you can join our API community and raise them in the community.Published on Sep 28, 2023Updated on Feb 12, 2026197Affiliate 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 Apr 6, 2026723OKX Web3 FAQ
Activities such as money laundering, fraud, terrorist financing, sanctions evasion, system attacks, malicious code distribution, identity misuse, or API abuse may lead us to suspend or terminate access to our wallet software service without notice.As a non-custodial wallet software service, users maintain full control of their funds even if the service is no longer accessible.12. What security measures are in place to prevent illicit use of our Web3 Wallet?Published on Jan 19, 2026Updated on Feb 27, 202690Event Contracts FAQ
Position mode: API access only supports Isolated margin mode.Published on Apr 16, 2026Updated on Apr 22, 2026
Showing 1-14 of 14 articles