didit-id-verification
由 rosasalberto 提供
Coding Agents & IDEs简介
Integrate Didit ID Verification standalone API to verify identity documents.
描述
该技能的功能
Verifies identity documents by submitting front and back images to the Didit API. Performs OCR extraction, MRZ parsing, tamper detection, and document liveness checks. Covers 4,000+ document types across 220+ countries including passports, national IDs, driver's licenses, and residence permits.
A single API call handles OCR, MRZ parsing, liveness detection, and tamper checks across 4,000+ document types, replacing multiple specialized tools.
何时使用
- Verify a passport during user onboarding
- Extract structured data from a driver's license
- Detect expired or tampered identity documents
- Run KYC document checks before granting account access
- Parse MRZ data from national ID cards
示例工作流
User asks: verify this passport photo
- 1
Submit front image to POST /v3/id-verification/ with x-api-key header
- 2
Check response status field: Approved, Declined, or In Review
- 3
If Declined, inspect warnings array for specific failure codes such as DOCUMENT_EXPIRED or SCREEN_CAPTURE_DETECTED
- 4
Extract verified fields: first_name, last_name, date_of_birth, document_number, expiration_date
Structured identity data with verification status, extracted MRZ fields, parsed address, and any risk warnings
前置要求
- DIDIT_API_KEY environment variable
- Didit Business Console account at business.didit.me to generate the API key and manage credits
安装
clawhub install rosasalberto/didit-id-verification运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。