Logotipo de Didit Database Validation

Didit Database Validation

Organización
didit-protocol
didit-database-validation

Integrate the Didit Database Validation API (POST /v3/database-validation/) to check identity data against government and authoritative registries. Use when the user wants to validate a national ID, CPF, CURP, DNI, RUT or cedula number against official records, confirm a person's name and date of birth with a civil registry, run a registry face match (Argentina RENAPER, Panama SIB), choose database validation services per country, or implement government database lookups using Didit. Covers 100+ services in 45 countries (strongest in Latin America, plus Spain, South Africa, Kenya and other markets) with per-service pricing and per-field match results.

Descripción general

Editordidit-protocol
Repositorioskills
Nombre de la habilidaddidit-database-validation
Estrellas
28
Forks
6
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 1 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por didit-protocol en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Didit Database Validation en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/didit-protocol/skills/tree/main/skills/didit-database-validation
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/didit-protocol/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/didit-database-validation .claude/skills/didit-database-validation
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Didit Database Validation en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Didit Database Validation automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Didit Database Validation no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Didit Database Validation API

Overview

Verifies personal data against the authoritative source for a country (civil registry, tax authority, electoral roll or biometric registry) and returns a per-field comparison, a per-service outcome code and the registry record. Use it to catch synthetic identities and ID numbers that do not belong to the person.

Pricing: per service, from $0.05 (Dominican Republic dom_cedula) to $7.00 per query; most Latin American national ID services are $0.20 (billed once per service the registry answered, including no-match and not-found answers; 400 rejections and services the source never answered are free; standalone calls have no free tier). These are the list prices until 1 November 2026, when Didit pricing changes and the 500 free checks a month become $10 of free credit a month. Check didit.me/pricing for current prices.

Key constraints:

  • issuing_state is ISO 3166-1 alpha-3 (BRA, PER, ARG). Alpha-2 codes (BR) return 400 "Invalid issuing state".
  • Each country exposes one or more services (service_id). Without services, exactly one default service runs. Spain, Kenya, Zambia and most non-Latin-American services have no default: name them in services.
  • Required fields depend on the selected services. Missing or malformed fields return 400 before any registry call (never billed).
  • Send JSON, or multipart/form-data when a service needs a selfie (Argentina arg_renaper, Panama pan_cedula_sib, other biometric services).
  • Results per field: full_match, partial_match, no_match. Overall status: Approved, Declined or In Review.

Coverage: the public catalog listed 123 live services in 45 countries plus a global (GLB) group on 2026-10-12: 17 Latin American countries, Spain, South Africa, Kenya, Zambia, Nigeria and identity, credit, residential and phone datasets in Europe, North America and Asia-Pacific. Read the live list (no API key needed):

GET https://verification.didit.me/v1/organization/database-validation-countries/

It returns { "<ISO3>": { "country_iso3", "country_name", "region", "services": [ { "service_id", "service_name", "coverage", "default_price_usd", "required_fields", "requires_any_fields", "optional_fields", "requires_consent", "requires_onboarding", "supports_selfie", ... } ] } }. Services with requires_onboarding: true return 400 until Didit support activates them for your organization.

API Reference: https://docs.didit.me/standalone-apis/database-validation Feature Guide: https://docs.didit.me/core-technology/database-validation/overview Supported Countries: https://docs.didit.me/core-technology/database-validation/database-validation-supported-countries Prices per service: https://docs.didit.me/getting-started/database-validation-pricing


Authentication

Every request needs the x-api-key header. Use your application's API key from the Didit Business Console under Developers > API keys, or create an account and key programmatically (see Getting Started). Named keys with custom access need Sessions write to run standalone checks; a key limited to some workflows or to approved sessions cannot run them.

Getting Started (No Account Yet?)

If you don't have a Didit API key, create one in 2 API calls:

  1. Register: POST https://apx.didit.me/auth/v2/programmatic/register/ with {"email": "you@yourdomain.com", "password": "MyStr0ng!Pass"}
  2. Check email for a 6-character verification code
  3. Verify: POST https://apx.didit.me/auth/v2/programmatic/verify-email/ with {"email": "you@yourdomain.com", "code": "A3K9F2"}. The key is in the response at application.api_key.

