Skip to content

Validation API POST

Fast, high-volume checks of an ID number, name and birth date against the Verifined Database.

v1.1Latest Released 19 Oct 2026 DOPA · Verifined Database
Validation API
On this page

The Validation API compares a person's submitted identity information against the Verifined Database. Given a Thai national ID (id_card_no) together with the person's first name, last name and birth date, it confirms whether the record exists and which of those attributes match.

Optimised for low-latency, high-volume workloads, the endpoint validates identity using only the ID card number, name and birth date — no laser ID is required, enabling frictionless checks at scale. Typical applications include user onboarding and KYC, trust-and-safety and fraud prevention, and account-integrity checks.

POSThttps://verifined.co/api/public/v1/thai-id/validate

Request

  • AuthorizationstringRequired

    The API key used to call the Validation API. Your usage is logged against this key.

    ExampleFINEMA xxx...

  • Content-TypestringOptional

    Media type of the request body.

    Exampleapplication/json

Body

  • id_card_nostringRequired

    Thai national ID card number. Must be 13 digits, numbers only, no hyphen (-).

    Example"1103700382xxx"

  • first_namestringRequired

    First name as shown on the ID card. Thai only; must not include a title (e.g. นาย / นาง).

    Example"สมชาย"

  • last_namestringRequired

    Last name as shown on the ID card. Thai only.

    Example"ใจดี"

  • birth_datestringRequired

    Birth date in YYYY-MM-DD, where the year is in AD (CE).

    Example"1991-12-31"

Example request
curl -X POST 'https://verifined.co/api/public/v1/thai-id/validate' \
  --header 'Authorization: FINEMA <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id_card_no": "1103700382xxx",
  "first_name": "สมชาย",
  "last_name": "ใจดี",
  "birth_date": "1991-12-31"
}'

Response

Returned when the request is processed. A correctly formatted id_card_no with no matching record returns HTTP 404 instead (see Result codes).

200JSON
{
  "verified": true,
  "code": "MATCHED",
  "message": "Found; everything matched",
  "tr_id": "3582be57-f84e-4c3c-9fd7-67b4c6169ae9"
}

Response fields

  • verifiedboolean

    true only when the id_card_no, birth date, first name and last name all match. false in every other case, including an invalid id_card_no format.

  • codestring

    Result code. One of MATCHED, NAME_MISMATCH, DOB_MISMATCH, MISMATCH, INVALID_STRING.

  • messagestring

    Human-readable description of the result.

  • tr_idstring

    Unique transaction ID, generated per request (UUID v4). Use for tracing / support.

Result codes

verified is true only when every field matches (MATCHED). The table shows how the main field combinations map to a result. ✓ = matched, ✗ = did not match, — = not evaluated. Invalid = id_card_no fails its format check (13 digits, numeric only); no lookup is performed.

ID noBirth dateFirst nameLast nameverifiedcodemessage
✓✓✓✓trueMATCHEDFound; everything matched
✓✓✓✗falseNAME_MISMATCHFound (id card number and birth date matched); last name did not match
✓✓✗✓falseNAME_MISMATCHFound (id card number and birth date matched); first name did not match
✓✓✗✗falseNAME_MISMATCHFound (id card number and birth date matched); neither first nor last name matched
✓✗✓✓falseDOB_MISMATCHid card number and name matched, but the birth date did not
✓✗✗✗falseMISMATCHOnly the id card number matched; nothing else did
Invalid———falseINVALID_STRINGid_card_no or laser_id has an invalid format.
✗—————HTTP 404 NOT_FOUND

Status codes and charging

HTTPDescriptionCharged
200Result returned successfully — matched, mismatched, or an invalid id_card_no format. Yes
400INVALID_PARAMSA required key is missing from the body. No
400INVALID_TOKENThe Authorization header is missing. No
401INVALID_TOKENThe API key is invalid or expired. No
404URL_NOT_FOUNDThe request path does not exist. No
404NOT_FOUNDid_card_no is correctly formatted but no record was found. No
500INTERNAL_SERVER_ERRORAn unexpected server-side error occurred. No