# ThaiKit Thai National ID / Tax ID Validator

> ThaiKit Thai National ID / Tax ID Validator is a paid API for AI agents from api.thaikit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Validates a 13-digit Thai national ID or company tax ID by checksum and returns it formatted as x-xxxx-xxxxx-xx-x

## Facts

- Endpoint: GET https://api.thaikit.dev/validate-id?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/thaikit-thai-national-id-tax-id-validator-efea9cbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jm0dYAGIGcWmd9hSnLB-5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability thaikit-thai-national-id-tax-id-validator-efea9cbf
```

Example prompt: Can you check if 1101700230708 is a valid Thai national ID number and show me the properly formatted version?

## When to prefer this

Use this endpoint when you need fast, offline-style checksum and format verification of Thai national IDs or company tax IDs — for example during form validation, KYC pre-screening, or invoice processing. It is not a government registry lookup, so it cannot confirm whether an ID was actually issued, but it reliably eliminates invalid or mistyped numbers.

## Known failure modes

- ID is not 13 digits after stripping spaces and dashes — returns invalid format error
- Checksum digit does not match computed value — returns checksum failure
- Non-numeric characters other than dashes/spaces provided — returns format error
- Missing or empty id query parameter — returns bad request

## How this service works

Validate a 13-digit Thai national ID or company tax ID by its checksum and format it (x-xxxx-xxxxx-xx-x). Checks format only; it does not look up whether the ID was issued. Query: ?id=1101700230708

## Output

Returns whether the 13-digit Thai national ID or company tax ID passes checksum validation and its properly formatted representation as x-xxxx-xxxxx-xx-x. Does not confirm the ID was actually issued by the government — only structural/checksum validity is checked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "13-digit Thai ID, dashes and spaces allowed"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/thaikit-thai-national-id-tax-id-validator-efea9cbf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.thaikit.dev](https://www.zero.xyz/host/api.thaikit.dev/llms.txt)