To add credits: GET /v3/billing/balance/ to check, POST /v3/billing/top-up/ with {"amount_in_dollars": 50} for a Stripe checkout link.

See the didit-verification-management skill for full platform management (workflows, sessions, users, billing).


Endpoint

POST https://verification.didit.me/v3/database-validation/

Headers

HeaderValueRequired
x-api-keyYour API keyYes
Content-Typeapplication/json, or multipart/form-data when sending selfieYes

Body

ParameterTypeRequiredDescription
issuing_statestringYesISO 3166-1 alpha-3 country of the registry (BRA, ESP, COL)
servicesarray of stringsNoservice_ids to run (e.g. ["bra_cpf"]); a comma-separated or JSON-encoded string is also accepted. Omitted or empty: exactly one default service runs (see table). Sending it adds services_used and match_score to the response. Each id must be live for issuing_state
identification_numberstringNoShortcut that fills the country's number field (see table) for ARG, BOL, BRA, CHL, COL, CRI, DOM, ECU, GTM, HND, MEX, PAN, PER, PRY, SLV, URY, VEN. Never overrides an explicit field; ignored for other countries
document_numberstringDependsNumber field for ARG, BOL, GTM, HND, PRY, SLV, VEN
personal_numberstringDependsNumber field for CHL, COL, CRI, DOM, ECU, MEX, PAN, PER, URY
tax_numberstringDependsNumber field for BRA (CPF)
national_idstringDependsNational ID number for services in KEN, ZMB, ZAF and other markets; optional for ESP esp_dni
first_name / last_namestringDependsNames to compare; required by some services
middle_name / full_namestringNoUsed by some services (full_name instead of first/last for some)
date_of_birthstringDependsYYYY-MM-DD
date_of_issuestringDependsDocument issue date YYYY-MM-DD; required by COL col_cedula
expiration_datestringNoDocument expiry date YYYY-MM-DD
document_typestringNoP, DL, ID, RP, SSC, HIC, WP, TC, VISA, PSC, BC, OTHER
genderstringDependsM, F or X; required by arg_renaper and arg_renaper_data
nationalitystringDependsISO 3166-1 alpha-3; required by COL col_migracion
addressobject or stringDepends{"street_1", "street_2", "city", "region", "postal_code", "country"} or one complete line. Required by address services (ESP esp_dni needs at least street and postal code)
address_element_1 to address_element_5, postal_codestringNoAddress parts sent separately: street, unit, city/locality, state/region, postal code (postal_code is an alias of element 5)
selfiefileDependsMultipart only. jpg, jpeg, png, webp, max 2 MB. Required by biometric services
consentbooleanDependsDefault false. Must be true for services with requires_consent (e.g. esp_dni); otherwise 400 with services_requiring_consent
partial_match_actionstringNoDECLINE or NO_ACTION (default NO_ACTION: partial match stays Approved)
no_match_actionstringNoDECLINE (default) or NO_ACTION
save_api_requestbooleanNoDefault true: stored as a session (Business Console, GET /v3/session/{sessionId}/decision/ with request_id, status.updated webhook) and validations is a per-service array. false: nothing stored, validations is one merged field map
vendor_datastringNoYour identifier for the user, echoed back
metadataobjectNoFree-form JSON stored and echoed back
validation_typestringNoDeprecated and ignored

Other identifiers used by specific services: passport_number, passport_expiration_date, passport_issue_country, passport_file_number, driver_license_number, driver_license_card_number, driver_license_state, driver_license_version, medicare_card_number, immi_card_number, immi_card_expiry_date, citizenship_certificate_number, birth_registration_number, birth_registration_date, birth_registration_state, marriage_certificate_number, change_of_name_certificate_number, first_partner_name, last_partner_name, voter_id, epic_card, pan, cic, identificador_ciudadano, ocr, voter_number, emission_number, bvn, bank_card_number, ssn, phone, landline, email, country_of_residence. The catalog's required_fields / requires_any_fields say which a service needs.

