BBVA, CaixaBank and Bankinter API: Balances and Transactions
Connect a Spanish bank in three steps with Didit. Create a link, send the user to consent, then fetch accounts, balances and transactions. A completed read with both add-ons costs $2.44 at list price.

Contents
In this guide
Jump to the part you need.
Reading a Spanish bank from your product takes three steps with Didit's Bank data API: create a link for Spain, send the person to the hosted page, then read accounts, balances and transactions. It fits a one-time snapshot, such as a balance check before a payout. In Spain a completed sign-in is $0.79, balances $0.35 and transactions $1.30. Caveat: one-time reads of real Spanish banks are live; ongoing access can be tested in sandbox 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 you get | The accounts a person chooses to share, their balances and their transactions, read with your application API key. |
| Banks in Spain | 92 banks, including BBVA (es-bbva), CaixaBank (es-caixabank), Bankinter (es-bankinter) and Abanca (es-abanca). |
| The three steps | POST /v3/bank/links/, the hosted url, then the accounts, balances and transactions reads. |
| Price in Spain | $0.79 per completed sign-in, plus $0.35 for balances and $1.30 for transactions when requested. The later GET requests are free. |
| What is free | A link nobody completes, every read call, and the whole sandbox. |
| Availability | One-time reads of real Spanish banks are live. Ongoing access can be tested in sandbox with the Didit Test Bank, and opens country by country for live applications. |
| Access | A full-access API key, or a key whose scopes name Bank data. |
Start free in the sandbox at business.didit.me with no sales call. Developers can connect Didit to an AI assistant through MCP.
What you need before the first call
| Requirement | Detail |
|---|---|
| Plan | Any self-serve plan works. The sandbox is free on every plan. The Free plan includes $10 in monthly credit for the first organization created with an eligible work email for a company domain, Growth is $99 a month and Scale $299 a month. Enterprise is an annual contract from $15,000 a year. |
| Client | Anything that sends HTTPS requests. We document curl for every call, so each request can be copied into the language your server already uses. |
| API key | A full-access key, or a key whose custom access names Bank data: Read for the reads, Write for the calls that create, change or delete something. The account check is the exception: it needs write access to sessions, or full access. |
| Console access | A sandbox application in the Business Console, so you can test against the Didit Test Bank. |
| Country coverage | Spain is served. Check the coverage page for the current state of every country. |
Create the key in the console: open your sandbox application, go to API keys, create a named key, and copy it. Keep it on your server, because it never reaches a browser or an app. For a key with custom access, tick Bank data with Read and, if the key will create links, Write. The API keys reference lists every resource. The Bank Data API overview describes links, connections, accounts and transactions. Plans and prices are on the pricing page.
export DIDIT_API_KEY="your-sandbox-key"How to read BBVA, CaixaBank or Bankinter in three steps
For one account this walkthrough makes four API requests when the webhook provides the connection ID and the reads fit on one page: one POST to create the link, then three GETs, one each for the accounts, the balances and the transactions. The hosted page in step 2 is a step the person takes, not a request you make. If you poll the link instead of waiting for the webhook, that is one more GET.
Create the link. A link is one run of the hosted screens where a person connects a bank. Send the country and the data you want 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": "ESP", "data": ["accounts", "balances", "transactions"], "history_days": 90, "vendor_data": "client-7731" }'accessisone_time(the default) when you want a single read, andongoingwhen you want to keep reading, which today you can test in sandbox.countryis the three-letter code of the person's bank and is optional, but sendingESPmeans the person sees Spanish banks only.datalists what you are asking to read, andhistory_dayssets how far back the transactions go.Omit
institution_idto show the eligible Spanish banks for the data requested. The Spain coverage page lists 92 banks. To open one bank directly in a live application, addinstitution_idwithes-bbva,es-caixabank,es-bankinterores-abanca: the flow starts at that bank and skips the picker, and the person can still choose another bank the link allows, for example when that one is unavailable. The connection reports the bank that was actually connected.The response, shortened to the fields that matter:
{ "id": "0b9c4f1e-6a2d-4e8b-9f31-7c5d2e1a8b40", "mode": "connect", "access": "one_time", "status": "created", "url": "https://verify.didit.me/bank/link/...", "connection_id": null }Keep the link
idwith your user. Theurland theclient_tokenare returned once, when the link is created. Every write accepts anIdempotency-Key. To retry a create request idempotently, send the same key on the original request and the retry. If the country is one we do not serve, or no bank is offered there, the call answers400 country_not_available.Send the person to the returned
url. Open it in a browser, or send it by email or chat. We host the Bank Link screens. The person first sees the consent screen: who reads the data, what is shared (accounts, balances and transactions back to a date) and for how long, which for a one-time read says access ends as soon as the data is collected. Then the bank picker, unless you sentinstitution_id. The sign-in happens on the bank's own page, never inside our screens. All eligible accounts are preselected and each can be unticked, with at least one left. The last screen confirms the accounts that were shared.To bring the person back to your site, add a
redirect_urlwhen you create the link. The address is checked at creation, and in a sandbox application only alocalhostaddress works today. The return to your site page has the rules. Without it the person finishes on our result page and you learn the result from the webhook or from a read.Confirm the result on your server, never from what a browser sends you. Read the link with
GET /v3/bank/links/{id}/, or subscribe a destination to the bank events in the console:bank.link.completedarrives with thelink_idand theconnection_id, thenbank.connection.createdwhen the first sync has stored the accounts. The bank webhooks page covers the subscription.Read accounts, balances and transactions. Confirm completion on your server and use the
connection_idto list accounts. Once the first sync has stored the accounts, use the selected account'sidasACCOUNT_IDin both account-level requests. Reads never bill.curl https://verification.didit.me/v3/bank/connections/$CONNECTION_ID/accounts/ \ -H "x-api-key: $DIDIT_API_KEY" curl https://verification.didit.me/v3/bank/accounts/$ACCOUNT_ID/balances/ \ -H "x-api-key: $DIDIT_API_KEY" curl https://verification.didit.me/v3/bank/accounts/$ACCOUNT_ID/transactions/ \ -H "x-api-key: $DIDIT_API_KEY"The first call takes the
connection_idfrombank.link.completedor fromGET /v3/bank/links/{id}/and returns the accounts. The other two take an accountidfrom that list. The references are list accounts, get balances and list transactions.Check the connection's sync state before treating an empty list as final. If you use webhooks,
bank.connection.createdsignals that the first sync has stored the accounts.Lists take
limit(default 100, maximum 500). For the reads shown here, the accounts list usescursorand the date-range transaction list usespage_token. The transaction change feed uses a durablecursorandpage_tokento continue within a page. The change feed, sync runs, renewal and refresh for ongoing sandbox access are documented on the accounts, balances and transactions page and the connections page.
Objects, fields and events
The data model is one sentence: a link creates a connection, a connection has accounts, and an account has balances and transactions.
| Object | Endpoint | What you keep and why |
|---|---|---|
| Link | POST /v3/bank/links/ | id, url, expires_at. The link lives minutes to hours, then expires. |
| Connection | GET /v3/bank/connections/{id}/ | The person's permission to read one bank. It carries the consent, the sync state and the status. |
| Account | GET /v3/bank/connections/{id}/accounts/ | id, which never changes while the connection exists, and account_ref, which recognises the bank account if the same account is connected again. Key by id. |
| Balance | GET /v3/bank/accounts/{account_id}/balances/ | A typed amount of an account at a reference date, replaced at each sync. Balances are read for every account the bank shares. |
| Transaction | GET /v3/bank/accounts/{account_id}/transactions/ | One movement of an account, with an id that is stable within its connection. |
| Event | When it fires | What it carries |
|---|---|---|
bank.link.completed | The person finished the hosted flow | link_id and connection_id |
bank.connection.created | The first sync has stored the accounts | Ids only |
bank.link.failed | A final status: the link did not complete | Ids only; read GET /v3/bank/links/{id}/ for the details |
bank.link.cancelled | A final status: the link was cancelled | Ids only; read the link endpoint for the details |
bank.link.expired | A final status: the link ran past expires_at | Ids only; read the link endpoint for the details |
Events carry ids only: no names, no account numbers and no tokens.
Test it with sandbox data
Create a sandbox application, create its key, and run the same unpinned create request with that key. Nothing is charged in sandbox. Open the link, tick the consent box, pick Didit Test Bank, sign in with one of the test customers and share the accounts. The sandbox page lists the test customers and what each gives you: business accounts, a long history, pending transactions and one-time-only banks.
The sandbox is also where ongoing access can be tested today. Create the link with access: ongoing, connect the Didit Test Bank, and follow the change feed. Ongoing access with real banks is not open yet for live applications, and opens country by country.
Expected success looks like this: the link returns status: created, the hosted flow ends on a screen saying the bank data was shared, bank.link.completed arrives with a connection_id, and GET /v3/bank/connections/{id}/accounts/ returns the accounts you ticked.
| Situation | What you get | Fix |
|---|---|---|
| The country is not served, or no bank is offered there | 400 with code: country_not_available | Check the coverage page and send a served country, or omit country and let the person choose |
| The key is not allowed to read Bank data | The call is rejected before any data is returned, and nothing is billed | Use the application's full-access key, or add Bank data Read, plus Write for calls that create, change or delete |
| The person closed the tab | Check the link status on your server | Create a new link if the original link expired or was cancelled |
| The link reaches a failed final status | bank.link.failed | Read GET /v3/bank/links/{id}/ to confirm the status and check the error details before creating a replacement link |
connection_id is null | The create response | That is expected before the person finishes. Wait for bank.link.completed or read the link again |
| The accounts list is empty right after completion | An empty list | Check the connection's sync state before treating an empty list as final. If you use webhooks, bank.connection.created signals that the first sync has stored the accounts |
Every error carries code, message, request_id, field, next_action and retry_after. Branch on code, log request_id, and read next_action instead of guessing.
A new connection gets new account ids: account_ref recognises the same bank account across connections, and the documented section on recognising the same transaction after a person connects again covers how to match movements.
Disconnect and delete
Stop access with POST /v3/bank/connections/{id}/revoke/. Cancel a pending link with POST /v3/bank/links/{id}/cancel/. To remove the data, use DELETE /v3/bank/connections/{id}/: it is immediate and irreversible, and when the call returns the data is deleted. A one-time read ends itself when its read completes, and its data stays readable until consent.retain_until. Renewal, refresh, sync runs and the change feed are on the connections page.
What a one-time Spanish bank read costs
Only completed work bills. A link nobody completes is free, reads never bill, and the sandbox charges nothing. We charge $0.79 per completed Spanish bank sign-in, plus $0.35 for balances and $1.30 for transactions when requested, per the bank verification pricing. The add-ons are charged for the initial collection; the subsequent GET requests are free.

