Didit API: Read UK Accounts, Balances and Transactions
Create a Didit Bank Link for a one-time read from 122 UK banks. Send the account holder to the returned URL, confirm completion on your server, then fetch the shared accounts, balances and transactions.

Contents
In this guide
Jump to the part you need.
This guide shows how to read accounts, balances and transactions from 122 UK banks with the Didit Bank Data API. It fits teams whose onboarding needs a one-time snapshot of a UK bank account, and the sandbox costs nothing. In the UK a completed sign-in costs $0.79, with balances at $0.35 and transactions at $1.30. The caveat: reads of real banks are one time, and ongoing access is sandbox only with the Didit Test Bank.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Question | Answer |
|---|---|
| What it is | A hosted Bank Link where the person consents and signs in at their bank, plus REST reads of the connection's accounts, balances and transactions |
| UK price | $0.79 per completed bank sign-in, plus the balances add-on at $0.35 and the transactions add-on at $1.30, billed as separate lines |
| UK coverage | 122 banks, each with a bank id such as gb-barclays |
| Access today | One-time reads of real banks for live applications; ongoing access in sandbox with the Didit Test Bank |
| Sandbox | Free, $0 charged for every call |
| Are follow-up GET requests billed? | No. Follow-up GET requests never bill, and a link nobody completes is free |
| Authentication | x-api-key header, full access or a key whose scopes name Bank data |
| Base URL | https://verification.didit.me/v3/ |
Start free in the sandbox at business.didit.me, with no sales call. If you work with an AI assistant, the MCP setup for developers is at didit.me/developers/mcp. The endpoint and field reference is on the Bank data API reference.
What this API gives you, and the method we recommend
The Bank data API has two halves. Bank Link is the hosted flow where the person consents, picks their bank, signs in on the bank's own page and chooses which accounts to share. We host the consent, bank selection and account selection screens, and the bank's own page handles the sign-in. The reads are ordinary REST calls your server makes with your API key: the connection's accounts, each account's balances and each account's transactions, plus a change feed and webhooks for the link's final status.
For a UK read we recommend one link with one_time access, country set to GBR, and accounts, balances and transactions requested together. Send the person to the returned url, confirm the result on your server, then read. Do not build your own bank picker or consent screen: the hosted flow carries both, and we cover 122 UK banks behind it. Only add institution_id when you want to open one named bank directly.
Prerequisites
- A Didit organization and a sandbox application, created in the Business Console.
- An API key with full access, or a custom key whose scopes name Bank data: Read for the GET requests, and Write for the calls that create or delete resources. Every operation on this page except the account check needs that access.
- A server. The API key never reaches a browser or an app, so every call on this page runs server side.
- A registered return address if you want the person to land back on your site: Bank verification, Settings, Bank Link, Return addresses. A sandbox application also accepts a plain
httplocalhost address without registration. - For real UK bank data, a live application. One-time reads of real banks are open in the countries on the coverage page, and the United Kingdom is one of them.
Step by step: read a UK account, its balances and its transactions
Step 1: create the link for a live UK bank
Send the person's country so they see only UK banks, and ask for the three data types you intend to read.
curl -X POST https://verification.didit.me/v3/bank/links/ \
-H "x-api-key: $DIDIT_API_KEY" \
-H "content-type: application/json" \
-d '{
"access": "one_time",
"country": "GBR",
"data": ["accounts", "balances", "transactions"]
}'
Add history_days to set how far back the read goes, redirect_url to bring the person back to your page, and vendor_data for your own reference. Every write accepts an Idempotency-Key header. A country the product does not serve answers 400 with the code country_not_available.
To run the same call in the sandbox, change country to ESP and pick the Didit Test Bank at step 3. Nothing is charged there.
Step 2: store the link ID and open the URL
{
"id": "0b9c4f1e-6a2d-4e8b-9f31-7c5d2e1a8b40",
"mode": "connect",
"access": "one_time",
"status": "created",
"url": "https://verify.didit.me/bank/link/...",
"expires_at": "2026-11-22T13:00:00Z",
"connection_id": null
}
Keep the id with your user record. That is the value you substitute in GET /v3/bank/links/{id}/ at step 4. The url and the client_token are returned once, when the link is created, so store what you need at that moment. Open the url exactly as it is, as a redirect or in a message: the hosted page works at its own address only, and a copy on your domain cannot finish. The link expires in 60 minutes by default, and expires_in moves that between 5 minutes and 24 hours.
Step 3: the person consents and connects their bank
The standard hosted flow shows consent, bank selection, account selection and a result. The person signs in on the bank's own page, between the picker and the account selection. The consent screen states who reads the data, what is shared and for how long, and a one-time read says that access ends as soon as the data is collected. Every eligible account is preselected and at least one stays ticked.
To start at one named UK bank, add institution_id from the bank table further down:
{
"access": "one_time",
"country": "GBR",
"institution_id": "gb-barclays",
"data": ["accounts", "balances", "transactions"]
}
A preset institution_id skips the picker. The person can still choose another bank the link allows, for example when that one is unavailable, and the connection reports the bank that was actually connected.
Step 4: confirm the link on your server
Subscribe a webhook destination to the bank.* events. bank.link.completed arrives with link_id and connection_id. Never trust a link id that a browser sends you. Read the link yourself, with the id you stored at step 2:
curl https://verification.didit.me/v3/bank/links/{id}/ \
-H "x-api-key: $DIDIT_API_KEY"
Use bank.link.completed to confirm the link result. The read answers status: completed with the connection_id, or a final failure with an error.code. If you drive the integration with webhooks, wait for bank.connection.created before reading accounts. That event follows the first sync that stores them.
Step 5: read the accounts
Substitute the connection_id from the link read in place of {id}:
curl "https://verification.didit.me/v3/bank/connections/{id}/accounts/?limit=100" \
-H "x-api-key: $DIDIT_API_KEY"
You get the accounts the person chose to share, not every account they hold. Lists take limit (default 100, maximum 500) and continue with cursor. GET /v3/bank/accounts/{account_id}/ returns a single account. Take one account id from this list for the next two steps.
Step 6: read balances
curl https://verification.didit.me/v3/bank/accounts/{account_id}/balances/ \
-H "x-api-key: $DIDIT_API_KEY"
Balances are read for every account the bank shares. Call it once per account id from step 5.
Step 7: read transactions
curl "https://verification.didit.me/v3/bank/accounts/{account_id}/transactions/?limit=500" \
-H "x-api-key: $DIDIT_API_KEY"
The date-range read takes the range in the query string, and the transactions reference lists the exact query parameters for it. Pass the page_token that comes back to fetch the next page.
In a sandbox application with the Didit Test Bank you can also try the change feed, GET /v3/bank/connections/{id}/transactions/sync/. It takes a durable cursor and continues a page with page_token. Sync history for a connection is on GET /v3/bank/connections/{id}/sync-runs/.
Optional: delete the stored connection data
A one-time connection closes itself once its read completes, and its data stays readable until consent.retain_until. You do not have to delete anything to close it. If you want the stored data gone sooner, DELETE /v3/bank/connections/{id}/ removes it immediately and irreversibly: when the call returns, its data is deleted. Use the connection_id from step 4.
curl -X DELETE https://verification.didit.me/v3/bank/connections/{id}/ \
-H "x-api-key: $DIDIT_API_KEY"
Optional: return the person to your site with redirect_url
curl -X POST https://verification.didit.me/v3/bank/links/ \
-H "x-api-key: $DIDIT_API_KEY" -H "content-type: application/json" \
-d '{
"access": "one_time",
"country": "ESP",
"redirect_url": "http://localhost:3000/bank/return",
"vendor_data": "client-7731"
}'
In a sandbox application a plain http address on localhost, 127.0.0.1 or [::1] works without registration. A live link needs a registered https address, and redirect_url must match it exactly, never a prefix and never a host. When the link completes, the browser goes to that address with link_id, status and a signed state. Those parameters are for display only: the webhook and GET /v3/bank/links/{id}/ are the authority.
Expected output
Creating the link returns the object shown in step 2: an id to store, a url to open, an expires_at, and connection_id still null. After a successful connection, the link read returns status: completed and a connection_id. For failed, cancelled or expired links, handle the final status before making data reads. The accounts read returns the accounts they ticked on the selection screen, the balances read returns balances for each of those accounts, and the transactions read returns the transactions in the window you asked for, paged by limit and page_token.
Errors share one shape across the API: code, message, request_id, field, next_action and retry_after. Branch on code, log request_id, and use next_action to decide whether to retry. Follow-up GET requests are free.
Inputs and outputs
| Field | Sent where | Required | What it does |
|---|---|---|---|
x-api-key | header | Yes | Authenticates the call. Full access, or a key whose scopes name Bank data |
access | body | No, defaults to one_time | one_time ends the connection when its read completes |
country | body | Optional | Three-letter country of the person's bank. GBR shows only UK banks |
data | body | Included in this example | The array explicitly requests accounts, balances and transactions. The documented sandbox redirect example omits it |
institution_id | body | Optional | Opens one named bank directly, for example gb-barclays |
history_days | body | Optional | How far back the transaction read goes |
redirect_url | body | Optional | Returns the person to a registered address after the flow, or to a localhost address in sandbox |
vendor_data | body | Optional | Your own reference, carried through the link |
expires_in | body | Optional | Link lifetime from 5 minutes to 24 hours, 60 minutes by default |
url, client_token | response | Read only | Returned once, when the link is created. Keep the url from that moment |
id | response | Read only | The link id to store with your user, and the value you read the link by |
expires_at | response | Read only | The link's expiry timestamp |
connection_id | response and webhook | Read only | The connection you read accounts from once the link completes |
Failure cases and recovery
- 400 with
country_not_available. The country is not served, or no bank is offered there. Check the three-letter spelling and the coverage page. - 400 with
redirect_url_not_registered.redirect_urlmust match a registered address exactly, never a prefix and never a host. Register the address, or use a localhost address in sandbox. expired. The link ran out of its window and the webhook isbank.link.expired. Create a new link, because theurlis only returned at creation.- Cancelled or failed. Handle
bank.link.cancelledandbank.link.failedas final outcomes. Read the stored link withGET /v3/bank/links/{id}/for the failure'serror.code. A link nobody completes is free. - Missing Bank data scope. A key created with custom access reads Bank data only when its scopes name Bank data. The account check is the exception: it needs write access to sessions, or full access.
- Ongoing access on a live application. Not open yet for real banks. Use
one_time, and testongoingin a sandbox application with the Didit Test Bank. - Transient errors. Read
retry_afterand retry after that delay, with the sameIdempotency-Keyon a write.
Which UK banks are supported
We cover 122 banks in the United Kingdom, personal and business, each with a bank id you can pass as institution_id. Business accounts are supported bank by bank, which is why the list separates, for example, Barclays from Barclays Business and Barclays Corporate. These rows are a sample from the United Kingdom bank list, which carries all 122 with accounts and access per bank.
| Bank | Bank id | Accounts | Access |
|---|---|---|---|
| ABN AMRO | gb-abn-amro | Personal and business | One time |
| Airwallex | gb-airwallex | Personal and business | One time |
| American Express | gb-american-express | Personal and business | One time |
| Bank of Scotland | gb-bank-of-scotland | Personal | One time |
| Bank of Scotland Business | gb-bank-of-scotland-business | Business | One time |
| Barclaycard | gb-barclaycard | Personal and business | One time |
| Barclays | gb-barclays | Personal | One time |
| Barclays Business | gb-barclays-business | Business | One time |
| Chase UK | gb-chase-uk | Personal | One time |
| Co-operative Bank | gb-co-operative-bank | Business | One time |
| Coutts | gb-coutts | Personal and business | One time |
| First Direct | gb-first-direct | Personal | One time |
| Handelsbanken Corporate | gb-handelsbanken-corporate | Business | One time |
Use GET /v3/bank/institutions/ to list institutions, GET /v3/bank/institutions/{id}/ to look up one institution and GET /v3/bank/coverage/ to check coverage, so the list stays current in code rather than in a hardcoded array. If you only need to confirm that an account belongs to a name you already hold, the account check at POST /v3/bank/account-check/ skips the sign-in entirely and is priced from $0.45 per answered check.
UK bank data pricing and retention
Everything in this guide is pay as you go, from prepaid credit, at published unit prices. In the UK a completed one-time read is the sign-in at $0.79 plus the balances add-on at $0.35 and the transactions add-on at $1.30. A link nobody completes is free, follow-up GET requests never bill, and every sandbox call is $0. You can use Bank Data without an annual contract. See the UK bank data rates for the sign-in and add-on prices. See Didit pricing for plans and billing terms.
A one-time read ends its connection as soon as the data is collected, and the data stays readable until consent.retain_until. Deleting a connection wipes it when the call returns. Bank Link webhook events carry IDs only.

