Account
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-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.
longbridge statement list
longbridge statement list --type monthly
longbridge statement list --start-date 20260101 --limit 10
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
statement_type | integer | Optional | Statement type: `1` = daily (default), `2` = monthly. |
page | integer | Optional | Page number for pagination. |
page_size | integer | Optional | Number of results per page. |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
list | object[] | Optional | Daily holding history records |
└ dt | integer | Optional | Date. |
└ file_key | string | Optional | File 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.