A worked example for 1,000 completed one-time reads of Spanish banks, with balances and transactions:
1,000 sign-ins x $0.79 = $790.00
1,000 balance add-ons x $0.35 = $350.00
1,000 transaction add-ons x $1.30 = $1,300.00
$790.00 + $350.00 + $1,300.00 = $2,440.00, or $2.44 per completed read.
180 links abandoned mid-flow cost 180 x $0.00 = $0.00. Growth at $99 a month takes 4% off the Didit prices, which is a usage charge of $2,440.00 x 0.96 = $2,342.40 before the monthly credit and the subscription fee. Scale at $299 a month takes 10% off, which is $2,440.00 x 0.90 = $2,196.00 in usage before the monthly credit and the subscription fee. If you only need to know that an account belongs to a name before a payout, the account check answers that with no sign-in, from $0.45 per answered check. Ongoing access prices are published with live access.
Using it from an AI assistant
There is no documented Bank Data connector for Claude or ChatGPT. If your assistant can call your server, have your server call the Bank Data REST API and keep the application API key there. Didit's separate MCP server uses OAuth, and the MCP setup page covers the connection.

Sources
- Didit docs: Spain Bank Data API, 92 banks covered
- Didit docs: Bank Data API overview
- Didit docs: Bank data API reference
- Didit docs: list accounts
- Didit docs: get balances
- Didit docs: list transactions
- Didit docs: Bank data quickstart
- Didit docs: Bank data product overview
- Didit docs: Bank Link, the hosted flow
- Didit docs: return to your site
- Didit docs: connections, renewal and refresh
- Didit docs: accounts, balances and transactions
- Didit docs: bank data sandbox and test customers
- Didit docs: bank webhooks
- Didit docs: bank coverage
- Didit docs: account check API
- Didit docs: API keys
- Didit docs: bank verification pricing
- Didit pricing page
- Didit MCP server setup
The next step is yours: open business.didit.me, create a sandbox application, and run the three steps against the Didit Test Bank. The sandbox is free, there is no sales call, and when you hold a live application key the same unpinned create request reaches a real Spanish bank for a one-time read.
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 connect to a Spanish bank account via API and pull balances and transactions?
Use Didit's Bank data API in three steps. First POST https://verification.didit.me/v3/bank/links/ with access: one_time, country: ESP and data: [accounts, balances, transactions]. Then send the person to the returned url so they sign in at their bank and choose accounts. Then read GET /v3/bank/connections/{id}/accounts/, GET /v3/bank/accounts/{account_id}/balances/ and GET /v3/bank/accounts/{account_id}/transactions/ with your API key. That is four API requests for one account when the webhook provides the connection ID and the reads fit on one page, because the hosted page is a user step and not a request you make.
Can I open BBVA, CaixaBank or Bankinter directly instead of showing the bank picker?
Yes. Add institution_id to the create call with es-bbva, es-caixabank, es-bankinter or es-abanca and the flow starts at that bank, skipping the picker. The person can still choose another bank the link allows, for example if that one is unavailable, and the connection reports the bank that was actually connected. Omit institution_id to show the eligible Spanish banks for the data requested.
How much does one Spanish bank read cost?
A completed Spanish sign-in is $0.79, the balances add-on is $0.35 and the transactions add-on is $1.30, so a full read of accounts, balances and transactions is $2.44 at list price. The add-ons are charged for the initial collection, and the later GET requests are free. Growth takes 4% off and Scale 10% off those Didit prices, and a link nobody completes costs $0.00.
Is ongoing access to Spanish banks available in production?
Not yet. One-time reads of real Spanish banks are live and open to live applications in the countries on the coverage page, and Spain is served. Ongoing access can be tested in sandbox with the Didit Test Bank, and opens country by country for live applications; ongoing prices are published with live access.
Which Spanish banks does Didit cover?
Didit covers 92 banks in Spain, including Abanca (es-abanca), Bankinter (es-bankinter), BBVA (es-bbva) and CaixaBank (es-caixabank), plus many regional savings banks. The full list with bank ids is on the Spain bank data page and through GET /v3/bank/institutions/. The Spain coverage table lists personal and business accounts for BBVA, CaixaBank, Bankinter and Abanca, and business accounts are supported bank by bank.
Do read calls cost anything, and is the sandbox free?
Reads never bill: you pay per completed bank sign-in and per add-on, not per later read of accounts, balances or transactions. The sandbox is free on every plan and nothing is charged there, including the Didit Test Bank. The Free plan also includes $10 in monthly credit for the first organization created with an eligible work email for a company domain.
How long does a bank link last, and what happens if the person abandons it?
A link lives minutes to hours and then expires, so create a fresh one if the person comes back later. The state of a link lives on Didit's servers, so closing a tab never loses a consent the person already gave. An abandoned or expired link costs $0.00.
How do I get the connection id after the person finishes?
Subscribe a destination to the bank events in the console: bank.link.completed arrives with the link_id and the connection_id, followed by bank.connection.created when the first sync has stored the accounts. You can also read GET /v3/bank/links/{id}/ on your server. Never trust a link id that a browser sends you.
How do I disconnect or delete a bank connection?
Revoke the connection with POST /v3/bank/connections/{id}/revoke/ to stop access, or delete it with DELETE /v3/bank/connections/{id}/, which is immediate and irreversible and removes its data when the call returns. A pending link can be closed with POST /v3/bank/links/{id}/cancel/.
Can I call this from Claude or ChatGPT?
There is no documented Bank Data connector for Claude or ChatGPT. If your assistant can call your server, have your server call the Bank Data REST API and keep the application API key there. Didit's separate MCP server uses OAuth.
What happens to the data after a one-time read?
A one-time connection ends itself when its read completes, and its data stays readable until consent.retain_until. You can delete it at any moment with DELETE /v3/bank/connections/{id}/, which is immediate and irreversible. The person can also withdraw consent, which stops access.
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


