Skip to main content

Database Validation: Verifying Identities Against Official Records

Database validation checks a name, date of birth and national ID number against the authoritative record for a country. On Didit it is a pay-per-call check from $0.05 to $7.00, billed per successful service hit.

Database Validation: Verifying Identities Against Official Records

Contents

In this guide

Jump to the part you need.

Database validation is the check that proves a name, a date of birth and a national ID number exist together in the record the issuing authority holds, not just that a document looks genuine. It fits regulated onboarding, age assurance and any flow where synthetic identity fraud is the concern. Didit prices it per service, from $0.05 to $7.00 per check. The caveat: coverage, queried source and consent requirements differ by country, so read the source before you enable it.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Database Validation on Didit at a glance
ItemDetail
OutcomeA decision-grade match between the data the user gave and the record an authoritative source holds
Who it fitsRegulated onboarding, age-restricted products, marketplaces and lenders where a registry or bureau source exists for the country
PriceVariable per service, from $0.05 to $7.00 per check, published per service in the docs pricing table
Billing unitPer successful service hit, paid from prepaid credit
Where it runsAs the DATABASE_VALIDATION step in a Didit workflow, or as a standalone server-to-server call to POST /v3/database-validation/
Resultsmatch_type of full_match, partial_match or no_match, with per-field matches and warnings
Coverage60+ live countries for validation. The 1,000+ government data source figure is a platform-wide Didit number, not a per-feature count
Pairs withID Verification, Liveness, Face Match, AML Screening, Proof of Address

Start free in the sandbox at https://business.didit.me/, no sales call and no procurement cycle. If you build with an AI assistant, connect Didit through the MCP server, and see Didit pricing for the plan side of the bill. The feature reference is the Database Validation docs.

What database validation proves, and what it does not

Every response carries an aggregated match_type plus a per-field breakdown: identification_number, first_name, last_name, date_of_birth and address fields when the service uses them. The underlying record details are returned when the source makes them available. That field-level detail is what separates a real check from a yes or no box.

A stolen, genuine document number fails a registry lookup when the name or date of birth on the record does not match. A fabricated number is not in the database at all, so it cannot pass. This is the specific defence that document inspection alone cannot give you: a good forgery can still carry a plausible name and a number that belongs to nobody.

What it does not prove on its own is that the person in front of the camera is the record holder. Where the registry holds an official photograph, Didit pairs the registry hit with a biometric face match, today for Argentina through RENAPER and Panama through the Tribunal Electoral SIB and SIB Plus services. Everywhere else, run Liveness and Face Match as their own workflow steps.

A lookup form where the user types a national ID number and personal details instead of photographing a document
The typed lookup: the identifier plus the fields that country asks for, checked against the named source.

Database Validation versus non-document lookup

Didit has two routes into authoritative records and they are not the same object. Database Validation is its own feature and its own endpoint, and it takes data you already hold through the standalone API, or data auto-fed from earlier steps in the workflow. Non-document lookup is one of the three ID Verification methods, alongside document capture and digital ID wallets, and it returns the assurance tier data_match.

Database Validation also runs as a standalone workflow feature with no document capture and no ID Verification step. The fields are fed from whichever earlier steps the workflow has, such as NFC, Liveness, phone or email verification, proof of address, Document AI or a questionnaire.

The distinction matters for provenance. In most countries the source behind a lookup is a government register, such as the Department of Home Affairs in South Africa, RENAPER in Argentina, UIDAI in India or the CPR register in Denmark. In Canada, France, Indonesia, the Netherlands, Norway, Singapore, the United Kingdom and the United States the authoritative record Didit can reach is a credit-bureau, financial-services, utility or residential-records file. The exact source is named per country in the docs and on the session payload at id_lookup.source. Read it before you enable a country, because it decides what a match proves and which consent regime applies.

Prerequisites

  • A Didit account. The free plan includes $10 of credit each month for organizations that sign up with a work email, and sandbox testing is free and unlimited.
  • An API key from the Business Console, sent in the x-api-key header.
  • For workflow mode: a workflow with the DATABASE_VALIDATION feature added, and the services you want pinned for each country.
  • The data itself: issuing_state as an ISO 3166-1 alpha-3 code, identification_number, first name, last name and date of birth. The universal identification_number field maps to CPF, RUT, CURP, DNI and the rest by issuing state.
  • consent=true for any service flagged requires_consent=true in the catalog. Without it the request returns HTTP 400.
  • For Argentina (arg_renaper) and Panama (pan_sib): a selfie as JPG, PNG or WebP up to 2 MB, plus gender, for the biometric face match against the registry photo.

How to verify an identity against official records, step by step

