# ThaiKit Thai Phone Number Validator

> ThaiKit Thai Phone Number 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 and normalizes a Thai phone number, returning its type (mobile, landline, toll-free, hotline/short code), national format, and E.164 (+66) representation.

## Facts

- Endpoint: GET https://api.thaikit.dev/phone?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-phone-number-validator-98a7d426
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WwXpRWYJGSYVf37KXs0xw

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-phone-number-validator-98a7d426
```

Example prompt: Can you validate the Thai phone number 0812345678 and tell me whether it's a mobile or landline number, and what the E.164 format is?

## When to prefer this

Use this endpoint when you need to validate, classify, or normalize Thai phone numbers specifically — especially when handling mixed input formats (0, +66, 0066) and needing both the national and E.164 representations alongside the line type. Prefer this over generic international phone validators when Thai-specific type classification (hotline short codes, toll-free 1800 lines) is required.

## Known failure modes

- Invalid or non-Thai number format returns a validation error
- Missing 'number' query parameter returns a 400 bad request
- Numbers that are too short or too long for any Thai category return invalid
- Non-numeric characters that don't match any known prefix pattern return an error

## How this service works

Validate and normalize a Thai phone number: type (mobile, landline, toll-free, hotline short code), national format and E.164 (+66). Accepts 0, +66 and 0066 prefixes. Query: ?number=0812345678

## Output

Returns the phone number type (mobile, landline, toll-free, or hotline/short code), the number in Thai national format, and the international E.164 representation (e.g. +66812345678). Handles input in 0, +66, or 0066 prefix styles.

## 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": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string",
       "description": "Thai phone number in any common format"
      }
     }
    }
   },
   "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-phone-number-validator-98a7d426/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)
