Request Export Report
Request to export report
HTTP Request
POST /fht/compliance/tax/v3/private/create
Request Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| type | true | string | Report Type |
| number | true | string | Report Number |
| startTime | true | string | UNIX Time. This is in seconds. Timestamp for report start time. The StartTime is included in the Time range for the Data Export. Query time is 00:00 UTC of the timestamp accurate to the day. |
| endTime | true | string | UNIX Time. This is in seconds. Timestamp for report end time. The EndTime is not included in the Time range for the Data Export. Query time is 00:00 UTC of the timestamp accurate to the day. Do note that for each request, we will only allow up to 2 months (60 days) time range search from the StartTime |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| queryId | string | Report Request ID |
Request Example
POST /fht/compliance/tax/v3/private/create HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN-TYPE: 2
X-BAPI-SIGN: xxxxxxxxxxxxxx
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1671183681683
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
{"startTime":"1667264621","endTime":"1669261057","type":"TRADE","number":"2"}
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"queryId": "12312312415325325"
},
"retExtInfo": {},
"time": 1671183681990
}