Database Validation for Spain: Availability, Fallbacks and Pricing
Didit Database Validation compares the identity fields the selected service supports and returns an aggregate outcome with per-field evidence. Prices vary by service, and no live Spanish government-record lookup is established.

Contents
In this guide
Jump to the part you need.
Spain is a question of availability, not price. This guide is for Spanish banks, payment institutions, crypto exchanges, gambling operators and any company onboarding residents in Spain. Database Validation is priced per service and varies by country, and the documentation we can cite does not yet establish a live Spanish government-record lookup. If you need a check today, the documented fallbacks are document verification at $0.15 per check and the full ID check at $0.33.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Question | Answer |
|---|---|
| What it proves | The check compares the identity fields the selected service supports and returns an aggregate outcome and per-field evidence. Record details appear when the source exposes them. On a data-only source nothing about document authenticity is claimed. |
| How you call it | Standalone: POST https://verification.didit.me/v3/database-validation/. Or as a step inside a hosted workflow, where the decision carries database_validations[]. |
| Price | Variable and set per service, not per country. Published documentation figures run from $0.05 per check to $7.00 for the most expensive specialist sources. Read the rate for the exact service you plan to call. |
| Spanish rate | A Spanish Database Validation rate remains unverified. Confirm the service and its rate in the per-service pricing table before you forecast. |
| Billing rule | Usage is charged from prepaid credit per completed service check. A request can generate multiple usage events. Some no-match lookups and retries are billable. If every selected upstream service fails, the API returns HTTP 502 and the request is not billed. |
| Coverage | Database Validation covers 60+ live countries globally, according to the Database Validation overview. Whether Spain is one of them is a separate question to confirm in the service catalog. |
| Free start | The sandbox is free and unlimited on every plan. The Free plan adds $10 of monthly credit for the first organization created with an eligible work email for a company domain. |
Start free in the sandbox at business.didit.me with no sales call, and if you build with an AI assistant, connect Didit through https://didit.me/developers/mcp/. The Database Validation product page gives the product view of the check. The Database Validation API documentation overview covers the endpoint, the fields and the match types. See Didit pricing for module and plan prices and the per-service Database Validation pricing table for exact lookup rates.
Why a Spanish compliance team adds a registry check
A registry response can supply evidence that submitted attributes matched a particular source. For onboarding subject to Spain's Law 10/2010, assess that evidence against the identification and recordkeeping duties that apply to your entity and process.
A photographed DNI plus a selfie shows that a document was presented and that a live person stood in front of the camera. It does not on its own show that the number printed on the card is registered to that person, or that the name matches the record.
A registry lookup can flag details that do not match the source. Correctly copied details can still match. Report document validity or cancellation only if the selected service explicitly returns that status. When a lookup runs, the response gives your file something readable: which service ran, which fields matched, and what the source returned.
We serve 4,000+ companies. We are certified to ISO/IEC 27001:2022 and hold a SOC 2 Type 2 report.
What the check returns: inputs and outputs
The standalone endpoint takes identity data you already hold and returns one aggregated outcome plus a per-service breakdown.
| Field | Direction | Required | Notes |
|---|---|---|---|
issuing_state | Input | Yes | ISO 3166-1 alpha-3 code for the issuing state. Didit maps the universal identifier to the national number type for that state. |
identification_number | Input | Yes | The universal identifier field. It maps to CPF, RUT, CURP, DNI and the other national number types by issuing state. |
first_name, last_name | Input | Service-dependent | Some services compare names and report them per field. The catalog entry for the specific service is what says whether it requires them. |
date_of_birth | Input | Service-dependent | ISO date where the service uses it. Field mismatches are reported per field, for example the date of birth matches but the surname does not. |
services | Input | Optional | Omit it to run the country's default service. Pass specific service ids to choose which run, or to run more than one. |
consent | Input | Conditional | If the selected service is flagged requires_consent=true, send consent=true after obtaining the required consent. Omitting it for that service returns HTTP 400. |
selfie, gender | Input | Conditional | Extra fields for the documented portrait-backed services, Argentina arg_renaper and Panama pan_sib. The selfie accepts JPG, PNG or WebP up to 2 MB. |
vendor_data | Input | Optional | A caller-supplied reference, shown in the standalone example. The supplied standalone response does not document it being echoed back. |
match_type | Output | Always | full_match, partial_match or no_match. The aggregate outcome for the request. |
validation_type, services_used, match_score | Output | Always | What ran and how the aggregate was scored. |
validations[] | Output | Always | Per service: service, status, matched_fields and record_details when the source exposes them. |
warnings[] | Output | May be empty | Risk codes such as DATABASE_VALIDATION_NO_MATCH, DATABASE_VALIDATION_PARTIAL_MATCH and COULD_NOT_PERFORM_DATABASE_VALIDATION. |

