Get Income History(USER DATA)
HTTP Request
GET /fapi/v1/income
Weight
100
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | NO | |
incomeType | STRING | NO | "TRANSFER","WELCOME_BONUS", "REALIZED_PNL","FUNDING_FEE", "COMMISSION", and "INSURANCE_CLEAR" |
startTime | LONG | NO | Timestamp in ms to get funding from INCLUSIVE. |
endTime | LONG | NO | Timestamp in ms to get funding until INCLUSIVE. |
limit | INT | NO | Default 100; max 1000 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- If
incomeType
is not sent, all kinds of flow will be returned - If
startTime
andendTime
are not sent, the most recentlimit
datas will be returned. - If the number of data between
startTime
andendTime
is larger thanlimit
, response will be return asstartTime
+limit
.
Example Response
[
{
"symbol": "",
"incomeType": "TRANSFER",
"income": "-0.37500000",
"asset": "USDT",
"info":"",
"time": 1570608000000,
},
{
"symbol": "BTCUSDT",
"incomeType": "COMMISSION",
"income": "-0.01000000",
"asset": "USDT",
"info":"",
"time": 1570636800000,
}
]