didit-id-verification
by rosasalberto
Coding Agents & IDEsBrief
Integrate Didit ID Verification standalone API to verify identity documents.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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
Requirements
- DIDIT_API_KEY environment variable
- Didit Business Console account at business.didit.me to generate the API key and manage credits
Installation
clawhub install rosasalberto/didit-id-verificationRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.