Skip to content

Fill History

GET /api/v1/crypto/accounts/{acc_id}/fills/history

Query historical fill records by time range. The query range must not exceed three months.

Path Parameters

ParameterTypeRequiredDescription
acc_iduint64YesAccount ID

Request Parameters

ParameterTypeLocationRequiredDescription
start_timeint64QueryYesStart time (Unix microsecond timestamp)
end_timeint64QueryYesEnd time (Unix microsecond timestamp)
page_sizeuint32QueryNoNumber of results per page. Maximum 50, default 50.
page_flagstringQueryNoPagination cursor. Omit on first request.
symbolstringQueryNoFilter by trading pair, e.g. BTCUSD

Response Parameters

FieldTypeDescription
fillslist[FillItem]Fill list
page_flagstringPagination cursor for the next request
completedbooltrue indicates all data has been returned; the client should stop paginating

Request Example

bash
curl -X GET "https://webapi.futunn.com/api/v1/crypto/accounts/123456/fills/history?start_time=1750000000000000&end_time=1750086400000000&symbol=BTCUSD" \
  -H "X-Api-Key: <AppKey>" \
  -H "X-Timestamp: <timestamp_ms>" \
  -H "X-Nonce: <nonce>" \
  -H "Authorization: <signature_base64>"

Response Example

json
{
  "code": 0,
  "msg": "success",
  "data": {
    "fills": [
      {
        "order_id": "FTHC2989880641155745280T",
        "fill_id": "FILL-001",
        "symbol_pair": { "symbol": "BTCUSD", "base": "BTC", "quote": "USD" },
        "side": "BUY",
        "quantity": "0.01",
        "price": "30000",
        "amount": "300.00",
        "fill_time": 1750000050000000
      }
    ],
    "page_flag": "",
    "completed": true
  }
}

Error Response:

json
{
  "code": 1,
  "msg": "Error Message."
}