list_statements
Retrieve monthly statement metadata for a Mercury checking or savings account, including statement IDs and periods, to locate documents before downloading PDFs.
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.
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 | |||