Thai Agent API
Request an API key
REST + MCP, built for AI agents

Thai utilities your agent can call, instead of guessing.

Amount in words, Buddhist Era dates, 13-digit ID checks and PromptPay QR payloads. Deterministic, tested, and fast. Pay per call, or take a monthly key.

Get a key See the tools
curl "https://api.sv9.store/v1/thai-date-convert?date=2026-11-25" curl -X POST "https://api.sv9.store/v1/promptpay-build" \ -H "content-type: application/json" \ -d '{"proxy":"0812345678","amount":"150.00"}'

Tools

baht_text
Convert a baht amount (up to 12 integer digits, 2 decimals) to Thai words, e.g. 1234.50 -> "หนึ่งพันสองร้อยสามสิบสี่บาทห้าสิบสตางค์". Used on invoices, cheques and contracts.
From $0.001 per call
thai_date_convert
Convert between Buddhist Era (พ.ศ.) and Gregorian (ค.ศ.) dates; returns both ISO forms, Thai long/short text and Thai weekday.
From $0.001 per call
thai_id_validate
Validate the format and checksum of a 13-digit Thai national ID or tax ID. Format check only; does not confirm the number is issued. The number is not stored or logged and is returned masked.
From $0.001 per call
promptpay_build
Build a Thai PromptPay (EMVCo) QR payload string with CRC16 for a mobile number, 13-digit national/tax ID, or 15-digit e-wallet ID, optionally with a fixed amount. Render the payload as a QR code client-side.
From $0.002 per call
promptpay_validate
Validate a PromptPay QR payload string: TLV structure, CRC16, PromptPay tags, proxy format/checksum, amount. Returns masked proxy and a list of issues.
From $0.002 per call
address_lookup / search / normalize
Thai subdistrict, district, province and postal code lookup. Coming soon, once the reference dataset is loaded.

Plans

Pay per call
No account. Your agent pays per request over HTTP 402 (x402, USDC on Base) and gets the answer back.
From $0.001 per call
Monthly key
One API key for your team or product, a fixed monthly price and a predictable call limit.
฿299 THB per month, 20,000 calls
Starting test price, subject to change.
Request a key
Custom work
Need Thai tax, invoicing or LINE and Shopify integrations built around these tools? We are a Bangkok web and app agency.
Talk to us

What it does not do

These tools are stateless calculators. They never touch member data, payment slips, bank accounts, CRM records or inboxes. ID and PromptPay inputs are checked, then discarded: not stored and not logged. The ID check confirms format and checksum only, not that a number was issued.

Thai Agent API, by O2O Design Solution, Bangkok
silvercloud@o2odesign.com