Account

Statements

GEThttps://openapi.longbridge.com/v1/statement/list

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

Query available account statements (daily or monthly). Returns a list of statement dates and file keys that can be used with the download endpoint.

>_ CLI
longbridge statement list
longbridge statement list --type monthly
longbridge statement list --start-date 20260101 --limit 10

Request

Query parameters

NameTypeRequiredDescription
statement_typeintegerOptionalStatement type: `1` = daily (default), `2` = monthly.
pageintegerOptionalPage number for pagination.
page_sizeintegerOptionalNumber of results per page.

Response

Response properties

NameTypeRequiredDescription
listobject[]OptionalDaily holding history records
└ dtintegerOptionalDate.
└ file_keystringOptionalFile key — pass to Get Statement Download URL to obtain a download link.

Response JSON example

[
  {
    "date": "20260327",
    "file_key": "/statement_data/data/lb/1/20260327/10000104.json"
  },
  {
    "date": "20260324",
    "file_key": "/statement_data/data/lb/1/20260324/10000104.json"
  },
  {
    "date": "20260323",
    "file_key": "/statement_data/data/lb/1/20260323/10000104.json"
  }
]

Error code

See the Error Codes page for the full list of error codes.