Which source gets queried
We do not generalise provenance. For the countries Database Validation covers, the service catalog names the exact source that will be queried, because that name determines the consent regime and what you can tell a regulator.
ID Verification also has a non-document lookup method, with its own per-country source table. The Countries tab of the ID Verification node, the See details control on a lookup source, and the id_lookup.source field on the session payload all belong to that method. They are not discovery or reporting surfaces for Database Validation.
Where a lookup does run, a standalone response identifies what ran in services_used and breaks the evidence down per service in validations. A hosted Database Validation step reports through database_validations[] on the session decision.
Prerequisites
- A Didit organization. Sign up at business.didit.me, ideally with a work email so the Free plan credit applies.
- An API key from the Business Console, sent in the
x-api-keyheader. - Confirmation that the country and the service you want are live in the Database Validation service catalog. A published price does not establish production availability.
- The identity data you want to test: the identifier plus any additional fields the selected service requires, and the issuing state code.
- Consent. Send
consent=trueonly when the consent the selected service requires has actually been obtained. - A written policy for a full match, a partial match and a no match before the first real user hits it.
Method A: one server-to-server call
Use this when you already hold the data, for example from your own signup form or from a completed document step.
- Open the Business Console and copy an API key.
- Check the Database Validation service catalog for the country, and note the service id and any extra field the service needs.
- Assemble the request. Put the national identifier in
identification_numberand setissuing_stateto the ISO 3166-1 alpha-3 code for that state. - Send the request as
multipart/form-data. Leaveservicesout to run the country default, or list the service ids you want. - Read
match_typefrom the response and route it under your written policy. - Retain only the evidence your policy requires and the source terms permit. Set retention and access rules before storing personal data.
The documented request below is a Brazil CPF check. It shows the mechanics of the API: one endpoint, multipart form fields, the universal identifier field and the issuing state.
curl -X POST 'https://verification.didit.me/v3/database-validation/' \
-H "x-api-key: $DIDIT_API_KEY" \
-F "issuing_state=BRA" \
-F "identification_number=00000000191" \
-F "first_name=Jane" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-15" \
-F "vendor_data=user-1234"
The response carries request_id and a database_validation object. That object holds match_type, which is full_match, partial_match or no_match, plus validation_type, services_used, match_score, a validations[] array of service, status, matched_fields and record_details, and a warnings[] array of risk codes.
Method B: a step inside a hosted workflow
Use this when you want the lookup to run next to document capture, liveness and face match, with one decision at the end.
- Add the
DATABASE_VALIDATIONfeature to your workflow in the Business Console, or throughPOST /v3/workflows/. Optionally pin specific services per country. - Create a session with
POST /v3/session/.workflow_idis required;vendor_dataandcallbackare optional. - Send the user to
session.url, or mount the web or mobile SDK. - Fetch the decision with
GET /v3/session/{sessionId}/decision/, using an API key that holds theread:sessionsprivilege, or subscribe tosession.status.updated. - Read the
database_validations[]array on the decision payload. If it is null,database_validation_not_performed_reasonexplains why.
Fields are fed into the lookup from whatever steps sit in front of it: ID Verification, NFC, liveness, phone or email verification, proof of address, Document AI or a questionnaire. An ID Verification step is optional when earlier steps supply the fields required by the selected service.

