Get Finance
get_financeMoney for a civil date range in the account timezone (max 366 days; default today): total spent and income in one display currency (the same aggregation as Dayze chat; transfers and IOU anchors left out, rows without an FX quote listed separately, never converted 1:1), plus totals by category and by currency. Optional category matches the expense category (e.g. "food"). Individual transactions are included only with the Financial details permission. ($0.05; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Optional ISO instant to read "today" at (defaults to now). | |
| to | No | Last civil day, YYYY-MM-DD, inclusive. | |
| date | No | Alias for from (one day). | |
| from | No | First civil day, YYYY-MM-DD, in the account timezone. Alone = that one day. Default: today. | |
| category | No | Optional expense category to total, matched case-insensitively (e.g. food, transport). | |
| currency | No | Optional 3-letter display currency (e.g. SGD). | |
| timezone | No | Optional IANA zone of the user's device (e.g. Asia/Singapore). Used only when the account has no zone set; the profile zone wins. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| count | Yes | ||
| totals | Yes | spent, income and counts in one display currency; unconverted rows listed apart. complete: false means the totals stopped at the row ceiling (see coverage). | |
| category | No | ||
| timezone | Yes | ||
| truncated | No | ||
| by_category | No | ||
| by_currency | No | ||
| transactions | No | ||
| transactions_note | No |