Outcome: a recorded match decision you can defend to an auditor. Recommended method: add Database Validation as a step in a hosted Didit session when the same flow also captures a document or a selfie, and call the standalone endpoint when your system already holds the identity data.

  1. Write down the claim you must prove. "The data exists in the official record" is one claim. "The person holding the record is here now" needs a registry photo or a later Face Match step as well. That choice decides your fields and your country list.
  2. Check the service and its price for that country. Prices are set per service, not per country. Read the per-service pricing table for the exact service you plan to call.
  3. Copy an API key from the Business Console at business.didit.me.
  4. Pick a mode. Mode A is session-based: Database Validation runs as a step in a hosted flow and fields are auto-fed into the registry lookup from ID Verification, NFC, Liveness, Phone or Email Verification, Proof of Address, Document AI or a Questionnaire. An ID Verification step is not required. Mode B is the standalone server-to-server call.
  5. Mode A: add the feature to the workflow in the Business Console or through POST /v3/workflows/, and optionally pin specific services per country.
  6. Mode A: create the session with POST /v3/session/ and a body of workflow_id, vendor_data and callback, then open session.url for the user or mount the Web or Mobile SDK.
  7. Mode A: fetch the decision from GET /v3/session/{sessionId}/decision/ or subscribe to session.status.updated. The result sits in the database_validations[] array. If a configured check produced no result, read database_validation_not_performed_reason.
  8. Mode B: send the request to POST https://verification.didit.me/v3/database-validation/ as multipart form data. Omit services to run the country default, or list several to run more than one.
  9. Read match_type and validations[], then apply the policy you configured for partial and no match. Store the record details and warnings with the session for audit.

The request below is the documented Brazil CPF example, unchanged.

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"

And the documented decision call for session mode:

curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ \
  -H "x-api-key: <API_KEY>"

Expected output

The standalone call returns a request id and a single database validation object. The decision call returns the same object inside database_validations[]. The shape is:

{
  "request_id": "...",
  "database_validation": {
    "match_type": "full_match | partial_match | no_match",
    "validation_type": "...",
    "services_used": ["..."],
    "match_score": 0,
    "validations": [
      {
        "service": "...",
        "status": "...",
        "matched_fields": ["..."],
        "record_details": {}
      }
    ],
    "warnings": ["..."]
  }
}

Session status comes back as Approved, In Review or Declined, set by the partial-match and no-match actions you configured on the workflow. Warning codes on the session include DATABASE_VALIDATION_NO_MATCH, DATABASE_VALIDATION_PARTIAL_MATCH and COULD_NOT_PERFORM_DATABASE_VALIDATION. Biometric outcomes surface through the per-service outcome_code, for example BIOMETRIC_NO_MATCH.

The ID document card of a session in the Didit Business Console, showing the extracted fields used for the registry lookup
The extracted fields on the session card are what feed the registry check in session mode.

Inputs and outputs

Database Validation request and response fields
FieldDirectionNotes
issuing_stateInputISO 3166-1 alpha-3 country code, for example BRA
identification_numberInputUniversal field, mapped to CPF, RUT, CURP, DNI and the rest by issuing state
first_name, last_name, date_of_birthInputThe registry matches these per field, so send the values exactly as issued
servicesInputOmit for the country default; list ids such as bra_cpf to choose, and list several to run more than one
consentInputRequired, as true, where the catalog flags requires_consent=true
selfie, genderInputArgentina and Panama biometric services only, selfie up to 2 MB
vendor_dataInputYour stable identifier for the person
match_typeOutputfull_match, partial_match or no_match
validations[].matched_fieldsOutputWhich fields matched the record, per service
validations[].record_detailsOutputThe underlying registry record, when the source returns one
warnings[]OutputRisk codes for no match, partial match and checks that could not run
database_validations[]OutputThe same object on the session decision payload, in workflow mode

Failure cases and recovery

What goes wrong and what to do next
FailureWhat you seeRecovery
Bad requestHTTP 400: service id not eligible for that issuing_state, a missing required field, or missing consent on a pay-per-call serviceFix the payload against the per-country request fields. In console mode, the availability list only offers what the catalog supports.
Upstream source downHTTP 502 with a validation_errors[] array: every selected service failedThe request is not billed and a COULD_NOT_PERFORM_DATABASE_VALIDATION log is written. Retry later or fall back to document capture.
No matchmatch_type is no_match: the record is not in the registryTreat as a synthetic identity per your written policy, and route to review rather than declining silently when the person can correct a typo.
Partial matchmatch_type is partial_match: some fields agree, others do not, for example date of birth matches but the surname does notRoute to review with the per-field breakdown attached, so the reviewer sees which field disagreed.
Biometric mismatchThe per-service outcome_code reads BIOMETRIC_NO_MATCH for Argentina or PanamaOffer a recapture, then fall back to document capture plus Face Match.
No result recordeddatabase_validations is null on the decisionRead database_validation_not_performed_reason before assuming the check passed.
A session overview in the Didit Business Console listing its warnings
Warnings are visible on the session itself, so a reviewer sees why a check did not produce a match.

Billing is per successful service hit, and Database Validation can run in a workflow without an ID Verification step when the required identity data is available. A multi-service request can produce more than one usage event, so pinning three services for one country costs up to three times the single-service rate. Failed upstream calls that return HTTP 502 are not billed. Some no-match lookups and retries are billable, and the docs pricing page and Didit pricing list which.

