跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
数据与分析

didit-database-validation

Integrate Didit Database Validation API to verify personal data against government databases. Use when the user wants to validate identity against government records, verify national ID numbers, check CPF/CURP/DNI/cedula numbers, perform identity database lookups, validate identity documents against official sources, or implement database verification for Latin American or Spanish identity documents using Didit. Supports 18 countries with 1x1 and 2x2 matching methods.

didit-protocol · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add didit-protocol/skills --skill didit-database-validation

技能说明


name: didit-database-validation description: > Integrate Didit Database Validation API to verify personal data against government databases. Use when the user wants to validate identity against government records, verify national ID numbers, check CPF/CURP/DNI/cedula numbers, perform identity database lookups, validate identity documents against official sources, or implement database verification for Latin American or Spanish identity documents using Didit. Supports 18 countries with 1x1 and 2x2 matching methods. version: 1.2.0 metadata: openclaw: requires: env: - DIDIT_API_KEY primaryEnv: DIDIT_API_KEY emoji: "🗄️" homepage: https://docs.didit.me

Didit Database Validation API

Overview

Verifies personal data and identity documents against trusted government and financial databases. Prevents synthetic identity fraud and ensures identity authenticity.

Key constraints:

  • Requires issuing_state (ISO alpha-2) to select the data sources, plus the country-specific number field
  • Coverage: 18 countries (primarily Latin America + Spain)
  • Results: full_match, partial_match, or no_match
  • Only charged per successful query — no charge if insufficient data

Matching methods:

MethodDescriptionStarting Price
1x1Single data source validation$0.05
2x2Two data sources cross-validation$0.30

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


Authentication

All requests require x-api-key header. Get your key from Didit Business Console → API & Webhooks, or via programmatic registration (see below).

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@gmail.com", "password": "MyStr0ng!Pass"}
  2. Check email for a 6-character OTP code
  3. Verify: POST https://apx.didit.me/auth/v2/programmatic/verify-email/ with {"email": "you@gmail.com", "code": "A3K9F2"} → response includes 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/jsonYes

Body (JSON)

ParameterTypeRequiredDescription
issuing_statestringYesISO 3166-1 alpha-2 country code — selects which data sources run
first_namestringNoFirst name for matching
last_namestringNoLast name for matching
middle_namestringNoMiddle name for matching
full_namestringNoFull name for matching
date_of_birthstringNoDOB in YYYY-MM-DD (required for some countries)
document_numberstringNoCountry-specific document number (see table below)
personal_numberstringNoCountry-specific personal number (see table below)
tax_numberstringNoCountry-specific tax number (see table below)
document_typestringNoDocument type for matching
genderstringNoM, F, or X
nationalitystringNoISO country code
servicesarrayNoservice_ids to restrict which sources run
save_api_requestbooleanNoSave in Business Console
vendor_datastringNoYour identifier for session tracking

Send the country-specific number field for the target country (the table shows which field name each country expects). issuing_state selects the data sources to query:

CountryNumber FieldDocumentFormat
ARdocument_numberDNI—
BOdocument_numberCI—
BRtax_numberCPF11 digits
CLpersonal_numberRUT—
COpersonal_numberCedula—
CRpersonal_numberCedula—
DOpersonal_numberCedula11 digits
ECpersonal_numberCedula10 digits
ESpersonal_numberDNI/NIE—
GTdocument_numberDPI—
HNdocument_numberDNI—
MXpersonal_numberCURP18 chars
PAdocument_numberCedula—
PEpersonal_numberDNI8 digits
PYdocument_numberCI—
SVdocument_numberDUI—
UYpersonal_numberCI—
VEdocument_numberCedula—

Example

import requests

response = requests.post(
    "https://verification.didit.me/v3/database-validation/",
    headers={"x-api-key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
        "issuing_state": "PE",
        "personal_number": "12345678",
        "first_name": "Carlos",
        "last_name": "Garcia",
    },
)
print(response.json())
const response = await fetch("https://verification.didit.me/v3/database-validation/", {
  method: "POST",
  headers: { "x-api-key": "YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    issuing_state: "PE",
    personal_number: "12345678",
    first_name: "Carlos",
    last_name: "Garcia",
  }),
});

Response (200 OK)

{
  "request_id": "a1b2c3d4-...",
  "database_validation": {
    "status": "Approved",
    "match_type": "full_match",
    "issuing_state": "PE",
    "validation_type": "1x1",
    "screened_data": {
      "personal_number": "12345678",
      "first_name": "Carlos",
      "last_name":
阅读完整来源 ↗