Futures Rest API
Poloniex futures v1/v2 API will be officially offline on November 30, 2024. You can access the V3 API to provide you with a better trading experience.
The REST API provides endpoints for users and trades as well as market data.
A Request URL is made by a Base URL and a specified endpoint of the interface. Base URL: https://futures-api.poloniex.com
Endpoint of the Interface
Each interface has its own endpoint, which is provided under the HTTP REQUEST module.
For GET requests, please append the queried parameters to the endpoint.
E.G. For "Position", the default endpoint of this API is /api/v1/position
. If you pass the symbol
parameter (BTCUSDTPERP), the endpoint will become /api/v1/position?symbol=BTCUSDTPERP
and the final request URL will be https://futures-api.poloniex.com/api/v1/position?symbol=BTCUSDTPERP.
Requests
All requests and responses are application/json
content type.
Unless otherwise stated, all timestamp parameters should be in Unix time milliseconds. e.g. 1544657947759
Parameters
For GET and DELETE requests, all queried parameters need to be included in the request URL. (e.g. /api/v1/position?symbol=BTCUSDTPERP
)
For POST and PUT requests, all queried parameters need to be included in the request body in JSON format. (e.g. {"side":"buy"}
). Do NOT include any space in JSON strings.
Errors
When errors occur, the HTTP error code or system error code will be returned. The body will also contain a message parameter indicating the cause.