API Documentation

Detect National ID Card and Signature from a Photocopied Paper.

Thai National ID Card Front Side and Signature Detection

Checking Signature on Document and Recognizing text information on National ID Card

POST https://api.iapp.co.th/thai-national-id-card-with-signature/front

Headers

NameTypeDescription

apikey*

String

Your API Key to call this API

Request Body

NameTypeDescription

file*

File

The binary data of the image, uploaded via POST multipart/form-data

{
    "address_district": "บางละมุง",
    "address_full": "33/349 หมู่ที่ 7 ต.หนองปรือ อ.บางละมุง จ.ชลบุรี",
    "address_number": "33/349 หมู่ที่ 7",
    "address_postal_code": "20150",
    "address_province": "ชลบุรี",
    "address_subdistrict": "ต.หนองปรือ",
    "date_of_birth": "22 มี.ค. 2500",
    "date_of_expire": "21 มี.ค. 2568",
    "file_name_id_card": "front.jpg",
    "fullname_en": "Mrs. Bunyang Lopez",
    "fullname_th": "นาง บุญยัง โลเปช",
    "init_en": "Mrs.",
    "init_th": "นาง",
    "name_en": "Bunyang",
    "name_th": "บุญยัง",
    "national_id": "3411700830334",
    "process_time": 2.1,
    "reason_code_api": 200,
    "reason_code_id_card": 1,
    "reason_code_id_card_national_id": 1,
    "reason_code_id_card_signature": 0,
    "reason_codename_id_card_signature": 1,
    "request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx",
    "surname_en": "Lopez",
    "surname_th": "โลเปช"
}

Return Value

NameTypeDescription

address_district

String

District Name

address_full

String

Full Address

address_number

String

Home Address

address_postal_code

String

Postal Code

address_province

String

Province Name

address_subdistrict

String

Sub District Name

date_of_birth

String

Date of Birth in Thai

date_of_expire

String

Date of Expiry in Thai

file_name_id_card

String

Filename of image

fullname_en

String

Name and Surname in English

fullname_th

String

Name and Surname in Thai

init_en

String

Name Title in English

init_th

String

Name Title in Thai

name_en

String

Name in English

name_th

String

Name in Thai

national_id

String

National ID Number

process_time

Float

Processing Time (sec.)

reason_code_api

Integer

Response Status Code

reason_code_id_card

Integer

Reason Code of ID Card Detection

reason_codename_id_card

Integer

Reason when ID Card Not Found

reason_code_id_card_national_id

Integer

Reason Code of National ID Number Verification

reason_code_id_card_signature

Integer

Reason Code of Signature Detection

reason_codename_id_card_signature

Integer

Reason when Signature Not Found

request_id

String

Request ID from API

surname_en

String

Surname in English

surname_th

String

Surname in Thai

Last updated