New: French documentation now available! Switch to French
curl --request POST \
--url https://api.txcloud.io/v1/identity/extract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document_front": "aSDinaTvuI8gbWludGxpZnk=",
"document_type": "<string>",
"country": "<string>",
"document_back": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"object": "identity.extraction",
"extracted_data": {
"document_number": "AE123456",
"first_name": "Mohammed",
"last_name": "El Amrani",
"first_name_arabic": "<string>",
"last_name_arabic": "<string>",
"date_of_birth": "2023-12-25",
"gender": "M",
"nationality": "<string>",
"issue_date": "2023-12-25",
"expiry_date": "2023-12-25",
"address": "<string>",
"place_of_birth": "<string>",
"mrz": "<string>",
"field_confidences": {}
},
"field_confidences": {},
"quality_score": 123
}Extracts data from an identity document using OCR without performing face matching or liveness checks.
Useful for pre-filling forms or document validation.
curl --request POST \
--url https://api.txcloud.io/v1/identity/extract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document_front": "aSDinaTvuI8gbWludGxpZnk=",
"document_type": "<string>",
"country": "<string>",
"document_back": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"object": "identity.extraction",
"extracted_data": {
"document_number": "AE123456",
"first_name": "Mohammed",
"last_name": "El Amrani",
"first_name_arabic": "<string>",
"last_name_arabic": "<string>",
"date_of_birth": "2023-12-25",
"gender": "M",
"nationality": "<string>",
"issue_date": "2023-12-25",
"expiry_date": "2023-12-25",
"address": "<string>",
"place_of_birth": "<string>",
"mrz": "<string>",
"field_confidences": {}
},
"field_confidences": {},
"quality_score": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.txcloud.thetekcircle.io/llms.txt
Use this file to discover all available pages before exploring further.
API key as Bearer token