← 返回
数据分析 Key 中文

Didit Proof Of Address

Integrate Didit Proof of Address standalone API to verify address documents. Use when the user wants to verify a proof of address, validate utility bills, ba...
集成 Didit 地址证明独立 API 以验证地址文件。当用户需要验证地址证明、核实水电账单等时使用。
rosasalberto
数据分析 clawhub v1.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 869
下载
💾 6
安装
1
版本
#latest

概述

Didit Proof of Address API

Overview

Verifies address documents by submitting images or PDFs. Extracts address information, performs authenticity checks, name matching, geocoding, and returns structured data.

Key constraints:

  • Supported formats: JPG, JPEG, PNG, TIFF, PDF
  • Maximum file size: 15MB
  • Document must be within 90 days of issue date
  • Full-color, all corners visible, no digital editing
  • Must be different from the ID document used for ID verification

Capabilities: OCR extraction, intelligent document classification, name matching with identity documents, issue date validation, geocoding with lat/lng coordinates, language detection, multi-page support.

Accepted document types:

CategoryExamples
------
Utility BillElectricity, water, gas, internet, phone, combined utilities
Bank StatementAccount statement, credit card, mortgage, loan
Government-IssuedTax assessment, residency certificate, voter registration
Other PoALease, rental agreement, insurance policy, employer letter

API Reference: https://docs.didit.me/standalone-apis/proof-of-address

Feature Guide: https://docs.didit.me/core-technology/proof-of-address/overview


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/poa/

Headers

HeaderValueRequired
---------
x-api-keyYour API keyYes
Content-Typemultipart/form-dataYes

Request Parameters (multipart/form-data)

ParameterTypeRequiredDefaultDescription
---------------
documentfileYesPoA document (JPG/PNG/TIFF/PDF, max 15MB)
save_api_requestbooleanNotrueSave in Business Console
vendor_datastringNoYour identifier for session tracking

Example

import requests

response = requests.post(
    "https://verification.didit.me/v3/poa/",
    headers={"x-api-key": "YOUR_API_KEY"},
    files={"document": ("utility_bill.pdf", open("bill.pdf", "rb"), "application/pdf")},
    data={"vendor_data": "user-123"},
)
print(response.json())
const formData = new FormData();
formData.append("document", documentFile);

const response = await fetch("https://verification.didit.me/v3/poa/", {
  method: "POST",
  headers: { "x-api-key": "YOUR_API_KEY" },
  body: formData,
});

Response (200 OK)

{
  "request_id": "a1b2c3d4-...",
  "poa": {
    "status": "Approved",
    "issuing_state": "ESP",
    "document_type": "UTILITY_BILL",
    "issuer": "Endesa",
    "issue_date": "2025-01-15",
    "document_language": "es",
    "name_on_document": "Elena Martínez Sánchez",
    "poa_address": "Calle Mayor 10, 28013 Madrid",
    "poa_formatted_address": "Calle Mayor 10, 28013 Madrid, Spain",
    "poa_parsed_address": {
      "street_1": "Calle Mayor 10",
      "city": "Madrid",
      "region": "Comunidad de Madrid",
      "postal_code": "28013",
      "raw_results": {
        "geometry": {"location": {"lat": 40.4168, "lng": -3.7038}}
      }
    },
    "document_file": "https://example.com/document.pdf",
    "warnings": []
  },
  "created_at": "2025-05-01T13:11:07.977806Z"
}

Status Values & Handling

StatusMeaningAction
---------
"Approved"Address verified, document validProceed with your flow
"Declined"Document invalid or expiredCheck warnings for specific reason
"In Review"Needs manual reviewCheck for name mismatch or quality issues
"Not Finished"Processing incompleteWait or retry

Error Responses

CodeMeaningAction
---------
400Invalid requestCheck file format, size, parameters
401Invalid API keyVerify x-api-key header
403Insufficient creditsTop up at business.didit.me

Response Field Reference

FieldTypeDescription
---------
statusstring"Approved", "Declined", "In Review", "Not Finished"
issuing_statestringISO 3166-1 alpha-3 country code
document_typestring"UTILITY_BILL", "BANK_STATEMENT", "GOVERNMENT_ISSUED_DOCUMENT", "OTHER_POA_DOCUMENT", "UNKNOWN"
issuerstringIssuing institution name
issue_datestringYYYY-MM-DD
document_languagestringDetected language code
name_on_documentstringExtracted name
poa_addressstringRaw extracted address
poa_formatted_addressstringFormatted address
poa_parsed_addressobject{street_1, street_2, city, region, postal_code}
poa_parsed_address.raw_results.geometry.locationobject{lat, lng} geocoded coordinates
document_filestringTemporary URL (expires 60 min)
warningsarray{risk, log_type, short_description, long_description}

Warning Tags

Auto-Decline

TagDescription
------
POA_DOCUMENT_NOT_SUPPORTED_FOR_APPLICATIONDocument type not accepted for your app
EXPIRED_DOCUMENTDocument older than 90 days
INVALID_DOCUMENT_TYPEDocument cannot be processed
MISSING_ADDRESS_INFORMATIONNo valid address could be extracted

Configurable (Decline / Review / Approve)

TagDescription
------
NAME_MISMATCH_WITH_PROVIDEDName doesn't match verified identity
NAME_MISMATCH_ID_VERIFICATIONName doesn't match ID document
POA_NAME_MISMATCH_BETWEEN_DOCUMENTSNames differ between multiple PoA docs
POOR_DOCUMENT_QUALITYInsufficient image quality
DOCUMENT_METADATA_MISMATCHDigital signature/metadata indicates tampering
SUSPECTED_DOCUMENT_MANIPULATIONSigns of document manipulation
UNSUPPORTED_DOCUMENT_LANGUAGEDocument language not supported
ADDRESS_MISMATCH_WITH_PROVIDEDAddress doesn't match provided address
UNABLE_TO_EXTRACT_ISSUE_DATECould not determine issue date
ISSUER_NOT_IDENTIFIEDCould not identify issuing institution
UNPARSABLE_OR_INVALID_ADDRESSAddress couldn't be parsed
UNABLE_TO_VALIDATE_DOCUMENT_AGECould not determine document age
FUTURE_ISSUE_DATEIssue date is in the future

Warning severity: error (→ Declined), warning (→ In Review), information (no effect).


Common Workflows

Basic Address Verification

1. POST /v3/poa/ → {"document": utility_bill}
2. If "Approved" → address verified
   If "Declined" → check warnings:
     EXPIRED_DOCUMENT → ask for a more recent document
     MISSING_ADDRESS_INFORMATION → ask for clearer image
     NAME_MISMATCH → verify identity matches

Full KYC with Address

1. POST /v3/id-verification/ → verify identity document
2. POST /v3/passive-liveness/ → verify real person
3. POST /v3/poa/ → verify address
4. System auto-matches name between ID and PoA documents
5. All Approved → identity + address verified

Utility Scripts

verify_address.py: Verify proof of address documents from the command line.

# Requires: pip install requests
export DIDIT_API_KEY="your_api_key"
python scripts/verify_address.py utility_bill.pdf
python scripts/verify_address.py bank_statement.jpg --vendor-data user-123

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 06:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,120
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,016
communication-collaboration

Didit Phone Verification

rosasalberto
集成 Didit 电话验证独立 API,通过 OTP 验证电话号码。适用于用户需要验证手机号、发送短信或使用 WhatsApp、Telegram 等场景。
★ 0 📥 1,047