Worked cost example
One completed one-time read of a UK bank, with accounts, balances and transactions requested together, at list prices. The $0.79 is the completed sign-in price and $0.35 and $1.30 are the balances and transactions add-ons:
$0.79 (bank sign-in) + $0.35 (balances add-on) + $1.30 (transactions add-on) = $2.44 per completed read
For 1,000 completed reads in a month: 1,000 x $2.44 = $2,440.00. Any link that is abandoned, cancelled or expired adds $0.00. A balances-only read is $0.79 + $0.35 = $1.14, and a transactions-only read is $0.79 + $1.30 = $2.09.
Those totals are usage at the published list rates before any plan credit. Growth takes 4% off every Didit price, so the full example becomes $2.3424 per read, and Scale takes 10%, so it becomes $2.1960. Plan credit is added every month and does not roll over, and the sandbox is free on every plan.

Sources
- Didit docs: Bank Data API reference
- Didit docs: Bank data quickstart
- Didit docs: United Kingdom bank data, 122 banks covered
- Didit docs: Bank data overview
- Didit docs: Bank Link
- Didit docs: Hosted Bank Link
- Didit docs: Return to your site, redirect URL
- Didit docs: list transactions
- Didit docs: Bank verification coverage
- Didit docs: Bank verification pricing
- Didit pricing page and cost estimator
- Didit MCP server setup
Next step: open business.didit.me, create a sandbox application and an API key, then follow the bank data quickstart with country set to ESP against the Didit Test Bank. The GBR request in step 1 is the live UK example. No sales call, and nothing is charged in sandbox.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
How do I read UK bank accounts, balances and transactions with the Didit API?
Create a Bank Link with POST https://verification.didit.me/v3/bank/links/, sending "access": "one_time", "country": "GBR" and "data": ["accounts", "balances", "transactions"]. Send the person to the returned url, confirm the link with GET /v3/bank/links/{id}/ or the bank.link.completed webhook, then read /v3/bank/connections/{id}/accounts/, /v3/bank/accounts/{account_id}/balances/ and /v3/bank/accounts/{account_id}/transactions/.
What does one UK bank data read cost on Didit?
In the UK a completed one-time read costs $0.79 for the bank sign-in, with balances at $0.35 and transactions at $1.30 as separate add-ons, so $2.44 when you ask for all three. A link nobody completes is free and follow-up GET requests never bill. The sandbox charges $0 for every call.
Which UK banks does the Didit Bank Data API support?
122 banks in the United Kingdom, listed by name and bank id on the UK bank list page. The list separates personal from business where a bank does, for example gb-barclays for personal and gb-barclays-business for business. You can also pull the list live from GET /v3/bank/institutions/.
Do I have to send the person to a Didit hosted page?
Yes for the connection step. Bank Link hosts the consent screen, the bank picker, the account selection and the handoff to the bank's own sign-in page, which cannot run inside a frame. Open the returned url exactly as it is and do not proxy or re-host it on your domain. If you want people to stay on your site, embed the link with the Bank Link SDK after adding your site to Allowed origins, or send them back with redirect_url.
Can I keep reading a UK bank's transactions every day?
Not with real banks yet. Ongoing access is available for sandbox applications with the Didit Test Bank and opens country by country, while one-time reads of real banks are already open to live applications in the covered countries. With one_time access the connection ends itself when its read completes and its data stays readable until consent.retain_until.
How do I open one specific UK bank instead of the picker?
Add institution_id to the create call with the bank's id from the UK list, for example gb-barclays-business. The link starts at that bank and skips the picker, though the person can still choose another bank the link allows if that one is unavailable. The connection reports the bank that was actually connected.
How do I test UK bank data without a real bank account?
Use a sandbox application and the Didit Test Bank, with country set to ESP as in the documented quickstart. The sandbox lists test customers and what each gives you, and nothing is charged. The full path from key to accounts, balances, transactions and delete is in the quickstart.
Do reads of accounts, balances and transactions cost money?
No. Follow-up GET requests for accounts, balances and transactions are free. The completed bank sign-in and any requested data add-ons are billed separately, so in the UK that is $0.79 for the sign-in plus $0.35 for balances and $1.30 for transactions. The standalone account check is a separate charge, from $0.45 per answered check.
What errors should I handle in a UK bank read integration?
Branch on the code field: country_not_available and redirect_url_not_registered are 400-level setup mistakes, and link outcomes arrive as bank.link.completed, bank.link.failed, bank.link.cancelled or bank.link.expired. Every error also carries message, request_id, field, next_action and retry_after. Log request_id and retry after retry_after when it is present.
How long does one-time UK bank data stay readable, and what happens if I delete the connection?
A one-time connection ends itself once its read completes, and the data stays readable until consent.retain_until. If your application deletes the connection with DELETE /v3/bank/connections/{id}/, the data is removed immediately and irreversibly, so the call returning means the data is gone. Webhook events carry ids only, never names, account numbers or tokens.
Can I use Didit bank data from an AI assistant or coding agent?
A coding agent can implement UK bank data access using the documented Didit REST endpoints. Keep the application API key on your server. For the documented Didit MCP tools, see the MCP setup guide.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


