splitwise_get_friend
Retrieve a specific friend's overall and per-group balances. Confirm a user ID belongs to a friend before adding an expense.
Instructions
Get one Splitwise friend with their overall and per-group balances.
Calls GET /get_friend/{id}. Renders the friend as First Last (id N), e-mail,
registration status, the overall balance per currency, the balance in each shared
group (group 0 = non-group expenses) and when the friendship last changed.
Sign convention: positive = they owe you; negative = you owe them.
When to Use:
To see how a balance with one friend splits across shared groups.
To confirm a user id belongs to a friend before using it in an expense.
When NOT to Use:
To list every friend (use
splitwise_get_friends).To turn a name into an id (use
splitwise_resolve_friend).For a user who is not a friend (use
splitwise_get_user).
Returns: Markdown: a summary block plus a "Shared groups" list. JSON: the raw friend object.
Examples:
params = {"friend_id": 4821}
params = {"friend_id": 4821, "response_format": "json"}
Error Handling: 404 means the id is not one of your friends (or does not exist); 401 means the API key is missing or revoked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |