We are making an important change on how HTTP GET requests are handled in our REST API. The change is available in Testnet already. It will be deployed to production in phases, starting with endpoints /trade and /quote (including their bucketed variants) on 11 Dec 2023 at 02:00 UTC.
What’s Changing?
The REST API no longer accepts a payload as part of an HTTP GET request. A payload as part of such a request has no defined semantics in the HTTP standard and is rejected with status 400.
What should I change?
Any parameters for an HTTP GET request should be part of the request URL.
Our API documentation has many examples of the expected syntax. For example, for the /trade endpoint, available parameters are documented here: https://www.bitmex.com/api/explorer/#!/Trade/Trade_get
Why are we implementing this change?
As part of our platform improvements and organic growth of our exchange, we strive to simplify our technology and processes.
If you have any questions about these upcoming changes, please contact Support.
To be the first to know about new listings, product launches, promotions or other updates we invite you to join one of our communities and follow us on Twitter or check our blog regularly.