AllXBTUSD6613.5-1.62%XBTZ186552.0-1.72%XBTU186593.0-1.63%XBTH196542.0-1.54%XBT7D_D950.00386-16.99%XBT7D_U1050.00257-36.86%ADAU180.00001285-4.81%ADAZ180.00001330-4.86%BCHU180.0710-4.31%BCHZ180.0715-3.64%EOSU180.0008633-4.26%EOSZ180.0008739-3.97%ETHUSD234.30-4.33%ETHU180.03557-2.55%ETHZ180.03580-3.35%LTCU180.00878-4.98%LTCZ180.00889-4.10%TRXU180.00000343-4.46%TRXZ180.00000354-3.80%XRPU180.00008073-5.09%XRPZ180.00008225-5.90%.BXBT6610.38-1.71%.ETHXBT0.03533-2.81%.BVOL24H1.71+14.77%Funding: 06:10:44 @ 0.0111%Time: 1:49:15 PM
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.