Thailand Postal Code API
Look up postal code (rahat praisani)s in Thailand with PostalDataPI — sub-10ms responses, one API key for 70+ countries.
Country Code
TH
Format
NNNNN
Example
10100
About Thailand postal code (rahat praisani)s
Thailand uses 5-digit postal codes. Bangkok codes start with 10.
Local term: postal code (rahat praisani) | Regex pattern: ^\d{5}$
API Usage Examples
cURL
curl -X POST https://postaldatapi.com/api/lookup \
-H "Content-Type: application/json" \
-d '{"zipcode": "10100", "country": "TH", "apiKey": "YOUR_API_KEY"}'Python
from postaldatapi import PostalDataPI
client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("10100", country="TH")
print(result.place_name, result.latitude, result.longitude)Node.js
import { PostalDataPI } from 'postaldatapi';
const client = new PostalDataPI({ apiKey: 'YOUR_API_KEY' });
const result = await client.lookup('10100', { country: 'TH' });
console.log(result.placeName, result.latitude, result.longitude);$0.000028 per query
Same price for Thailand and all 70+ countries. No tiers, no per-country pricing.