Review boundaries are a configuration decision, not a default. You decide what happens on partial match and on no match, either automatically decline the session or send it to In Review. For a bank or a lender, partial match usually goes to a human. For a low-value signup, a fallback to document capture keeps conversion. Write the rule down, because the reviewer, not the model, owns the final call once a session is In Review.

Didit runs identity and fraud checks for 4,000+ companies across 220+ countries. We hold SOC 2 Type 2 and ISO/IEC 27001:2022 certification, and the platform is attested by Spain's Tesoro, Banco de España and SEPBLAC. For teams moving from another provider, the switch page covers migration.

Worked cost example

Take 1,000 completed checks in a country whose registry service is priced at the top of the practical range, Finland National ID at $2.10, and assume the same workflow also runs the full ID check.

  • Full ID check: $0.15 ID document + $0.10 passive liveness + $0.05 face match + $0.03 device and IP = $0.33 per check.
  • Database Validation: $2.10 per check.
  • Per person: $0.33 + $2.10 = $2.43.
  • 1,000 people: $2.43 x 1,000 = $2,430.00.

Now the cheap end. A country whose service is priced at $0.05, the Dominican Republic rate in the docs, with the same ID check:

  • Per person: $0.33 + $0.05 = $0.38.
  • 10,000 people: $0.38 x 10,000 = $3,800.00.

That 42x spread in the validation line alone is why you read the per-service price before you promise a client a rate card. On the Scale plan, every Didit price takes a 10% discount: the full ID check becomes $0.297 and the $0.05 validation becomes $0.045, so the cheap example falls to $0.297 + $0.045 = $0.342 per person, and 10,000 people cost $3,420.00.

A walkthrough of Didit billing, credits, auto-recharge and volume discounts
Credits, auto-recharge and plan discounts, explained for the billing side of a registry check.

Sources

Next step: open the sandbox at https://business.didit.me/, create a workflow with Database Validation enabled, and run one check against a test record. No sales call. The free plan gives $10 of credit each month for organizations that sign up with a work email, and sandbox testing is free on every plan.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is database validation in identity verification?

Database validation checks the personal data a user supplies against the record held by the authoritative source for their country, such as a national civil registry, tax authority, electoral roll, credit bureau or biometric registry. It returns a per-field match and an aggregated outcome of full_match, partial_match or no_match. It answers whether the identity exists in the official record, which is a different question from whether a document is genuine.

How much does database validation cost on Didit?

Pricing is set per service, not per country or per plan, and runs from $0.05 per check at the low end to $7.00 for the most expensive specialist sources. Finland National ID, for example, is $2.10 because that registry charges a high wholesale rate. Read the per-service pricing table in the Didit docs for the exact service you plan to call, and remember you pay only for successful service hits.

Does Didit charge when the registry has no record of the person?

Billing is per successful service hit, and some no-match lookups and retries are billable, as listed on the Didit docs pricing page. A request where every selected upstream service fails returns HTTP 502 with a validation_errors[] array, is not billed, and writes a COULD_NOT_PERFORM_DATABASE_VALIDATION log. Check the docs before you model no-match volume into a budget.

What is the difference between full_match, partial_match and no_match?

A full_match means the fields you sent agree with the record the source holds. A partial_match means some fields agree and others do not, for example the date of birth matches but the surname does not. A no_match means the record is not in the registry at all. Didit lets you configure separately whether a partial or a no match is declined automatically or sent to In Review.

Can Didit verify an identity without a document?

Yes, through the non-document lookup method in ID Verification, where the user types their national ID number and a few details instead of photographing a document. The result carries the assurance tier data_match. In some countries the source is a government register and in others it is a credit-bureau, financial-services, utility or residential-records file, so check the named source before you rely on it.

Which countries does database validation cover?

Didit runs registry checks in 60+ live countries. Didit's platform draws on 1,000+ government data sources overall, a platform-wide figure rather than a count of validation services, so read the per-service country list for what you can actually call. Coverage is not uniform: each country has its own services, required fields and price, and a few services need a selfie and gender for a biometric comparison against the registry photo.

Is database validation the same as AML screening?

No. Database validation confirms that identity data matches an official record. AML screening checks a person against sanctions and PEP lists. They answer different questions and are usually run together: Didit AML Screening is $0.20 per check, and the two features sit side by side in the same workflow and the same decision payload.

What happens when the registry is unavailable?

The standalone call returns HTTP 502 with a validation_errors[] array when every selected service fails, and the request is not billed. Retry later, or configure the workflow to fall back to document capture. In session mode, a check that produced no result leaves database_validations null and the reason in database_validation_not_performed_reason, so read that field before assuming a pass.

Do I need consent to run a database validation check?

Some services are flagged requires_consent=true in the Didit catalog, and the request must carry consent=true or it returns HTTP 400. Consent matters more than a formality here, because the source behind a lookup varies by country and that changes the regime the query runs under. The end user never sees the source name, but you should be able to explain it to a regulator.

Can a coding agent integrate database validation for me?

Yes. Didit publishes an integration prompt that a coding agent can follow end to end, including both the session mode and the standalone API. The MCP server at didit.me/developers/mcp lets an assistant work with Didit directly, and the sandbox is free so nothing needs a sales call first.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.