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