database_validations[] on the decision payload and in the per-service matched_fields.Failure cases and how to recover
Configure your workflow's partial-match and no-match actions. Route ambiguous results according to your policy and distinguish mismatches from technical failures. A no match alone does not establish fraud.
| Signal | Response field | What it means | Billing consequence | What to do next |
|---|---|---|---|---|
| Full match | match_type = full_match | A match on every field the service evaluated. The per-service matched_fields says which fields were checked. | Charged as a completed service check. A multi-service request can produce more than one usage event. | Apply your written policy. On a data-only source a match does not prove ownership. |
| Partial match | match_type = partial_match | Some fields matched and some did not, for example the date of birth matches but the surname does not. | Charged per completed service check. Some no-match lookups and retries are billable. | Route to review under your policy. Do not auto-approve a partial match. |
| No match | match_type = no_match | No record was found for those details. | Billability depends on the service and the applicable pricing rules. | Route under your policy. A no match alone does not establish fraud. |
| Bad request | HTTP 400 | The service id is not eligible for that issuing_state, a required field is missing, or a service flagged requires_consent was called without consent=true. | No usable result is produced. | Fix the request and resend. Send consent=true only where that consent has actually been obtained. |
| Upstream failure | HTTP 502 with validation_errors[] | Every selected upstream service failed, and a COULD_NOT_PERFORM_DATABASE_VALIDATION log is written. | Not billed. | Retry later or fall back to document capture. Never record it as a no match. |
| Biometric mismatch | BIOMETRIC_NO_MATCH in a per-service outcome_code | Only for a service that checks a selfie against the photograph the source holds. | Check the billing rules for the selected service. | Route the documented biometric outcome according to your review policy. |
What you pay for, and where review begins
Usage is charged from prepaid credit per completed service check. A request can generate more than one usage event. Add the published prices for the services that produce billable checks. Some no-match lookups and retries are billable. If every selected upstream service fails, the API returns HTTP 502 and the request is not billed. At USD list prices, one billable Dominican Republic check at $0.05 and one billable Finland National ID check at $2.10 cost $2.15 across two separate requests ($0.05 + $2.10). A partial match still means some fields did not match, so route it to review under your policy instead of treating it as an approval. The billing rules are listed on the pricing page in the docs.
A workflow can route a session to In Review. Inspect the available assignment and timing fields and use decision_trace to see how the decision was made. The decision payload keeps the trail: status_override when a reviewer changed the outcome by hand, and decision_trace with decided_by set to manual, automatic or investigator. The assignment and review clock fields, assignee, waiting_since and sla_due_at, are documented as nullable and populated only while a session is In Review.