Sandbox: sandbox API keys skip the registry calls and billing and return a fixed full_match response (it always includes services_used and match_score: 100, so do not test the live response shape against it).

Example

python
import requests

response = requests.post(
    "https://verification.didit.me/v3/database-validation/",
    headers={"x-api-key": "YOUR_API_KEY"},
    json={
        "issuing_state": "BRA",
        "services": ["bra_cpf"],
        "tax_number": "12345678900",
        "date_of_birth": "1980-01-01",
        "first_name": "John",
        "last_name": "Doe",
        "vendor_data": "user-1234",
    },
    timeout=60,
)
print(response.status_code, response.json())
typescript
// Biometric service: multipart with a selfie (Argentina RENAPER)
const form = new FormData();
form.append("issuing_state", "ARG");
form.append("services", "arg_renaper");
form.append("document_number", "12345678");
form.append("gender", "F");
form.append("first_name", "Jane");
form.append("last_name", "Doe");
form.append("selfie", selfieFile); // jpg/jpeg/png/webp, max 2 MB

const response = await fetch("https://verification.didit.me/v3/database-validation/", {
  method: "POST",
  headers: { "x-api-key": "YOUR_API_KEY" },
  body: form,
});
const data = await response.json();
if (!response.ok) throw new Error(`${response.status}: ${JSON.stringify(data)}`);
console.log(data.database_validation.status, data.database_validation.match_type);

Response (200 OK)

json
{
  "request_id": "b3e7c1a2-9d4f-4f0b-8a6c-5e2d1f0a9b3e",
  "database_validation": {
    "status": "Approved",
    "issuing_state": "BRA",
    "validation_type": "one_by_one",
    "screened_data": {
      "tax_number": "12345678900",
      "first_name": "John",
      "last_name": "Doe",
      "date_of_birth": "1980-01-01"
    },
    "match_type": "full_match",
    "validations": [
      {
        "service_id": "bra_cpf",
        "service_name": "Brazil - CPF status check",
        "validation": {
          "full_name": "full_match",
          "date_of_birth": "full_match",
          "identification_number": "full_match"
        },
        "outcome_code": "MATCH",
        "outcome_detail": "200",
        "source_data": {
          "identification_number": "12345678900",
          "first_name": "JOHN",
          "last_name": "DOE",
          "date_of_birth": "1980-01-01",
          "lgpd_minor": false,
          "minor_under_16": false,
          "minor_under_18": false
        }
      }
    ],
    "warnings": [],
    "services_used": ["bra_cpf"],
    "match_score": 1.0
  },
  "vendor_data": "user-1234",
  "metadata": null,
  "created_at": "2026-10-12T10:30:00.000000+00:00"
}

With save_api_request=false, validations is a merged map instead, e.g. {"full_name": "full_match", "date_of_birth": "full_match", "identification_number": "full_match"}.

Status Values & Handling

StatusMeaningAction
"Approved"full_match, or a partial_match/no_match whose action is NO_ACTION (partial match is NO_ACTION by default)Proceed; still read warnings and errors
"Declined"A warning resolved to DECLINE: no_match or a superseded document (no_match_action, default DECLINE), or a partial match with partial_match_action=DECLINEIdentity data does not match the registry
"In Review"Only COULD_NOT_PERFORM_DATABASE_VALIDATION: the services answered but nothing could be confirmed (e.g. the only service returned INCONCLUSIVE or REGISTRY_UNAVAILABLE)Review manually or retry later

A decline wins over review. A multi-service request can be Approved on one service while another failed: always check errors[] and each outcome_code.

Error Responses

CodeMeaningAction
400Invalid requestRead the field errors in the response body
401The API key has expiredRotate it or create a new key in Developers > API keys
403Missing, wrong or revoked API key; a scoped key without access to this endpoint; a request from outside the key's IP allowlist; or not enough creditsRead the message in detail or error: fix the x-api-key header or the key's access, or top up
429Rate limit: 300 POST/PATCH/DELETE and 600 GET requests a minute per keyWait the Retry-After seconds, then retry
502No selected service returned a usable result. Body: error plus validation_errors[] (service_id, code e.g. empty_provider_response, message, retryable: true). Nothing is billedRetry later; with save_api_request=true the attempt is still recorded as a session

