Didit Database Validation 标志

Didit Database Validation

组织
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.

概览

发布者didit-protocol
代码仓库skills
技能名称didit-database-validation
星标数
28
复刻数
6
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个随附文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 didit-protocol 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Didit Database Validation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/didit-protocol/skills/tree/main/skills/didit-database-validation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Didit Database Validation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Didit Database Validation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Didit Database Validation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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"}'

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Didit Database Validation AI 技能有什么作用?

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...

为什么在 TypingMind 中使用 Didit Database Validation?

因为您只需安装一次,就能搭配任何模型使用。Didit Database Validation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Didit Database Validation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/didit-protocol/skills/tree/main/skills/didit-database-validation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Didit Database Validation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Didit Database Validation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Didit Database Validation 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Didit Database Validation AI 技能免费吗?

是的。该技能源自 didit-protocol 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