{"uid":"cap_3VQdc59lF50wz_dOpnXlv","slug":"thaikit-parse-thai-number-words-e7761c24","name":"ThaiKit Parse Thai Number Words","description":"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=หนึ่งพันสองร้อยบาทห้าสิบสตางค์","url":"https://api.thaikit.dev/parse-number?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Thai number words, e.g. หนึ่งพันสองร้อยบาท"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Eonr2wgUZ6jsvqhvV7mSG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses Thai number words (including บาท/สตางค์, จุด decimals, ล้าน, and Thai digits) into a numeric value","exampleAgentPrompt":"Can you parse the Thai number 'หนึ่งพันสองร้อยบาทห้าสิบสตางค์' into an actual numeric value for me?","exampleUseCases":[{"title":"Extract amount from Thai invoice","prompt":"I've got a scanned Thai invoice and the amount field reads 'สองหมื่นห้าพันบาทถ้วน' — can you convert that to a number so I can enter it into our accounting system?"},{"title":"Process Thai cheque amount","prompt":"This Thai cheque has the written amount 'สี่แสนสองหมื่นสามพันบาทห้าสิบสตางค์' — what is that in digits?"},{"title":"Parse spoken Thai number from transcript","prompt":"My speech-to-text gave me 'ห้าล้านสองแสนบาท' from a Thai audio recording — can you turn that into a plain number?"}],"resultDescription":"Returns a parsed numeric value representing the Thai number words provided, correctly handling baht/satang currency units, จุด decimal notation, ล้าน large-number groupings, mixed digit-word inputs like '5 ล้าน', Thai digit characters, and formal reading conventions (e.g. พันห้า = 1005 matching BAHTTEXT standard).","failureModes":["Unrecognized or malformed Thai number words return an error or null result","Ambiguous input with non-standard spelling may parse incorrectly","Very unusual number constructions outside formal Thai reading conventions may not be handled","Missing required 'text' query parameter returns a 400 error","Non-Thai or mixed-language input that is not a number expression may fail to parse"],"whenToPreferThis":"Use this endpoint when you need to programmatically interpret Thai number words back into numeric values — especially for document processing pipelines involving Thai invoices, cheques, OCR output, or speech transcripts. It is the inverse of BAHTTEXT and applies formal Thai reading conventions, making it suitable for financial and accounting use cases where precision is required. Prefer this over general-purpose LLMs when you need reliable, consistent numeric parsing of Thai currency text at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:36:12.977Z","isFirstParty":false,"canonicalSlug":"thaikit-parse-thai-number-words-e7761c24"}