400 bodies on this endpoint (never billed):

  • {"error": ["Invalid issuing state. Valid options are: ARE, ARG, ..."]}: wrong or alpha-2 issuing_state
  • {"error": ["No database validation services configured for ESP."]}: no default service for the country; send services
  • {"error": ["Missing required fields: tax_number (or use 'identification_number' ...)"], "fields_required_by": {"tax_number": ["bra_cpf"]}}; also any_field_required_by, field_dependencies_required_by, address_fields_required_by for the same family of problems
  • {"services": [...]}: unknown service id, a service not live for that country, or one needing onboarding (requires_onboarding)
  • {"consent": [...], "services_requiring_consent": [...]}: send consent: true
  • {"tax_number": ["Invalid tax number for BRA: Brazilian CPF (exactly 11 digits). ..."]} or invalid_fields_by_service: format rule failed
  • {"error": "...", "validation_errors": [{"code": "provider_rejected_input", "retryable": false, ...}]}: every source refused the submitted data; correct it, retrying the same values cannot succeed

The credit check covers the sum of the selected services' prices and runs before any registry call; the not-enough-credits 403 body is {"error": "You don't have enough credits to perform this request. ..."}.


Response Field Reference

FieldTypeDescription
request_iduuidSession id when save_api_request=true; otherwise a one-off correlation id
database_validation.statusstringApproved, Declined or In Review
database_validation.issuing_statestringEcho of the alpha-3 country
database_validation.validation_typestringone_by_one, or two_by_two when 2+ services full-matched
database_validation.screened_dataobjectInput sent to the services (dates as YYYY-MM-DD, selfie as a temporary URL, consent_obtained: true when consent was given)
database_validation.match_typestring/nullfull_match, partial_match or no_match across services; null for outcome-only services
database_validation.validationsarray or objectPer service: service_id, service_name, validation (field to full_match/partial_match/no_match), outcome_code, outcome_detail, source_data (registry record). Merged map when save_api_request=false
database_validation.warningsarray{feature, risk, additional_data, log_type, short_description, long_description}; empty on a clean full match
database_validation.errorsarrayOnly when some services failed: service_id, code, message, retryable. Those services are not billed
database_validation.services_usedarrayServices that returned a result (only when the request sent services)
database_validation.match_scorenumber0.0-1.0 share of attempted services with a full match (only when the request sent services)
vendor_data / metadatastring/objectEcho of your values
created_atstringISO 8601 UTC timestamp

outcome_code values: MATCH, PARTIAL_MATCH, NO_MATCH (definitive mismatch), DOCUMENT_NOT_FOUND (number not in the registry), INVALID_DOCUMENT_FORMAT / INVALID_INPUT (the registry rejected the data), MINOR_BLOCKED, DECEASED, BIOMETRIC_NO_MATCH (face does not match), BIOMETRIC_IMAGE_UNUSABLE (retake the selfie), INCONCLUSIVE (review, not a no-match), DOCUMENT_SUPERSEDED (a newer edition of the document exists), REGISTRY_UNAVAILABLE / REGISTRY_ERROR (source failure, not billed).


Matching Logic

RuleBehaviour
NamesFuzzy match per name part (small typos still match: "Christophel" vs "Christopher" is a full match, "Chris" is not)
Date of birth, ID numberExact match only
match_typeAny service full_match gives full_match; else any partial_match gives partial_match; else no_match
validation_typetwo_by_two when two or more distinct services full-matched; otherwise one_by_one. There is no separate 2x2 price: each service is billed at its own price
Decisive fieldsA service only compares the fields it holds and the fields you send; a required field is not always a compared one

Warning Tags

