Futures Account 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.
Get Account Overview
HTTP Request
GET https://futures-api.poloniex.com/api/v1/account-overview
Example
GET https://futures-api.poloniex.com/api/v1/account-overview?currency=USDT
Parameters
Param | Type | Description |
---|---|---|
currency | String | [Optional] Currency, XBT or USDT, Default USDT |
API Permission
This endpoint requires the General permission.
REQUEST RATE LIMIT
This API is restricted for each account, the request rate limit is 3 times/3s.
Example:
{
"code": "200000",
"data": {
"accountEquity": 99.8999305281, //Account equity = marginBalance + Unrealised PNL
"unrealisedPNL": 0, //Unrealised profit and loss
"marginBalance": 99.8999305281, //Margin balance = positionMargin + orderMargin + frozenFunds + availableBalance
"positionMargin": 0, //Position margin
"orderMargin": 0, //Order margin
"frozenFunds": 0, //Frozen funds
"availableBalance": 99.8999305281 //Available balance
"currency": "USDT", //currency code
"pnl":-1 //Realised profit and loss
}
}
Get Transaction History
If there are open positions, the status of the first page returned will be Pending, indicating the realized profit and loss in the current 8-hour settlement period. Please specify the minimum offset number of the current page into the offset field to turn the page.
HTTP Request
GET https://futures-api.poloniex.com/api/v1/transaction-history
Example
GET https://futures-api.poloniex.com/api/v1/transaction-history?offset=1&forward=true&maxCount=50