22 Services from api.thaikit.dev
Returns the Thai lunar calendar details for a given Gregorian date, including lunar day/month, Buddhist holy days, and year type, or lists all holy days in a given month.
$0.005/messageGenerates a Thai PromptPay QR code as a PNG (base64 data URL), SVG, and raw payload text for a given Thai mobile number, national ID, tax ID, or e-wallet ID, with an optional payment amount in baht.
$0.01/messageValidates and normalizes a Thai phone number, returning its type (mobile, landline, toll-free, hotline/short code), national format, and E.164 (+66) representation.
$0.005/messageSplits Thai personal names into structured components: title (courtesy, academic, medical, royal, military/police), first name, and surname, with abbreviation expansion and English translations
$0.005/messageLook up all subdistricts, districts, and provinces covered by a 5-digit Thai postcode, with official Thai and English names and government area codes.
$0.005/messageParses a raw Thai postal address string into structured components, validates the postcode against the subdistrict, and returns the address formatted in both Thai and English.
$0.005/messageCleans and normalizes Thai text by fixing encoding artifacts, misplaced tone marks, duplicate marks, invisible characters, and space issues, with optional digit conversion
$0.005/messageConverts a Gregorian date (YYYY-MM-DD) to the Thai Buddhist Era (พ.ศ.) calendar in multiple Thai-language formats: long, full, short, and Thai-digit.
$0.005/messageGenerates a Thai PromptPay EMVCo QR payment payload (with CRC checksum) for a mobile number, national/tax ID, or e-wallet ID, with an optional baht amount, and renders it as a scannable QR code.
$0.005/messageReturns official Thai bank holiday data from the Bank of Thailand for a given year (and optionally month), including dates, Thai/English names, weekday, substitution days, and special or Bangkok-only designations.
$0.005/messageParses and validates a Thai PromptPay/EMVCo QR payment payload: verifies the CRC checksum, identifies the payment type, and extracts all fields including recipient, amount, and currency.
$0.005/messageParses Thai number words (including บาท/สตางค์, จุด decimals, ล้าน, and Thai digits) into a numeric value
$0.005/messageFuzzy-searches Thai subdistricts by name in Thai or English, returning ranked matches with district, province, postcode, and official names — tolerant of typos and missing tone marks.
$0.005/messageSplits Thai text into a list of individual words by performing tokenization on input that lacks spaces between words
$0.005/messageConverts a 24-hour time into both colloquial Thai six-hour clock expressions and the formal นาฬิกา notation
$0.005/messageConverts a numeric baht amount into Thai words (BAHTTEXT) as written on Thai cheques, invoices, and receipts
$0.005/messageValidates a 13-digit Thai national ID or company tax ID by checksum and returns it formatted as x-xxxx-xxxxx-xx-x
$0.005/messageCalculates Thai business days using the Bank of Thailand holiday calendar: checks if a date is a business day, finds next/previous business days, adds/subtracts N business days, or counts business days between two dates.
$0.005/messageSorts a list of Thai words or names in correct Thai dictionary order, handling leading vowels (เ แ โ ใ ไ) that trip up plain Unicode code-point sorting.
$0.005/messageConverts text typed with the wrong keyboard layout between Thai Kedmanee and English QWERTY, automatically detecting and reversing the mismatch.
$0.005/messageParses a Thai date string (Buddhist Era, Thai month names, Thai digits, or dd/mm/yyyy) into an ISO 8601 date (YYYY-MM-DD).
$0.005/messageConverts a plain number (integer or decimal) into its Thai word spelling, with decimals read digit-by-digit after จุด
$0.005/message