> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idmetagroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dukcapil Data

> Retrieve and verify Indonesian citizen data from Dukcapil government records.



## OpenAPI

````yaml api-reference/openapi.json POST /api/v3/verifications/indonesia/dukcapil
openapi: 3.0.3
info:
  title: IDmeta API
  description: IDmeta verification and integration API.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Trust Flow Links
    description: Trust Flow link generation endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
  - name: Alternative Verifications
    description: Alternative verification and intelligence endpoints
  - name: OCR
    description: Document OCR extraction endpoints
paths:
  /api/v3/verifications/indonesia/dukcapil:
    post:
      tags:
        - Government Data
      summary: Dukcapil Data
      description: >-
        Retrieve and verify Indonesian citizen data from Dukcapil government
        records.


        Required fields: `name`, `nik`, `date_of_birth`, `trustFlowId`, and
        `trustValidationId`. All other identity fields are optional.
      operationId: dukcapilDataVerificationV3
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DukcapilDataRequest'
            examples:
              default:
                summary: Dukcapil data verification request
                value:
                  name: ''
                  nik: ''
                  date_of_birth: ''
                  trustFlowId: 0
                  trustValidationId: '{your_created_trust_validation_id}'
      responses:
        '200':
          description: Dukcapil data verified successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DukcapilDataV3Response'
              example:
                success: true
                message: Indonesia Dukcapil processed successfully
                data:
                  isValid: true
                  success: true
                  message: Berhasil
                  data:
                    nik: true
                    name: true
                    dateOfBirth: true
                    selfieImagePercentage: null
                    livenessResult: null
                    livenessFailMessage: ''
                    noKk: null
                    motherMaidenName: null
                    placeOfBirth: true
                    address: false
                    gender: true
                    maritalStatus: true
                    jobType: false
                    province: true
                    city: true
                    district: false
                    subdistrict: false
                    rt: false
                    rw: false
                    uuid: 667dd431-09b7-46b7-95b2-35d19958d78b
                    url: ''
                    reasonCode: '1'
                    errorMessage: null
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 0
                trustValidationId: '{your_trust_validation_id}'
                verificationType: dukcapil
                metadata:
                  nik: '1371116803860005'
components:
  schemas:
    DukcapilDataRequest:
      type: object
      required:
        - name
        - nik
        - date_of_birth
        - trustFlowId
        - trustValidationId
      properties:
        name:
          type: string
          description: Full name of the individual to be verified.
        nik:
          type: string
          description: Indonesian National Identity Number (Nomor Induk Kependudukan).
        date_of_birth:
          type: string
          description: Date of birth of the individual in `YYYY-MM-DD` format.
        gender:
          type: string
          description: Gender of the individual (for example, Male or Female).
        place_of_birth:
          type: string
          description: Place of birth of the individual.
        marital_status:
          type: string
          description: Marital status (for example, Single, Married, Divorced).
        job_type:
          type: string
          description: Occupation or type of job.
        address:
          type: string
          description: Residential address of the individual.
        province:
          type: string
          description: Province of residence.
        city:
          type: string
          description: City of residence.
        district:
          type: string
          description: District or municipality.
        subdistrict:
          type: string
          description: Subdistrict or village.
        rt:
          type: string
          description: Neighborhood unit (Rukun Tetangga).
        rw:
          type: string
          description: Community unit (Rukun Warga).
        mother_maiden_name:
          type: string
          description: Optional mother's maiden name.
        no_kk:
          type: string
          description: Optional family card number (Nomor Kartu Keluarga).
        trustFlowId:
          type: integer
          description: >-
            Identifier used to categorize or group requests for tracking or
            reporting.
        trustValidationId:
          type: string
          description: A unique ID used to identify your verification request.
    DukcapilDataV3Response:
      type: object
      required:
        - success
        - message
        - data
        - verificationStatus
        - verificationStatusCode
        - trustFlowId
        - trustValidationId
        - verificationType
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            isValid:
              type: boolean
            success:
              type: boolean
            message:
              type: string
            data:
              type: object
              properties:
                nik:
                  type: boolean
                  nullable: true
                name:
                  type: boolean
                  nullable: true
                dateOfBirth:
                  type: boolean
                  nullable: true
                selfieImagePercentage:
                  nullable: true
                  oneOf:
                    - type: string
                    - type: number
                livenessResult:
                  nullable: true
                  oneOf:
                    - type: boolean
                    - type: string
                livenessFailMessage:
                  type: string
                  nullable: true
                noKk:
                  type: boolean
                  nullable: true
                motherMaidenName:
                  type: boolean
                  nullable: true
                placeOfBirth:
                  type: boolean
                  nullable: true
                address:
                  type: boolean
                  nullable: true
                gender:
                  type: boolean
                  nullable: true
                maritalStatus:
                  type: boolean
                  nullable: true
                jobType:
                  type: boolean
                  nullable: true
                province:
                  type: boolean
                  nullable: true
                city:
                  type: boolean
                  nullable: true
                district:
                  type: boolean
                  nullable: true
                subdistrict:
                  type: boolean
                  nullable: true
                rt:
                  type: boolean
                  nullable: true
                rw:
                  type: boolean
                  nullable: true
                uuid:
                  type: string
                url:
                  type: string
                  nullable: true
                reasonCode:
                  type: string
                  nullable: true
                errorMessage:
                  type: string
                  nullable: true
              additionalProperties: true
        verificationStatus:
          type: string
        verificationStatusCode:
          type: integer
        trustFlowId:
          type: integer
          description: Trust flow identifier.
        trustValidationId:
          type: string
        verificationType:
          type: string
        metadata:
          type: object
          nullable: true
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````