Skip to main content
POST
/
v3
/
database-validation
/
curl -X POST "https://verification.didit.me/v3/database-validation/" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "issuing_state=ARG" \
  -F "services=arg_renaper" \
  -F "vendor_data=user-1234" \
  -F "document_number=1111111" \
  -F "selfie=@./selfie.jpg" \
  -F "gender=M"
{
  "request_id": "req_01H…",
  "status": "Approved",
  "issuing_state": "ARG",
  "match_type": "full_match",
  "validations": [
    {
      "outcome_code": "MATCH",
      "service_id": "arg_renaper",
      "service_name": "Argentina - DNI verification (RENAPER)",
      "source_data": {
        "banks": "sample_value",
        "date_of_birth": "1990-01-01",
        "face_match_score": "0.990",
        "first_name": "John",
        "full_name": "John Doe",
        "highest_position": "sample_value",
        "identification_number": "SAMPLE-ID-12345",
        "last_name": "Doe",
        "last_position": "sample_value",
        "rejected_checks": "sample_value",
        "sit_1_since": "sample_value",
        "tax_id": "SAMPLE-12345",
        "tax_id_type": "SAMPLE-12345"
      },
      "validation": {
        "identification_number": "full_match"
      }
    }
  ]
}
Verifies Argentine DNI against the official RENAPER civil registry, with biometric face-match against the photo on file. 100% population coverage. Didit exposes this service through POST /v3/database-validation/ so you can verify the submitted data against the authoritative source and receive normalized match results.

Coverage

  • Coverage:
  • Country: Argentina
  • Service ID: arg_renaper
  • Data domain: Identity
  • Category: NationalIDRegistry

Inputs

FieldRequiredExample
document_numberYes1111111
selfieYes@./selfie.jpg
genderYesM
first_nameNoJohn
last_nameNoDoe
vendor_dataNouser-1234
  • Required inputs: document_number, selfie, gender
  • Optional inputs: first_name, last_name, vendor_data
  • Consent: Not required
  • Workflow availability: Available in workflow
  • Coverage:
  • Price: $0.20 per successful query

Body parameters

issuing_state
string
default:"ARG"
required
ISO 3166-1 alpha-3 country code for this database service.Example: ARG
services
string
default:"arg_renaper"
required
Array containing this service ID. Pinning the service keeps the request scoped to this exact database.Example: arg_renaper
document_number
string
default:"1111111"
required
Document number extracted from or provided by the user.Example: 1111111
selfie
file
required
Selfie image file to upload for biometric database validation. Accepted formats: JPEG, PNG, or WebP.Example: @./selfie.jpg
gender
string
default:"M"
required
Gender value, when required by the database.Allowed values: M (male), F (female), X (other or unknown).Example: M
first_name
string
default:"John"
Given name to validate.Example: John
last_name
string
default:"Doe"
Family name to validate.Example: Doe
vendor_data
string
default:"user-1234"
Your stable user reference for this person, such as your internal user ID. Didit uses it to link standalone checks to the same end user and reduce duplicate-detection noise.Example: user-1234

Input rules & validation notes

  • Argentine DNI (7-8 digits)
  • document_number must contain digits only; remove spaces, hyphens, and punctuation before sending the request.
  • document_number must be 7-8 characters long.

How to call it

curl -X POST "https://verification.didit.me/v3/database-validation/" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "issuing_state=ARG" \
  -F "services=arg_renaper" \
  -F "vendor_data=user-1234" \
  -F "document_number=1111111" \
  -F "selfie=@./selfie.jpg" \
  -F "gender=M"
Every successful call returns HTTP 200. The outcome_code field tells you what actually happened — distinguishing, for example, a real biometric mismatch (BIOMETRIC_NO_MATCH) from a selfie that could not be read (BIOMETRIC_IMAGE_UNUSABLE). The status shown is the default feature status; your configured Partial Match / No Match actions can override it.

Returned data

The exact fields surfaced in source_data depend on what the registry returns. The generated example for arg_renaper currently documents this normalized shape:
  • banks
  • date_of_birth
  • face_match_score
  • first_name
  • full_name
  • highest_position
  • identification_number
  • last_name
  • last_position
  • rejected_checks
  • sit_1_since
  • tax_id
  • tax_id_type

Pricing & SLAs

Argentina - DNI verification (RENAPER) queries are billed only when Didit receives a conclusive result from the validation source.
  • Per-call price: $0.20 USD.
  • Billing: per successful query. You are not charged when the registry is unreachable, when required fields are missing, or when the request is rejected before reaching the source.
  • Latency: typical p95 < 2 s.
  • Availability: 99.9% per quarter on Didit’s side; downstream source availability varies by country and dataset.

Continue reading