Personal API overview

Access your financial data programmatically with the Lunch Flow REST API. Sync bank transactions, account balances, and financial information from thousands of banks worldwide.

If you'd like to build an app that accesses other users' data, check out the Platform API.

Getting started

Create an API destination

Go to your Lunch Flow dashboard and create an API destination.

Copy your API key

Find the API key in your destination settings.

Start making requests

Include the API key in every request using the x-api-key header.

Authentication

All API requests require authentication using an API key:

curl https://lunchflow.app/api/v1/accounts \
  -H "x-api-key: YOUR_API_KEY"

You can generate API keys from your Lunch Flow dashboard.

Base URL

https://lunchflow.app/api/v1

Endpoints

MethodPathDescription
GET/accountsList all connected bank accounts
GET/accounts/:id/transactionsGet transactions for an account
GET/accounts/:id/balanceGet the balance for an account
GET/accounts/:id/holdingsGet investment holdings for an account

Browse the interactive reference for each endpoint in the Accounts section of the sidebar.

Raw provider data

Every account and transaction is normalized into the same fields whichever bank data provider it came from. When you need something those fields don't carry, such as a provider's category, counterparty details or booking codes, add include_raw=true to GET /accounts or GET /accounts/:id/transactions. Each item then includes a raw object holding the unmodified data Lunch Flow received, keyed by provider:

curl "https://lunchflow.app/api/v1/accounts/123/transactions?include_raw=true" \
  -H "x-api-key: YOUR_API_KEY"
{
  "id": "tx_abc",
  "accountId": 123,
  "amount": -12.5,
  "currency": "GBP",
  "date": "2026-10-01",
  "merchant": "Coffee Shop",
  "raw": {
    "gocardless": { "transactionId": "...", "bookingDate": "2026-10-01", "...": "..." }
  }
}

The key is the provider that connected the account, not the bank. For example, an American Express card connected through GoCardless appears under gocardless. A transaction's raw is fetched along with the transaction. An account's raw is the account record Lunch Flow stored when the account was connected, so it may not reflect the bank's latest state (use /balance for current balances).

Raw data is passed through as-is. Its shape is defined by each provider and can change without notice, so prefer the normalized fields and treat anything under raw as optional. It can also contain more personal data than the normalized fields, such as account numbers and counterparty names, and makes responses considerably larger.

Support

Questions or issues? Email hello@lunchflow.app.

How is this guide?