List account statements
list_statementsList monthly statement metadata for a checking or savings account to retrieve statement IDs and periods; filter by start/end dates within three months and set a result limit.
Instructions
List one account's monthly statements (metadata only) in Mercury API desc order.
Use this for statement ids and periods of a checking or savings
account; use `list_treasury_statements` for treasury accounts, which
this endpoint does not serve, and `get_statement_pdf` (when enabled)
for the document itself. Credit accounts are documented as
unsupported, though Mercury's changelog suggests credit statements may
be served; if so, only the depository fields surface. Account number
and EIN are masked to their last four; routing number, address,
download URL, and the per-statement transaction list are not returned
(`transactionCount` summarises the last). `start`/`end` may span at
most 3 months (Mercury's rule) and must be real calendar dates with
`end` not before `start`, all checked here before any request; Mercury
treats a future `end` as today.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>",
"account_id": "<account_id>"
},
"name": "list_statements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Latest statement period start, YYYY-MM-DD. | |
| limit | No | Maximum statements to return (Mercury API desc order). | |
| start | No | Earliest statement period start, YYYY-MM-DD. With `end`, at most 3 months apart. | |
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| account_id | Yes | Checking or savings account id from `list_accounts`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||