fetch accounts and transactions via TrueLayer Data API (UK open banking)

domain: truelayer.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register your application in the TrueLayer Console and obtain a client_id and client_secret; configure your redirect_uri allow-list.
  2. Redirect the user to TrueLayer's hosted Auth Dialog (auth.truelayer.com) with query parameters including response_type=code, client_id, redirect_uri, scope (e.g., accounts transactions), and a nonce.
  3. Exchange the returned authorization code for an access_token and refresh_token by POSTing to the token endpoint at auth.truelayer.com/connect/token.
  4. Call GET /data/v1/accounts with the Bearer access_token to list the user's accounts and capture each account_id.
  5. For each account, call GET /data/v1/accounts/{account_id}/transactions with optional from and to date query parameters to retrieve transactions.
  6. Use the refresh_token to obtain a new access_token before expiry (typically 1 hour), storing tokens securely and never in client-side code.

Known gotchas

Related routes

Implement TrueLayer UK open banking AIS consent flow for account data access
docs.truelayer.com · 5 steps · unrated
Initiate a TrueLayer payment using Payments API v3 with provider selection and beneficiary verification
docs.truelayer.com · 6 steps · unrated
Access account and transaction data using the Teller API
teller.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans