Skip to main content

Request Export Report

Request to export report

HTTP Request

POST /fht/compliance/tax/v3/private/create

Request Parameters

ParameterRequiredTypeComments
typetruestringReport Type
numbertruestringReport Number
startTimetruestringUNIX Time. This is in seconds. Timestamp for report start time. The StartTime is included in the Time range for the Data Export.
endTimetruestringUNIX Time. This is in seconds. Timestamp for report end time. The EndTime is not included in the Time range for the Data Export. Do note that for each request, we will only allow up to 2 months time range search from the StartTime

Response Parameters

ParameterTypeComments
queryIdstringReport 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: xxxxxxxxxxxxxx
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
}