Please note BitMEX does not support old browsers.
We recommend upgrading to the latest version of Opera, Firefox, or Chrome.

BitMEX trading is not available in your region

AllXBTUSDT42700.0-0.44%XBTUSD42722.5-0.50%XBTEUR37500.0-0.36%XBTH2243114.5-0.45%XBTM2243942.0-0.34%XBTUSDTH2243284.0-0.85%XBTF2242751.0-0.51%XBTG2242962.5-0.35%ADAUSDT1.4632+10.91%ADAUSD1.4787+10.36%ADAH220.00003456+9.13%AVAXUSD90.358-1.84%AXSUSD80.37+6.69%BCHUSD381.50-1.99%BCHUSDT388.15-0.96%BNBUSD487.03-0.82%BNBUSDT495.75+0.12%DOGEUSDT0.17177-4.51%DOGEUSD0.17191-4.64%DOTUSDT26.511-4.50%DOTUSD26.596-4.64%EOSUSD2.8734-0.84%ETHUSDT3295.30-0.44%ETHUSD3296.55-0.60%ETHUSDTH223338.00-0.46%ETHUSDH223603.10-1.36%ETHH220.07720-0.04%FTMUSDT3.1444+4.62%LINKUSD25.055+0.54%LTCUSDT148.17+1.38%LTCUSD148.92+1.76%LUNAUSD85.000-1.25%MANAUSDT3.0955+4.17%MATICUSDT2.4449+5.60%SANDUSDT4.8262-0.96%SOLUSDT143.48-1.92%SOLUSD143.84-2.07%SHIBUSDT0.000030213-0.08%XRPUSDT0.7714-0.19%XRPUSD0.7720-0.72%XRPH220.00001807+0.17%.BXBT42747.22-0.51%.BETH3295.78-0.58%.BVOL24H1.86+4.49%Funding: 00:18:49 @ 0.0063%Time: 3:41:10 AM UTC
API Overview

BitMEX offers a fully featured REST API and a powerful streaming WebSocket API. All market and user data is available and updates in real-time.

The BitMEX APIs are open and complete. Every function used by the BitMEX website is exposed via the API, allowing developers full control to build any kind of application on top of BitMEX.

The completeness of BitMEX’s API is best-in-class and unique in the trading space.

API Resources

API Announcements
API Keys
Historical Data

Daily historical extracts of commonly queried public BitMEX API data are available on (Testnet data is also available). These should be used in favour of pagination via the REST API.

BitcoinCharts API

BitMEX implements the full BitcoinCharts API starting at The BitcoinCharts API is a simple way to access trade and orderbook data in a format that is compatible with other exchanges.


BitMEX also implements the UDF API popularized by TradingView. The base URL is and you can view an overview here.