Kartu Keluarga Details Extraction
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form documentImage='@example-file'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough"
files = { "documentImage": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('documentImage', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: multipart/form-data"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough")
.header("Authorization", "Bearer <token>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Indonesia Kartu Keluarga extraction processed successfully",
"data": {
"outcome": "extracted",
"fields": {
"noKk": {
"value": "3174012509870123",
"confidence": "99.18%"
},
"headOfFamily": {
"value": "BUDI SANTOSO",
"confidence": "98.72%"
},
"address": {
"street": {
"value": "JL. MERPATI RAYA NO. 12",
"confidence": "97.10%"
},
"rt": {
"value": "003",
"confidence": "98.90%"
},
"rw": {
"value": "007",
"confidence": "98.90%"
},
"village": {
"value": "KEBAYORAN LAMA UTARA",
"confidence": "97.55%"
},
"district": {
"value": "KEBAYORAN LAMA",
"confidence": "97.98%"
},
"city": {
"value": "JAKARTA SELATAN",
"confidence": "98.61%"
},
"province": {
"value": "DKI JAKARTA",
"confidence": "99.24%"
},
"postalCode": {
"value": "12240",
"confidence": "98.33%"
}
},
"members": [
{
"name": {
"value": "BUDI SANTOSO",
"confidence": "98.72%"
},
"nik": {
"value": "3174012509870004",
"confidence": "99.31%"
},
"bloodType": {
"value": "O",
"confidence": "95.40%"
},
"gender": {
"value": "LAKI-LAKI",
"confidence": "99.12%"
},
"placeOfBirth": {
"value": "JAKARTA",
"confidence": "98.66%"
},
"dateOfBirth": {
"value": "1987-09-25",
"confidence": "98.20%"
},
"religion": {
"value": "ISLAM",
"confidence": "99.45%"
},
"education": {
"value": "S1",
"confidence": "96.80%"
},
"occupation": {
"value": "KARYAWAN SWASTA",
"confidence": "96.15%"
},
"maritalStatus": {
"value": "KAWIN",
"confidence": "98.05%"
},
"relationship": {
"value": "KEPALA KELUARGA",
"confidence": "97.70%"
},
"citizenship": {
"value": "WNI",
"confidence": "99.50%"
},
"fatherName": {
"value": "SUPARDI",
"confidence": "96.42%"
},
"motherName": {
"value": "SRI WAHYUNI",
"confidence": "96.88%"
}
},
{
"name": {
"value": "DEWI ANGGRAINI",
"confidence": "98.10%"
},
"nik": {
"value": "3174014607900002",
"confidence": "99.05%"
},
"bloodType": null,
"gender": {
"value": "PEREMPUAN",
"confidence": "99.20%"
},
"placeOfBirth": {
"value": "SURABAYA",
"confidence": "97.90%"
},
"dateOfBirth": {
"value": "1990-07-06",
"confidence": "98.44%"
},
"religion": {
"value": "ISLAM",
"confidence": "99.45%"
},
"education": {
"value": "SLTA/SEDERAJAT",
"confidence": "95.60%"
},
"occupation": {
"value": "MENGURUS RUMAH TANGGA",
"confidence": "94.35%"
},
"maritalStatus": {
"value": "KAWIN",
"confidence": "98.05%"
},
"relationship": {
"value": "ISTRI",
"confidence": "98.30%"
},
"citizenship": {
"value": "WNI",
"confidence": "99.50%"
},
"fatherName": {
"value": "HARTONO",
"confidence": "96.02%"
},
"motherName": {
"value": "ENDANG SULISTYOWATI",
"confidence": "95.77%"
}
}
],
"issuedDate": {
"value": "2018-06-20",
"confidence": "97.15%"
},
"issuingCity": {
"value": "JAKARTA SELATAN",
"confidence": "98.61%"
}
},
"missingFields": []
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "72af5d18-9c40-4b6e-8d31-af9027ce5b64",
"verificationType": "kartu_keluarga_details_extraction",
"metadata": null,
"createdAt": "2026-09-01T05:02:44.000000Z"
}
Document OCR
Kartu Keluarga Details Extraction
Extract structured fields from an Indonesian Kartu Keluarga (family card) without creating a Trust Validation.
POST
/
api
/
v3
/
verifications
/
indonesia
/
kartu-keluarga-details-extraction-passthrough
Kartu Keluarga Details Extraction
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form documentImage='@example-file'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough"
files = { "documentImage": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('documentImage', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: multipart/form-data"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough")
.header("Authorization", "Bearer <token>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/indonesia/kartu-keluarga-details-extraction-passthrough")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"documentImage\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Indonesia Kartu Keluarga extraction processed successfully",
"data": {
"outcome": "extracted",
"fields": {
"noKk": {
"value": "3174012509870123",
"confidence": "99.18%"
},
"headOfFamily": {
"value": "BUDI SANTOSO",
"confidence": "98.72%"
},
"address": {
"street": {
"value": "JL. MERPATI RAYA NO. 12",
"confidence": "97.10%"
},
"rt": {
"value": "003",
"confidence": "98.90%"
},
"rw": {
"value": "007",
"confidence": "98.90%"
},
"village": {
"value": "KEBAYORAN LAMA UTARA",
"confidence": "97.55%"
},
"district": {
"value": "KEBAYORAN LAMA",
"confidence": "97.98%"
},
"city": {
"value": "JAKARTA SELATAN",
"confidence": "98.61%"
},
"province": {
"value": "DKI JAKARTA",
"confidence": "99.24%"
},
"postalCode": {
"value": "12240",
"confidence": "98.33%"
}
},
"members": [
{
"name": {
"value": "BUDI SANTOSO",
"confidence": "98.72%"
},
"nik": {
"value": "3174012509870004",
"confidence": "99.31%"
},
"bloodType": {
"value": "O",
"confidence": "95.40%"
},
"gender": {
"value": "LAKI-LAKI",
"confidence": "99.12%"
},
"placeOfBirth": {
"value": "JAKARTA",
"confidence": "98.66%"
},
"dateOfBirth": {
"value": "1987-09-25",
"confidence": "98.20%"
},
"religion": {
"value": "ISLAM",
"confidence": "99.45%"
},
"education": {
"value": "S1",
"confidence": "96.80%"
},
"occupation": {
"value": "KARYAWAN SWASTA",
"confidence": "96.15%"
},
"maritalStatus": {
"value": "KAWIN",
"confidence": "98.05%"
},
"relationship": {
"value": "KEPALA KELUARGA",
"confidence": "97.70%"
},
"citizenship": {
"value": "WNI",
"confidence": "99.50%"
},
"fatherName": {
"value": "SUPARDI",
"confidence": "96.42%"
},
"motherName": {
"value": "SRI WAHYUNI",
"confidence": "96.88%"
}
},
{
"name": {
"value": "DEWI ANGGRAINI",
"confidence": "98.10%"
},
"nik": {
"value": "3174014607900002",
"confidence": "99.05%"
},
"bloodType": null,
"gender": {
"value": "PEREMPUAN",
"confidence": "99.20%"
},
"placeOfBirth": {
"value": "SURABAYA",
"confidence": "97.90%"
},
"dateOfBirth": {
"value": "1990-07-06",
"confidence": "98.44%"
},
"religion": {
"value": "ISLAM",
"confidence": "99.45%"
},
"education": {
"value": "SLTA/SEDERAJAT",
"confidence": "95.60%"
},
"occupation": {
"value": "MENGURUS RUMAH TANGGA",
"confidence": "94.35%"
},
"maritalStatus": {
"value": "KAWIN",
"confidence": "98.05%"
},
"relationship": {
"value": "ISTRI",
"confidence": "98.30%"
},
"citizenship": {
"value": "WNI",
"confidence": "99.50%"
},
"fatherName": {
"value": "HARTONO",
"confidence": "96.02%"
},
"motherName": {
"value": "ENDANG SULISTYOWATI",
"confidence": "95.77%"
}
}
],
"issuedDate": {
"value": "2018-06-20",
"confidence": "97.15%"
},
"issuingCity": {
"value": "JAKARTA SELATAN",
"confidence": "98.61%"
}
},
"missingFields": []
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "72af5d18-9c40-4b6e-8d31-af9027ce5b64",
"verificationType": "kartu_keluarga_details_extraction",
"metadata": null,
"createdAt": "2026-09-01T05:02:44.000000Z"
}
Authorizations
Use your API token as a Bearer token in the Authorization header.
Headers
Example:
"Bearer {your_api_token}"
Body
multipart/form-data
Response
The document was processed. Check data.outcome and verificationStatus to determine the result.