matched_fields on the decision payload.Worked cost example
A full ID check on Didit is one priced unit: ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03, which totals $0.33 per completed check.
- 10,000 completed full ID checks x $0.33 = $3,300 at USD list price. This estimate covers full ID checks only and includes no registry charges.
- Registry charges are added per service at the published rate for the service you enable. A Spanish Database Validation rate remains unverified, so this example carries no Spanish registry charge.
- The published examples and bounds are global, not Spanish. $0.05 per check is the floor, and the documented example is the Dominican Republic. $7.00 is the ceiling for the most expensive specialist sources, and Finland National ID is published at $2.10.
- Arithmetic, for method only: if a service were priced at the $0.05 floor, 10,000 checks x $0.05 = $500, and $3,300 + $500 = $3,800. Substitute the verified rate for your service before you put a number in a budget.
- Plan discounts apply to Didit prices. Growth takes 4% off, so the full ID check is $0.3168. Scale takes 10% off, so it is $0.297.
Non-document lookup, biometrics and what each check proves
Three checks produce three different kinds of evidence, and they are not substitutes for each other.
- A data-only lookup compares the fields a user submitted with a source. It says the details match a record, and it does not inspect a document.
- Document capture reads the presented document and checks it for signs of alteration or forgery. The result records the outcome of those checks. It does not say the person holding it is the person named on it.
- Face match compares a live capture with the reference the workflow provides. On its own it says the live person matches that reference.
Each ID Verification result carries an assurance tier that says what was actually proven, not how good it is:
- Documentary: a physical document was captured, read and checked for authenticity.
- Data match: the details the user gave matched a record the source holds. No document was inspected.
- Cryptographic: a digital identity provider authenticated the user and signed the attributes it shared.
Registry-photo matching runs only where a verified service supports it. In the Database Validation documentation the two portrait-backed services named are Argentina (arg_renaper) and Panama (pan_sib), which take an extra selfie and a gender field and return a biometric outcome. Do not assume a Spanish service returns a portrait until the catalog says so.
A data-only lookup also leaves a later Face Match step with nothing to compare. Without another reference, a data-only lookup leaves Face Match unable to compute a result. The editor blocks publication when every applicable path leaves no reference and all routes lead to Face Match. It warns when another permitted method can provide a reference, or when a branch can bypass Face Match.
Didit lists 1,000+ government data sources across its products, and Database Validation covers 60+ live countries globally, according to the Database Validation overview. Whether Spain is one of those live countries is a question for the service catalog, not an inference.
Sources
- Didit Database Validation product page
- Didit docs: Database Validation API overview
- Didit docs: Database Validation report
- Didit docs: Database Validation warnings
- Didit docs: Database Validation outcome codes
- Didit docs: Non-document ID verification
- Didit docs: ID Verification methods and assurance tiers
- Didit docs: Configure ID Verification methods in the console
- Didit docs: Create Session API
- Didit docs: Retrieve Session decision
- Didit docs: per-service Database Validation pricing table
- Didit docs: pricing and billing rules
- Didit pricing page
- Didit pricing as JSON (live price feed)
- Didit docs: Data Models reference, Database Validation schema
- Didit MCP server setup
- Didit integration prompt
- Ley 10/2010, de 26 de abril, de prevencion del blanqueo de capitales y de la financiacion del terrorismo (Boletin Oficial del Estado), read November 26, 2026
Next step: open the Didit sandbox with no sales call. Create a test verification session and inspect its decision. If Database Validation ran, inspect database_validations[]. Before calling the standalone Database Validation API, confirm that the selected service is available in your environment and use its documented test inputs.
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
What is database validation?
Database validation compares the identity fields the selected service supports against an authoritative source. It returns full_match, partial_match or no_match as an aggregate outcome, plus per-field evidence and the record details the source exposes. It is a check on whether the data exists at the source, not on whether a document is genuine or the person owns the record.
Does Didit run a Spanish government-record lookup today?
A live Spanish government-record lookup through Didit Database Validation remains unverified. Before building, confirm the production service ID, source, accepted identifiers, required fields and consent requirements in the service catalog. Check the per-service pricing table for the exact rate.
Does the Spanish service accept a DNI and a NIE?
DNI and NIE support for a Spanish Database Validation service is unverified here. Confirm each identifier against the exact production service entry before building a lookup flow.
Which field do I send the national ID number in?
You send it in the universal identification_number field and set issuing_state to the ISO 3166-1 alpha-3 code for the issuing state. Didit maps that field to the national number type, so the same request shape works across states. The service catalog entry for the country is what tells you the service id and any extra field it needs.
How much does a database validation cost?
It is priced per service, not per country, from $0.05 per check up to $7.00 for the most expensive specialist sources. Those are global published figures: $0.05 is the documented Dominican Republic floor, and Finland National ID is published at $2.10. Database Validation usage pricing has no monthly minimum, no platform fee and no per-seat charge; optional Didit plans carry their own monthly fees and credit allowances, listed on the pricing page. A Spanish Database Validation rate remains unverified, so read the rate for the exact service you enable from the per-service pricing table.
Does a registry match prove the person is who they claim to be?
No. A full match means the data existed at the source and matched what was submitted on the fields the service evaluated. It does not prove that the person at the keyboard owns that record, and a data match means no document was inspected. If you need to compare the person with a reference face, pair liveness with Face Match and provide a reference, such as the portrait from document capture. If the selected registry service supports biometric matching, follow its documented selfie requirements.
What is the difference between a full match, a partial match and no match?
full_match means a match on every field the service evaluated. partial_match means some matched and some did not. no_match means no record was found for those details. Read the per-service matched_fields for coverage, configure your workflow's partial-match and no-match actions, and route ambiguous results according to your policy rather than treating them as equivalent.
Can I verify someone without a document?
Yes, through the non-document lookup method in ID Verification: the user picks their country, types the identifier and any other field the source asks for, and Didit queries the source. The result carries the data match assurance tier, which means no document was inspected. Keep document capture available as a fallback if your policy needs documentary evidence as well.
What happens when the source is unavailable?
If every selected upstream service fails, the API returns HTTP 502 with validation_errors[], logs COULD_NOT_PERFORM_DATABASE_VALIDATION, and does not bill the request. Retry later or fall back to document capture. A technical failure is never recorded as a no match, and your policy should not treat the two the same.
Is database validation enough for Law 10/2010 and SEPBLAC?
A registry response can supply evidence that submitted attributes matched a particular source. It does not establish compliance on its own. For onboarding subject to Spain's Law 10/2010, assess that evidence against the identification and recordkeeping duties that apply to your entity and process.
Who reviews a partial match?
A workflow can route a session to In Review. Inspect the available assignment and timing fields, and use decision_trace to see whether a person or an automatic policy produced the status. The docs describe the assignee and review clock fields as populated only while a session is In Review.
Do I need a sales call to test this?
No. Sign up at business.didit.me, take an API key from the console, and create a test verification session in the sandbox, which is free and unlimited on every plan. Before calling the standalone Database Validation API, confirm that the selected service is available in your environment and use its documented test inputs. The Free plan adds $10 of monthly credit for the first organization created with an eligible work email for a company domain.
Can an AI coding assistant help me integrate Database Validation?
Yes. The Didit MCP server is hosted at https://mcp.didit.me/mcp with OAuth sign-in, and the setup guide is at https://didit.me/developers/mcp/. The integration prompt hands a coding agent the endpoint, fields and failure modes in one message. An assistant can scaffold the integration, but before calling the standalone Database Validation API, confirm that the selected service is available in your environment and use its documented test inputs.
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


