Attention - Important Notice

In accordance with Section 1.4 of our Terms of Service:
  • Persons that are located in or a resident of the United States of America or Québec (Canada) are prohibited from holding positions or entering into contracts at BitMEX.
  • Persons that are located in or a resident of Cuba, Crimea and Sevastopol, Iran, Syria, North Korea and Sudan, or any other jurisdiction where the services offered by BitMEX are restricted, are prohibited from holding positions or entering into contracts at BitMEX.
  • BitMEX reserves the right to immediately close the accounts and to liquidate the open positions of persons determined to have breached our Terms of Service.
AllXBTUSD3903.5-1.61%XBTM193879.0-1.77%XBTH193897.5-1.69%XBTU193858.0-1.62%XBT7D_U1050.00161+123.61%XBT7D_D950.00262+25.96%ADAH190.00001523+0.40%ADAM190.00001559+0.71%BCHH190.0402-2.66%BCHM190.0409-2.85%EOSH190.0009290+1.22%EOSM190.0009413+1.91%ETHUSD132.90-1.99%ETHH190.03412-0.06%ETHM190.03438-0.09%LTCH190.01490-0.40%LTCM190.01515-0.13%TRXH190.00000575+0.17%TRXM190.00000584-0.51%XRPH190.00007701-0.14%XRPM190.00007854-0.03%.BXBT3904.65-1.70%.BETH132.96-1.87%.BVOL24H1.37+59.30%Funding: 05:18:19 @ -0.0581%Time: 6:41:40 AM
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.