TagWhenEffect
DATABASE_VALIDATION_NO_MATCHmatch_type is no_match, or a service gave a definitive negative (e.g. DOCUMENT_NOT_FOUND, DECEASED) without field comparisonsno_match_action (default DECLINE)
DATABASE_VALIDATION_PARTIAL_MATCHmatch_type is partial_matchpartial_match_action (default NO_ACTION: information, status stays Approved)
DATABASE_VALIDATION_DOCUMENT_SUPERSEDEDA service returned DOCUMENT_SUPERSEDED: the person matched but a newer document edition exists (match_type can still be full_match)Follows no_match_action
COULD_NOT_PERFORM_DATABASE_VALIDATIONThe services ran but confirmed nothing: an inconclusive answer, an unavailable or failing source, or a registry that could not use the data sent. additional_data names the services. Missing or invalid fields never get here: they return 400Always In Review (log_type: warning)
DATABASE_VALIDATION_NOT_APPLICABLEWorkflow sessions only (the document has no identifier the services need)Not produced by this endpoint

log_type mirrors the action: DECLINE gives error, NO_ACTION gives information. The automatic re-run after missing data is filled in exists only in workflow sessions, not on this endpoint.


Supported Countries

Main countries, from the public catalog and pricing table (2026-10-12). "Default" is the service that runs when services is omitted.

issuing_stateDefault serviceRequired fieldsNumber formatCoveragePriceOther services
ARGarg_renaper (biometric)document_number, selfie, genderDNI, 7-8 digits, optional M/F prefix-$0.20arg_renaper_data (document_number, gender, no selfie, $0.20); arg_citizens $1.90, arg_credit_bureau $2.15
BOLbol_ceduladocument_number, date_of_birthCI, 6-10 digits90-95%$0.20-
BRAbra_cpftax_number, date_of_birthCPF, exactly 11 digits~100%$0.209 more, e.g. bra_cpf_facial (selfie, consent, $0.45), bra_unico_idcloud (selfie, consent, $0.20), bra_death_check, bra_tax_registration $0.15
CHLchl_rutpersonal_numberRUT, e.g. 12345678-9-$0.20-
COLcol_cedulapersonal_number, date_of_issueCedula, 6-10 digits90-95%$0.20col_migracion (personal_number, date_of_birth, nationality, $1.20)
CRIcri_cedulapersonal_numberCedula, 9-12 digits90-95%$0.20-
DOMdom_cedulapersonal_numberCedula, exactly 11 digits-$0.05-
ECUecu_cedulapersonal_numberCedula, exactly 10 digits-$0.20-
ESPnone: send services: ["esp_dni"] and consent: truefirst_name, last_name, date_of_birth, address (street + postal code)No number field; optional national_id (DNI/NIE) is also compared~75%$1.26-
GTMgtm_dpidocument_number, date_of_birthDPI, exactly 13 digits90-95%$0.20gtm_dpi_facial (document_number, selfie, consent, $0.35)
HNDhnd_dnidocument_numberDNI, exactly 13 digits90-95%$0.20-
MEXmex_curppersonal_numberCURP, exactly 18 characters~100%$0.20mex_ine_vigencia (INE credential: cic, identificador_ciudadano, ocr or voter_number + emission_number, $0.20)
PANpan_cedula_sib (biometric)personal_number, selfieCedula, 5-20 characters-$0.75pan_cedula_sib_plus (same fields, $1.50)
PERper_dnipersonal_numberDNI, exactly 8 digits-$0.20per_tax_registration (first_name, last_name, date_of_birth, personal_number, $1.75)
PRYpry_ceduladocument_numberCI, 6-10 digits90-95%$0.20-
SLVslv_duidocument_number, date_of_birthDUI, exactly 9 digits90-95%$0.20-
URYury_cedulapersonal_number, date_of_birthCI, 7-9 digits90-95%$0.20-
VENven_ceduladocument_numberCedula, 7-10 digits, optional V/E prefix90-95%$0.20-
KENnone: ken_national_idfirst_name, last_name, date_of_birth, national_id-~90%$0.65-
ZMBnone: zmb_national_idnational_id, first_name, last_name--$0.20-
ZAFzaf_africa_national_idfirst_name, last_name, date_of_birth, national_id-~100%$1.1012 more (driving licence, bank account holder, company registry, fraud prevention, ...)

