thai-utility-api
Thai Address Lookup, ID Validation, Phone Carrier Detection & PromptPay QR Generator
2 subscribers
10 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
thai-utility-api endpoints
| Method | Endpoint | Description |
|---|---|---|
| provinces | ||
| GET |
/provinces /provinces |
Returns all 77 provinces with Thai and English names. Filter by geography region or search by name. |
| districts | ||
| GET |
/districts /districts |
Returns all districts (อำเภอ/เขต) for a given province. |
| subdistricts | ||
| GET |
/subdistricts /subdistricts |
Returns all subdistricts (ตำบล/แขวง) with zip codes for a given district. |
| zipcode | ||
| GET |
/zipcode/{code} /zipcode/{code} |
Returns all subdistricts, districts, and provinces matching a Thai zip code. |
| search | ||
| GET |
/search /search |
Full-text search across provinces, districts, and subdistricts. Returns up to 20 results with full address hierarchy. |
| validate | ||
| GET |
/validate/phone/{number} /validate/phone/{number} |
Validates and normalizes Thai phone numbers. Detects mobile/landline, carrier info, formats to international. |
| GET |
/validate/thai-id/{id} /validate/thai-id/{id} |
Validates a 13-digit Thai National ID card number using checksum verification. |
| promptpay | ||
| POST |
/promptpay/qr /promptpay/qr |
Generate a PromptPay QR code (EMVCo standard) for Thai mobile payments. Supports phone numbers and National ID as targets. |
| GET |
/promptpay/qr /promptpay/qr |
Returns QR code as PNG image directly. Useful for embedding in web pages. |
| health | ||
| GET |
/health /health |
Returns API status and data counts. |
thai-utility-api pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $4.99 / month | 20 / minute |
|
| ULTRA | $14.99 / month | 60 / minute |
|
| MEGA | $29.99 / month | 120 / minute |
|