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

ChatGPTSettings › Apps › Create. Paste the MCP URL and sign in with Splimio. Deep research uses the search and fetch tools.
ClaudeSettings › Connectors › Add custom connector, paste the MCP URL and sign in. Claude Code: claude mcp add --transport http splimio https://api.splimio.com/mcp
Grok (xAI API)A remote MCP tool with server_url = the MCP URL and authorization = a secret key.
Composio · Executor · n8n · CursorAdd a custom MCP server with the URL (OAuth is discovered automatically), or import openapi.json with a secret key.
GPT ActionsImport 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.

ScopeAllows
groups:readRead your groups, members, expenses, balances and monthly summaries.
expenses:writeAdd expenses to your groups, as you.
personal:readRead 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.

ParameterTypeDescription
include_archivedbooleanAlso 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.

ParameterTypeDescription
group_id requiredstring (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.

ParameterTypeDescription
group_id requiredstring (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.

ParameterTypeDescription
group_id requiredstring (uuid)Group id (from list_groups).
monthstring (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.

ParameterTypeDescription
group_idstring (uuid)Only this group (default: all groups).
querystringWords in the title or notes (a shop, a concept).
categorystringBuilt-in category id. One of: alimentacion, vivienda, suministros, limpieza, hogar, restaurantes, ocio, transporte, alojamiento, salud, mascotas, otros.
date_fromstring (date)From this date (YYYY-MM-DD, included).
date_tostring (date)Up to this date (YYYY-MM-DD, included).
include_paymentsbooleanInclude payments between people (default false).
limitintegerHow many items to return (1–100, default 20).
starting_afterstring (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.

ParameterTypeDescription
expense_id requiredstring (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.

ParameterTypeDescription
group_id requiredstring (uuid)Group id (from list_groups).
title requiredstringWhat it was ("Mercadona", "Cena en Casa Pepe").
amount requiredintegerInteger amount in minor units of the group currency (cents for EUR: 1250 = 12,50 €).
datestring (date)YYYY-MM-DD (default today in the group time zone).
categorystringCategory id: alimentacion, vivienda, suministros, limpieza, hogar, restaurantes, ocio, transporte, alojamiento, salud, mascotas, otros (default otros).
paid_bystring (uuid)Member id who paid (default: the person asking).
split_betweenstring[]Member ids to split equally between (default: every active member).
notesstringOptional notes.
idempotency_keystringAny 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.

ParameterTypeDescription
monthstring (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).

ParameterTypeDescription
querystringWords in the description.
account_idstring (uuid)Only this account.
date_fromstring (date)From this date (YYYY-MM-DD, included).
date_tostring (date)Up to this date (YYYY-MM-DD, included).
directionstringMoney in or money out. One of: in, out.
limitintegerHow many items to return (1–100, default 20).

fetch Fetch a Splimio item

MCP only groups:read

The full content of a search result (group_… or expense_… id).

ParameterTypeDescription
id requiredstringAn id returned by search.

Errors

{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "message": "…", "param": "amount", "doc_url": "…" }, "request_id": "req_…" }
401authentication_error: missing, invalid, expired or revoked key or token.
403insufficient_scope: the connection lacks the scope.
404resource_missing: not found, or not visible to this person.
409period_closed, household_archived, personal_not_enabled, idempotency_key_reused…
429rate_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.