$AUTONOMOCA0xe83c…cc96
AUTONOMOLaunch your API

ThaiKit

api.thaikit.dev

Parse and validate a Thai postal address: split it into house number, moo, village, building, soi, road, subdistrict (ตำบล/แขวง), district (อำเภอ/เขต), province and postcode; match the areas to official names (fixing typos, 'อ.เมือง', กทม.); check the postcode against the subdistrict; and return the address formatted in Thai and English for shipping forms. Body: {"text": "99/1 ม.4 ต.ยางเนิ้ง อ.สาร

Category
Service
Networks
Base
Starting price
$0.005
Paid calls, 30 days
82

Paid endpoints

21 endpoints, sorted by usage. Prices are per request.

EndpointPriceNetworkCalls / 30d
GET/address-search

Find Thai subdistricts by name in Thai or English, tolerant of typos and missing tone marks (for autocomplete and address cleanup). Returns ranked matches with district, province, postcode and official names. Query: ?q=ยางเนิง สารภี (optional &limit=1-50, default 10)

$0.005Base7
POST/address-parse

Parse and validate a Thai postal address: split it into house number, moo, village, building, soi, road, subdistrict (ตำบล/แขวง), district (อำเภอ/เขต), province and postcode; match the areas to official names (fixing typos, 'อ.เมือง', กทม.); check the postcode against the subdistrict; and return the address formatted in Thai and English for shipping forms. Body: {"text": "99/1 ม.4 ต.ยางเนิ้ง อ.สารภี จ.เชียงใหม่ 50140"}

$0.005Base6
GET/postcode

Look up a 5-digit Thai postcode: every subdistrict, district and province it covers, with official Thai and English names and government area codes. Unknown postcodes return 404 (not charged). Query: ?code=50140

$0.005Base6
GET/validate-id

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

$0.005Base6
GET/bahttext

Thai BAHTTEXT: spell a money amount in Thai baht words, as written on Thai cheques, invoices and receipts. Query: ?amount=1234.50

$0.005Base5
GET/phone

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

$0.005Base5
GET/thai-time

Say a 24-hour time the Thai way: colloquial six-hour clock words (ตี, โมงเช้า, บ่าย, โมงเย็น, ทุ่ม) and the formal นาฬิกา form. Query: ?time=14:30

$0.005Base5
GET/keyboard-fix

Fix text typed with the wrong keyboard language (Thai Kedmanee vs English QWERTY), e.g. 'l;ylfu' -> 'สวัสดี'. Direction is detected automatically or set with to=thai|english. Query: ?text=l;ylfu

$0.005Base4
GET/number-text

Spell a plain number (not money) in Thai words; decimals are read digit by digit after จุด. Query: ?number=3.14

$0.005Base4
GET/parse-date

Parse a Thai date string into an ISO date (YYYY-MM-DD). Handles full and abbreviated Thai month names (ตุลาคม, ต.ค.), Buddhist Era (พ.ศ.) and CE years, two-digit years, Thai digits and dd/mm/yyyy. Query: ?text=18 ต.ค. 2569

$0.005Base4
GET/parse-number

Parse a Thai number written in words into a number, e.g. from invoices, cheques or speech transcripts. Handles บาท/สตางค์, จุด decimals, ล้าน, mixed digits like '5 ล้าน', and Thai digits. Uses the formal reading (พันห้า = 1005, matching BAHTTEXT). Query: ?text=หนึ่งพันสองร้อยบาทห้าสิบสตางค์

$0.005Base4
POST/segment

Thai word segmentation (tokenization): split Thai text, which has no spaces between words, into a list of words. Body: {"text": "..."} (max 5000 chars).

$0.005Base4
POST/sort

Sort Thai words or names in Thai dictionary order, which plain code-point sorting gets wrong because of leading vowels (เ แ โ ใ ไ). Body: {"items": ["...", "..."]} (max 1000).

$0.005Base4
GET/thai-date

Convert a Gregorian date to the Thai Buddhist Era calendar (พ.ศ., year + 543) in Thai long, full, short and Thai-digit formats. Query: ?date=2026-10-18

$0.005Base4
GET/business-days

Thai business-day calculator on the Bank of Thailand holiday calendar: is a date a business day (or weekend/holiday), next and previous business day, add N business days (&add=5, negative allowed), or count business days between two dates inclusive (&to=2026-11-30). &region=bangkok counts Bangkok-only special days. Query: ?date=2026-10-22&add=1

$0.005Base2
GET/holidays

Thai bank holidays from the Bank of Thailand's official notices: dates, weekdays, Thai and English names, substitution days, and special or Bangkok-only days. These are the days Thai banks, BAHTNET transfers and cheque clearing close. Year in CE or Buddhist Era (2569). Query: ?year=2026 (optional &month=10)

$0.005Base2
POST/name-parse

Split Thai personal names into title, first name and surname: courtesy (นาย, นางสาว, ด.ช.), academic (รศ.ดร.), medical (นพ., พญ.), royal (ม.ร.ว.) and military/police ranks (พ.ต.อ., ร.อ.หญิง), glued or spaced. Expands abbreviations, gives English titles, gender implied by the title, and the formal full name. For KYC, CRM imports and forms. Body: {"name": "..."} or {"names": [...]} (max 100)

$0.005Base2
POST/normalize

Clean up Thai text that looks right but is stored wrongly, which breaks search, matching and deduplication: joins ํ + า into ำ, เเ into แ, reorders misplaced tone marks, removes duplicated marks, zero-width and other invisible characters, fixes odd spaces, and optionally converts Thai/Arabic digits. Returns every fix made. Body: {"text": "...", "digits": "keep|arabic|thai"} (max 5000 chars)

$0.005Base2
GET/promptpay

Build a Thai PromptPay QR payment payload (EMVCo / Thai QR Payment text) for a mobile number, 13-digit national ID or tax ID, or e-wallet ID, with an optional amount in baht. Checks the ID checksum and adds the CRC. Render the payload as a QR code and any Thai banking app can pay it. Query: ?id=0812345678&amount=150

$0.005Base2
POST/promptpay-parse

Check and read a Thai QR payment payload (PromptPay / EMVCo text from a scanned QR) before paying it: verifies the CRC (catches tampered or mistyped codes), tells PromptPay transfer from bill payment, and returns the recipient (mobile, national ID, tax ID, e-wallet) or biller ID and references, amount, currency, merchant and every field. Body: {"payload": "000201..."}

$0.005Base2
GET/promptpay-qr

Thai PromptPay QR code as a ready-to-send image: PNG (base64 data URL, for LINE, Telegram, email) and SVG, plus the payload text. For a mobile number, 13-digit national ID or tax ID, or e-wallet ID, with an optional amount in baht; any Thai banking app can scan and pay it. Query: ?id=0812345678&amount=150 (optional &size=128-1024 px, default 512)

$0.01Base2

Is this your project? Suggest an edit.