All
FAQ
Announcements
Product documents
What's mark price vs last price vs index price?
X-Perps trading uses multiple price references. Understanding the difference is important because different functions may rely on different prices.What's last price? The last price is the price of the most recent executed trade in the market. It's useful for: seeing recent trade activity charting and short-term market behaviourWhat's index price? The index price is a reference price derived from...Apr 15, 2026Published on Apr 15, 2026Sep 4, 2026Updated on Sep 4, 2026FAQ1Changes to V5 API WebSocket subscription parameter and URL
Live trading URL Current Public addresses: wss://ws.okx.com:8443/ws/v5/public wss://wsaws.okx.com:8443/ws/v5/public Private addresses: wss://ws.okx.com:8443/ws/v5/private wss://wsaws.okx.com:8443/ws/v5/private Updated wss://ws.okx.com:8443/ws/v5/business wss://wsaws.okx.com:8443/ws/v5/business Applicable to public and private channels Table 3: Demo trading service address details Only the channels listed on Table 1 are required to switch to the new "/business" URL.Apr 24, 2023Published on Apr 24, 2023Aug 5, 2026Updated on Aug 5, 2026AnnouncementsCorporate Actions Handling Mechanism
API queries and status monitoring Can I query corporate actions through an API? Yes. The new public endpoint GET /api/v5/public/corporate-actions provides corporate action event queries. Institutional users can use its status field to track event progress, arrange cancellations and reconcile the results.Jun 23, 2026Published on Jun 23, 2026Nov 9, 2026Updated on Nov 9, 2026Product documentationChanges to V5 API users as OKX supports USDC index
Get order history (last 7 days) /api/v5/trade/orders-history uly - Get order history (last 3 months) /api/v5/trade/orders-history-archive uly - Get transaction details (last 3 days) /api/v5/trade/fills uly - Get transaction details (last 3 months) /api/v5/trade/fills-history uly - Get mark price /api/v5/public/mark-price uly - Get delivery/exercise history /api/v5/public/delivery-exercise-history uly - Get open interest /api/v5/public/open-interest uly - Get insurance fund /api/v5/public/insurance-fundMar 30, 2023Published on Mar 30, 2023Aug 5, 2026Updated on Aug 5, 2026AnnouncementsOKX WebSocket Port 8443 Discontinuation Announcement
Affected domains Public internet, production: ws.okx.com, wseea.okx.com, wsus.okx.com Public internet, demo trading: wspap.okx.com, wseeapap.okx.com, wsuspap.okx.com Colo: all Colo WebSocket connections This applies to every path, including /ws/v5/public, /ws/v5/private, /ws/v5/business and, on the Global site, /ws/v5/public-sbe. Action required Remove :8443 from your WebSocket URLs before October 31, 2026 (Colo: before November 16, 2026).Sep 30, 2026Published on Sep 30, 2026Oct 16, 2026Updated on Oct 16, 2026AnnouncementsTradFi X-Perps vs Real Stocks FAQ
If a corporate action such as a stock split or reverse split changes the number of underlying shares represented by the contract, we may close open positions in the affected X-Perp and list a new contract reflecting the post-corporate-action structure. Where possible, we'll inform users in advance. Cash dividends are treated separately, they aren't supported currently and don't trigger the same position-closure mechanism.Why trade a TradFi X-Perp instead of buying real stock?Jun 9, 2026Published on Jun 9, 2026Aug 13, 2026Updated on Aug 13, 2026FAQMulti-currency margin mode vs. Portfolio margin mode
Additionally, the delta position from spot assets can be included in the corresponding risk units For example, BTC spot assets in an account can be included in a BTC-USD or BTC-USDT risk unit for delta risk offsetting.Example of multi-currency margin mode vs. portfolio margin mode Note: Values are simulated using the position builder on 6th Feb 2025 Large delta neutral positions (favorable when in portfolio margin mode) Assets 10 BTC Positions BTCUSD-14Feb25 Futures: -35,000 contracts BTCUSDT PerpsApr 13, 2023Published on Apr 13, 2023Aug 14, 2026Updated on Aug 14, 2026Product documentationSpot Fees comparison: X-Perps account vs Regular account
Our fees differ for users in Europe (UE/EEA) who have opened their derivatives (X-Perps) account and for users who haven't opened a derivatives (X-Perps) account. On this page you can find the fee difference for users of different tiers and the fees for both account options and compare the costs per tier. Your VIP level is determined based on your total accounts assets in EUR or your 30-day...May 18, 2026Published on May 18, 2026Oct 20, 2026Updated on Oct 20, 2026AnnouncementsOKX Retail Price Improvement Program
Speed bump protection The RPI speed bump applies only to eligible taker flow. | Speed bump | Flows and actions | | ----------- | ----------------- | | Applied | App or web create or modify actions. OpenAPI placement or amendment with rpiTakerAccess: true, for all ordType, including post_only. | | Not applied | OpenAPI cancel actions. App or web cancel actions.Jul 23, 2026Published on Jul 23, 2026Oct 30, 2026Updated on Oct 30, 2026Product documentationSpot margin vs X-Perps: which one should I choose?
For how adjusted equity feeds into your margin calculation, see Multi-currency margin mode vs portfolio margin mode.What does borrowing on spot margin cost? This applies to spot margin trading. Interest on a spot margin borrow is calculated and settled hourly. Four things follow from that, and they're the ones people get wrong most often: Interest is added to your outstanding debt rather than taken from the assets you're holding.Sep 3, 2026Published on Sep 3, 2026Sep 3, 2026Updated on Sep 3, 2026FAQOKX to support Lisk mainnet upgrade
For more details on the network upgrade, please visit: https://lisk.com/blog/posts/announcing-lisk-mainnet-v4-migration. OKX team December 5, 2023Dec 5, 2023Published on Dec 5, 2023Aug 5, 2026Updated on Aug 5, 2026AnnouncementsAnnouncement of historical data services scheduled maintenance
The affected Open API endpoints are: Endpoint name Endpoint path Order details GET /api/v5/trade/order (Only affects canceled and filled orders) Transaction details (last 3 days) GET /api/v5/trade/fills Transaction details (last 3 months) GET /api/v5/trade/fills-history Get bills details (last 7 days) GET /api/v5/account/bills Get bills details (last 3 months) GET /api/v5/account/bills-archive Order history (last 7 days) GET /api/v5/trade/orders-history Order history (last 3 months) GET /api/v5/tradeMar 15, 2024Published on Mar 15, 2024Aug 5, 2026Updated on Aug 5, 2026AnnouncementsOKX Pay Online Payments: User Guide & FAQ
At checkout, select OKX Pay as your payment method and follow the on-screen instructions to complete your payment.How do I pay on a computer? Select OKX Pay at the merchant's checkout. Open the OKX App on your phone and scan the QR code shown on the checkout page. Review the merchant, order, token, and amount in the app. Authorize the payment using your passkey or device biometrics.How do I pay on my phone? Select OKX Pay at checkout, then tap the button to open the payment in the OKX App.Oct 19, 2026Published on Oct 19, 2026Oct 29, 2026Updated on Oct 29, 2026FAQ2Index components weightage adjustment FAQ
If you don't have any strategies based on index price, no action is required. If you have such strategies, the actions needed are subject to the specific strategies.Dec 14, 2023Published on Dec 14, 2023Aug 5, 2026Updated on Aug 5, 2026FAQ15How do I buy crypto with my cash balance?
Try another payment method shown during checkout or contact your card issuer if verification continues to fail.10. Why did my Buy order fail or get rejected? Open Activity, select the Buy order, and review its status and any reason shown in the order details.A failed checkout and a failed or rejected order are not always the same: If no order was created, restart the Buy flow and review the available payment methods and limits.Nov 16, 2023Published on Nov 16, 2023Sep 30, 2026Updated on Sep 30, 2026FAQ1