Splimio Platform · API 2026-10-27
Splimio API
Shared expenses (homes, couples, trips, events) and personal finances, for AI assistants and your own code. One set of tools, three ways in: an MCP server, a REST API described by OpenAPI 3.1, and OAuth 2.1.
Connect an AI
MCP server (Streamable HTTP): https://api.splimio.com/mcp
search and fetch tools.claude mcp add --transport http splimio https://api.splimio.com/mcpserver_url = the MCP URL and authorization = a secret key.openapi.json with a secret key.https://api.splimio.com/openapi.json. OAuth: authorization URL https://api.splimio.com/oauth/authorize, token URL https://api.splimio.com/oauth/token; or API key (Bearer).Authentication
OAuth 2.1 for apps acting for a person: authorization code with PKCE (S256), dynamic client registration (RFC 7591), discovery at https://api.splimio.com/.well-known/oauth-authorization-server and https://api.splimio.com/.well-known/oauth-protected-resource. Access tokens last one hour; refresh tokens rotate, and a reused one revokes the connection's tokens.
Confidential clients (GPT Actions, Composio, Zapier, Make): register with token_endpoint_auth_method client_secret_post or client_secret_basic; you get a client_secret once, PKCE becomes optional, and the secret is required to redeem codes and refresh or revoke tokens.
Secret keys for scripts and AIs without sign-in: Splimio › Ajustes › Conexiones › Crear clave secreta. Shown once; send it as Authorization: Bearer spl_live_…. The person can revoke any connection at any time.
| Scope | Allows |
|---|---|
groups:read | Read your groups, members, expenses, balances and monthly summaries. |
expenses:write | Add expenses to your groups, as you. |
personal:read | Read your personal finances (Lo mío): accounts, movements and monthly figures. |
curl https://api.splimio.com/v1/groups -H "Authorization: Bearer spl_live_…"
Writes accept an Idempotency-Key header (or an idempotency_key argument, also over MCP): retrying with the same key and arguments returns the first result (24 hours). Lists page with limit and starting_after = the next_cursor of the previous page. Money is always an integer in minor units with its currency, plus a formatted string. Rate limit: 120 requests per minute per connection, announced in RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (429 with Retry-After). Every response carries a Request-Id; GET /health reports the service status.
curl https://api.splimio.com/v1/expenses \
-H "Authorization: Bearer spl_live_…" \
-H "Idempotency-Key: 6f1c…" \
-H "Content-Type: application/json" \
-d '{"group_id":"…","title":"Mercadona","amount":4250}'
Tools & endpoints
Each tool is an MCP tool and, when it has a route, a REST endpoint with the same parameters.
get_account Who am I
GET /v1/account
The Splimio account behind this connection: its groups count, whether personal finances (Lo mío) are on, and what this connection may do (scopes). Call it first if unsure what is available.
No parameters.
list_groups List groups
GET /v1/groups groups:read
The groups (homes, couples, trips, events) the person belongs to, with their currency and how they settle: "monthly" groups close each month, "continuous" ones (trips) keep a running balance. Use the ids with the other tools.
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | Also archived groups (default false). |
get_group Get a group
GET /v1/groups/{group_id} groups:read
One group with its members (ids and names). Use member ids for paid_by and split_between in create_expense.
| Parameter | Type | Description |
|---|---|---|
group_id required | string (uuid) | Group id (from list_groups). |
get_balances Who owes whom in a group
GET /v1/groups/{group_id}/balances groups:read
Who owes whom in a group right now. Monthly groups: pending settlements of closed months plus a provisional preview of open months. Continuous groups (trips): the live balance. Includes the minimum transfers to settle up. Positive net = receives money, negative = pays.
| Parameter | Type | Description |
|---|---|---|
group_id required | string (uuid) | Group id (from list_groups). |
get_month_summary Spending summary of a month
GET /v1/groups/{group_id}/summary groups:read
How much a group spent in a month: total, by category, by person (paid and consumed), and what it cost the person asking. Continuous groups without month: the whole trip. Payments between people and loan installments are not spending. Call twice to compare months.
| Parameter | Type | Description |
|---|---|---|
group_id required | string (uuid) | Group id (from list_groups). |
month | string (month) | YYYY-MM; default the current month (continuous groups: everything). |
list_expenses Find expenses
GET /v1/expenses groups:read
Expenses newest first, in one group or all of them, filtered by text (title or notes), category and dates. Returns the matches (up to limit) and the total of everything found per currency. Payments between people are left out unless include_payments is true.
| Parameter | Type | Description |
|---|---|---|
group_id | string (uuid) | Only this group (default: all groups). |
query | string | Words in the title or notes (a shop, a concept). |
category | string | Built-in category id. One of: alimentacion, vivienda, suministros, limpieza, hogar, restaurantes, ocio, transporte, alojamiento, salud, mascotas, otros. |
date_from | string (date) | From this date (YYYY-MM-DD, included). |
date_to | string (date) | Up to this date (YYYY-MM-DD, included). |
include_payments | boolean | Include payments between people (default false). |
limit | integer | How many items to return (1–100, default 20). |
starting_after | string (uuid) | Cursor: the id of the last expense of the previous page (next_cursor). |
get_expense Get an expense
GET /v1/expenses/{expense_id} groups:read
One expense with how it is split between people.
| Parameter | Type | Description |
|---|---|---|
expense_id required | string (uuid) | Expense id. |
get_my_balances What I owe and am owed
GET /v1/balances groups:read
Across all active groups, person by person: who owes the person asking and whom they owe (continuous groups: the live balance; monthly groups: what is pending from closed months).
No parameters.
create_expense Add an expense
POST /v1/expenses expenses:write
Adds a confirmed expense to a group, as the person who connected. The amount is an integer in minor units of the group currency (12,50 € → 1250). By default the person asking paid and it is split equally between all active members; pass split_between to split equally between some. Confirm amount, payer and people with the user before calling. Send an Idempotency-Key header (REST) to retry safely.
| Parameter | Type | Description |
|---|---|---|
group_id required | string (uuid) | Group id (from list_groups). |
title required | string | What it was ("Mercadona", "Cena en Casa Pepe"). |
amount required | integer | Integer amount in minor units of the group currency (cents for EUR: 1250 = 12,50 €). |
date | string (date) | YYYY-MM-DD (default today in the group time zone). |
category | string | Category id: alimentacion, vivienda, suministros, limpieza, hogar, restaurantes, ocio, transporte, alojamiento, salud, mascotas, otros (default otros). |
paid_by | string (uuid) | Member id who paid (default: the person asking). |
split_between | string[] | Member ids to split equally between (default: every active member). |
notes | string | Optional notes. |
idempotency_key | string | Any unique string for this expense (a UUID). Retrying with the same key returns the first result instead of adding it twice. |
get_personal_summary Personal finances: month figures
GET /v1/personal/summary personal:read
Lo mío (personal finances, apart from groups): spending, income, refunds, money in and out and the top categories of one of the person's months. Their month may start on payday: the result has its exact dates.
| Parameter | Type | Description |
|---|---|---|
month | string (month) | YYYY-MM of the month it starts in (default: the current one). |
list_personal_accounts Personal finances: accounts
GET /v1/personal/accounts personal:read
Lo mío accounts (bank, cash, cards, savings) with their balance when known.
No parameters.
list_personal_transactions Personal finances: movements
GET /v1/personal/transactions personal:read
Lo mío movements newest first, filtered by text, account, dates and direction (in = money in, out = money out).
| Parameter | Type | Description |
|---|---|---|
query | string | Words in the description. |
account_id | string (uuid) | Only this account. |
date_from | string (date) | From this date (YYYY-MM-DD, included). |
date_to | string (date) | Up to this date (YYYY-MM-DD, included). |
direction | string | Money in or money out. One of: in, out. |
limit | integer | How many items to return (1–100, default 20). |
search Search Splimio
MCP only groups:read
Searches the person's groups and expenses by text. Returns ids to pass to fetch.
| Parameter | Type | Description |
|---|---|---|
query required | string | What to look for. |
fetch Fetch a Splimio item
MCP only groups:read
The full content of a search result (group_… or expense_… id).
| Parameter | Type | Description |
|---|---|---|
id required | string | An id returned by search. |
Errors
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "message": "…", "param": "amount", "doc_url": "…" }, "request_id": "req_…" }
401 | authentication_error: missing, invalid, expired or revoked key or token. |
403 | insufficient_scope: the connection lacks the scope. |
404 | resource_missing: not found, or not visible to this person. |
409 | period_closed, household_archived, personal_not_enabled, idempotency_key_reused… |
429 | rate_limit_error: wait Retry-After seconds. |
MCP tools return the same errors as results with isError: true, so the model can read and fix them.