SharkFin Subscribe Records
Frequency limit: 10c/1s (Uid)
HTTP Request
- GET /api/v2/earn/sharkfin/records
Request Example
curl "https://api.bitget.com/api/v2/earn/sharkfin/records?type=subscription" \
-H "ACCESS-KEY:you apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
coin | String | No | subscribe coin |
type | String | Yes | Transaction typesubscription subscription redemption interest interest payment |
startTime | String | No | Start timestamp (Copy trade creation time) Milliseconds format of timestamp Unix, e.g. 1597026383085 (The maximum time span supported is three months. The default end time is three months if no value is set for the end time. ) |
endTime | String | No | End timestamp (Copy trade creation time) Milliseconds format of timestamp Unix, e.g. 1597026383085 (The maximum time span supported is three months. The default start time is three months ago if no value is set for the start time. ) |
limit | String | No | Number of queries: Default: 20, maximum: 100. |
idLessThan | String | No | Separate page content before this ID is requested (older data), and the value input should be the end ID of the corresponding interface. |
Response example
{
"code": "00000",
"msg": "success",
"requestTime": 1696757048457,
"data": {
"resultList": [
{
"orderId": "1094840675029090304",
"product": "USDT/BTC_20231013",
"period": "7",
"amount": "100.00000000",
"ts": "1696756278760",
"type": "subscription"
}
],
"endId": "1094840675029090304"
}
}
Response Parameters
Parameter | Type | Description |
---|---|---|
resultList | List<Object> | record list |
> orderId | String | recordId |
> product | String | sharkfin productName |
> period | String | investment period |
> amount | String | subscribe amount |
> ts | String | Create timestamp Milliseconds format of timestamp Unix, e.g. 1597026383085 |
> type | String | Transaction typesubscription subscription redemption interest interest payment |