Other countries (Australia, Austria, Canada, China, Denmark, Finland, France, Germany, India, Indonesia, Italy, Cambodia, Malaysia, Netherlands, New Zealand, Nigeria, Norway, Philippines, Singapore, Sweden, Switzerland, Thailand, United Kingdom, United States) and the GLB group: read the catalog and always send services; most of them have no default service. Optional fields (usually first_name, last_name) add name comparison where the service supports it.


Common Workflows

Validate the Data From an ID Document

1. POST /v3/id-verification/ -> id_verification.issuing_state (alpha-3), document_number,
   personal_number, first_name, last_name, date_of_birth, gender, date_of_issue
   (see the didit-id-document-verification skill)
2. Look up the country in the table (or the catalog) and pick services
3. POST /v3/database-validation/ with issuing_state, services and the required fields
   (identification_number fills the country's number field)
4. Approved -> data confirmed by the registry
   Declined -> DATABASE_VALIDATION_NO_MATCH / _DOCUMENT_SUPERSEDED: do not trust the identity data
   In Review -> COULD_NOT_PERFORM_DATABASE_VALIDATION: review or retry later
   502 -> no service answered (not billed): retry later

Spain DNI/NIE

json
{
  "issuing_state": "ESP",
  "services": ["esp_dni"],
  "consent": true,
  "first_name": "John",
  "last_name": "Doe",
  "date_of_birth": "1990-01-01",
  "address": {"street_1": "Calle Mayor 10", "city": "Madrid", "postal_code": "28013", "country": "ES"}
}

Biometric Registry Check (Argentina, Panama)

Send multipart/form-data with selfie (max 2 MB). arg_renaper also needs document_number and gender; pan_cedula_sib needs personal_number. BIOMETRIC_NO_MATCH is a real face mismatch; BIOMETRIC_IMAGE_UNUSABLE means retake the selfie.

Retrieve a Stored Result

With save_api_request=true (default), GET /v3/session/{request_id}/decision/ returns the result in database_validations[].


Utility Scripts

validate_database.py: Validate identity data against government databases from the command line. Prints the JSON response, then status, match type, per-service outcomes, warnings and errors.

bash
# Requires: pip install requests
export DIDIT_API_KEY="your_api_key"
# issuing_state is ISO alpha-3. Use the number field the country needs (see the table) or --identification-number.
python scripts/validate_database.py --issuing-state PER --personal-number 12345678 --first-name Carlos --last-name Garcia
python scripts/validate_database.py --issuing-state BRA --tax-number 12345678900 --dob 1980-01-01 --services bra_cpf
python scripts/validate_database.py --issuing-state MEX --identification-number GARC850315HDFRRL09
python scripts/validate_database.py --issuing-state COL --personal-number 1234567890 --date-of-issue 2015-06-20
python scripts/validate_database.py --issuing-state ARG --document-number 12345678 --gender F --selfie selfie.jpg
python scripts/validate_database.py --issuing-state ESP --services esp_dni --consent --first-name John --last-name Doe \
  --dob 1990-01-01 --address '{"street_1": "Calle Mayor 10", "city": "Madrid", "postal_code": "28013", "country": "ES"}'

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Didit Database Validation?

Integrate the Didit Database Validation API (POST /v3/database-validation/) to check identity data against government and authoritative registries. Use when the user wants to validate a national ID, CPF, CURP, DNI, RUT or cedula number against official records, confirm a person's name and date of birth with a civil registry, run a registry face match (Argentina RENAPER, Panama SIB), choose database validation services per country, or implement government database lookups using Didit. Covers 100+ services in 45 countries (strongest in Latin America, plus Spain, South Africa, Kenya and other...

¿Por qué usar Didit Database Validation en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Didit Database Validation está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Didit Database Validation en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/didit-protocol/skills/tree/main/skills/didit-database-validation. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Didit Database Validation?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Didit Database Validation?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Didit Database Validation con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Didit Database Validation?

Sí. didit-protocol la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