list_expenses
Retrieve expense records for a Splitwise account, optionally filtered by group or friend, with pagination to get complete results.
Instructions
List expenses, optionally scoped to one group or one friend.
Pass at most one of group_id/group_name or friend_id/friend_name;
with none of them set, this returns expenses across the whole account.
Results are paginated with limit/offset -- check has_more on the
returned page rather than assuming the listing is complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| group_id | No | ||
| friend_id | No | ||
| group_name | No | ||
| dated_after | No | ||
| friend_name | No | ||
| dated_before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum number of expenses requested for this page. | |
| offset | Yes | Number of expenses skipped before this page. | |
| expenses | Yes | Expenses on this page, most recent first. | |
| has_more | Yes | Whether more expenses likely exist beyond this page. True whenever this page came back full (returned count reached limit); Splitwise does not report a total count, so this is a lower bound rather than a guarantee. Fetch the next page by re-calling with offset advanced by limit. |