All
FAQ
Announcements
Product documents
OKX API FAQ
Fill in the API name > Select Account and Purpose > Enter the IP address allowlist > Select Permissions > Enter the Paraphrase On the Web: 1. Log in to your OKX account > Go to your Profile and select API and connections > Create API key 2. Fill in the API key name > Select Account and Used for 3. Enter the IP address allowlist > Select Permissions > Enter the Paraphrase Note: IP addresses help secure your API key.Published on 20 Sept 2024Updated on 5 Jun 2026140How do I authorize a new device when I log in?
You can request up to 5 phone verification calls in 1 hour. Email verification: when you request email verification, we'll send a link to the email linked to your account. Open this link to confirm authorization. If you can't open the link from email, try copying and pasting it to your browser.Published on 31 Aug 2023Updated on 4 Jun 202613,987What is Agent Trade Kit?
You are solely responsible for independently verifying all information, configuring and supervising automated strategies, safeguarding API credentials, applying least-privilege permissions (including avoiding withdrawal permissions unless strictly necessary), binding trusted IPs, and testing with small amounts before scaling.Published on 29 Apr 2026Updated on 29 May 20263How do I stay safe from phishing SMS using the name OKX?
Monitor your login activity in the app regularly for any suspicious devices or IP addresses. Save and use only the official OKX website (https://www.okx.com/) and download the app from verified app stores. If something seems off, contact OKX support through the app for official assistance.What I should NOT do: Don’t click on links from suspicious or unexpected SMS messages. Don’t call phone numbers from SMS messages unless you’ve confirmed their legitimacy through official sources.Published on 9 May 2025Updated on 29 May 2026325How do I secure my exchange account?
Note: if you receive an email or notification about a login from an unusual location, this may be due to your local internet service provider running out of IP addresses and assigning you a different one. We recommend checking whether you were logged in during the time the notification was sent. If this wasn't you, please change your login password immediately and set up an authenticator app to strengthen your security settings.Published on 12 Jun 2024Updated on 29 May 20261,353What limits are there for futures copy trading?
INJ-USDT, BONK-USDT, JUP-USDT, ETHFI-USDT, TAO-USDT, POL-USDT, EIGEN-USDT, MOODENG-USDT, PNUT-USDT, FARTCOIN-USDT, PI-USDT, KAITO-USDT, OKB-USDT, ASTER-USDT, ENA-USDT 1,000,000 AXS-USDT, MANA-USDT, COMP-USDT, GMT-USDT, STX-USDT, IMX-USDT, TRB-USDT, YGG-USDT, LPT-USDT, MEME-USDT, PYTH-USDT, TURBO-USDT, SATS-USDT, JTO-USDT, OM-USDT, STRK-USDT, W-USDT, ZRO-USDT, RENDER-USDT, BOME-USDT, POPCAT-USDT, NEIRO-USDT, GRASS-USDT, MOVE-USDT, ME-USDT, VIRTUAL-USDT, AI16Z-USDT, VINE-USDT, S-USDT, BERA-USDT, IP-USDTPublished on 31 Oct 2023Updated on 29 May 2026256What limits are there for spot copy trading?
NEAR-USDT, XAUT-USDT, TON-USDT, BONK-USDT, WIF-USDT, TRUMP-USDT, PI-USDT, BABY-USDT, JITOSOL-USDT, WLFI-USDT, LINEA-USDT 2,500,000 BCH-USDT, DAI-USDT, CFX-USDT, ATOM-USDT, APE-USDT, CRV-USDT, STX-USDT, ICP-USDT, ALGO-USDT, ORDI-USDT, PEOPLE-USDT, ENS-USDT, FLOKI-USDT, TIA-USDT, PYTH-USDT, FET-USDT, INJ-USDT, SATS-USDT, JTO-USDT, JUP-USDT, ZETA-USDT, STRK-USDT, ETHFI-USDT, W-USDT, ZK-USDT, RENDER-USDT, ONDO-USDT, POL-USDT, EIGEN-USDT, MOODENG-USDT, PNUT-USDT, MORPHO-USDT, ME-USDT, PENGU-USDT, BERA-USDT, IP-USDTPublished on 30 Oct 2023Updated on 29 May 2026127What's a dusting attack?
A VPN hides your IP from local observers, but it doesn’t stop on-chain analysis. Wallet hygiene (avoiding address reuse, using HD wallets) is more effective. Explore more about risk and fraud by visiting here.Published on 4 Oct 2024Updated on 29 May 202614What are the advantages of using cross margin and isolated margin?
If you use the isolated margin mode and open a future with 5 BTC, only those 5 BTC are at risk. If your position faces liquidation, you will only lose the 5 BTC, and the other 5 BTC will remain unaffected. Isolated margin can help reduce risk.2. Advantages of cross margin: Shared margin increases funds utilization Under cross margin, positions in futures with the same settlement crypto share margin, and profits and losses offset each other, helping improve capital efficiency.Published on 20 Mar 2023Updated on 29 May 202643What is trigger order?
The built-in 5% price protection bounds how far this difference can go.Price protectionWhat's the 5% price protection on trigger orders? Every trigger order includes a 5% protection threshold to prevent execution at a significantly worse price than expected: Buy orders: the order won't execute if the quoted price is more than 5% higher than your trigger price. Sell orders: the order won't execute if the quoted price is more than 5% lower than your trigger price.Published on 8 May 2026Updated on 29 May 2026What's Strategy protection and hidden personal trades features?
Strategy protection hides key trade information from non-copy traders and delays updates for copy traders by 5 minutes. This ensures that your trade strategies remain confidential and reduces the risk of slippage. When enabled, Strategy Protection hides key information about ongoing trades from non-copy traders.Published on 14 Jul 2024Updated on 4 Jun 202662How do I calculate borrowing interest?
Interest-free quota Crypto Interest-free quota (Token amount) USDT 20,000 BTC 1 LTC 10 ETH 5 ETC 2000 XRP 5,000 EOS 500 BCH 5 BSV 5 TRX 30,000 LINK 50 DOT 50 ADA 500 ALGO 500 ATOM 20 CRV 100 FIL 10 DASH 2 IOST 10,000 IOTA 500 KNC 200 NEO 10 ONT 300 QTUM 100 THETA 100 SUSHI 30 SUN 20 XLM 1,000 UNI 20 XMR 2 XTZ 100 ZEC 2 YFI 0.01 YFII 0.12. Interest calculation and deduction Interest calculation time: Recorded every hour on the hour. Interest deduction time: Recorded every hour on the hour.Published on 20 Mar 2023Updated on 29 May 202670How can I do spot trading with the Jupyter Notebook?
5. How can I access our market data? Learn more on how to access our market data and refer to the code below. 1 import okx.MarketData as MarketData 2 flag = "1" # live trading: 0, demo trading: 1 3 marketDataAPI = MarketData.MarketAPI(flag=flag) 4 result = marketDataAPI.get_tickers(instType="SPOT")print(result)6. How can I read the available trading pairs?Published on 29 Sept 2023Updated on 29 May 2026562How do I use the Top position long/short ratio indicator?
The Top position long/short ratio indicator visualises the ratio of total long position value to total short position value among the top 5% of traders with the largest open position value. When long positions exceed short ones, it indicates investor optimism and confidence in the market's growth among the top 5% of traders with the largest open position value. This suggests a bullish sentiment.Published on 16 May 2024Updated on 29 May 202616OKX listing mechanism
Additional trading rules apply during the first 5 minutes after the Call Auction: Market orders are not supported during the first 5 minutes after trading begins. This includes TP/SL orders that meet trigger conditions during this period will not be triggered and will be cancelled. Orders placed during this period are subject to a maximum order size of 10,000 USD per order. These limits would be lifted once the five minutes have concluded. Pre-openWhat is Pre-open?Published on 27 Apr 2018Updated on 29 May 20267,499