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

AllXBTUSDT28449.0+0.37%XBTUSD28427.5+0.32%XBTEUR26067.5-0.43%XBTUSDTH2328669.0+0.98%XBTUSDTM2328768.5+0.62%XBTM2328603.5+0.31%XBTH2328434.5+0.38%XBTUSDTU2329488.0+25.34%XBTZ2328911.0-0.31%XBTU2328822.5+0.42%XBTJ2328500.0+0.32%ETHUSDT1793.60-0.26%ETHUSD1796.60-0.22%ETHUSD_ETH1799.75+0.42%ETHUSDH231793.05-0.60%ETHUSDTH231783.05-1.60%ETHH230.06320-0.49%ETHUSDTM231887.85+11.84%ETHM230.06312-1.28%ETHUSDM231949.95-0.51%ETHUSDH23_ETH1769.70+3.26%BMEXUSDT0.431-1.82%BMEXUSD0.430-2.49%ADAUSDT0.3768-1.21%ADAUSD0.3786-1.38%ADAH230.00001338-2.34%ADAM230.00001350-2.81%APEUSDT4.065-0.68%APTUSDT11.240-3.94%APTUSD11.216-3.31%ARBUSDT1.406+12.93%ARBUSD1.352+11.00%ARBUSDTM231.482+10.93%AVAXUSD17.439+1.23%AVAXUSDT17.430+0.87%AXSUSD8.30-1.89%BCHUSDT122.60-1.09%BCHUSD122.80-0.73%BLURUSDT0.5060-4.53%BLURUSD0.5200-5.45%BNBUSD316.17+0.15%BNBUSDT314.00-1.39%CROUSDT0.06900-0.89%CROUSD0.06892-0.12%DOGEUSDT0.07488-0.97%DOGEUSD0.07502-0.92%DOTUSDT6.145-0.42%DOTUSD6.156-0.31%EOSUSD1.2078+4.79%FLRUSDT0.0367-45.22%FLRUSD0.0380-6.40%FLRUSDTH230.0450+0.00%GMTUSDT0.3849-1.89%GMTUSD0.3859-1.83%GMXUSDT75.30+10.65%GMXUSD75.26-2.37%KLAYUSDT0.23593+9.90%KLAYUSD0.23020-1.76%LINKUSD7.316+0.43%LTCUSDT89.22-1.38%LTCUSD89.47-1.36%LUNAUSDT1.2829-1.28%LUNAUSD1.2760-2.54%MATICUSDT1.1060-1.37%NEARUSD1.952-0.36%SOLUSDT20.63-2.27%SOLUSD20.66-2.32%USDTUSDC1.0105+1.68%XRPUSDT0.5413-1.28%XRPUSD0.5423-1.38%XRPH230.00001899-2.57%XRPM230.00001910-3.29%Funding: 05:15:50 @ 0.0100%Time: 2:44:09 PM UTC
BitMEX header logo
5
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
Samples
Historical Data

Daily historical extracts of commonly queried public BitMEX API data are available on public.bitmex.com (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 https://www.bitmex.com/api/bitcoincharts. The BitcoinCharts API is a simple way to access trade and orderbook data in a format that is compatible with other exchanges.

UDF API

BitMEX also implements the UDF API popularized by TradingView. The base URL is https://www.bitmex.com/api/udf and you can view an overview here.