{"uid":"cap_Oz_VkqR6LsL-gMXb8itLi","slug":"thaikit-thai-date-converter-gregorian-to-buddhist-era-097e6257","name":"ThaiKit Thai Date Converter (Gregorian to Buddhist Era)","description":"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","url":"https://api.thaikit.dev/thai-date?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":["date"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Gregorian date, YYYY-MM-DD"}}}},"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_zGVg6AYBB_-FdyzSBFfQx","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":"Converts a Gregorian date (YYYY-MM-DD) to the Thai Buddhist Era (พ.ศ.) calendar in multiple Thai-language formats: long, full, short, and Thai-digit.","exampleAgentPrompt":"What is October 18, 2026 in the Thai Buddhist Era calendar? Show it in all available Thai formats including the Thai-digit style.","exampleUseCases":[{"title":"Thai invoice date localization","prompt":"I need to display the date 2025-04-01 on a Thai invoice in the full Thai Buddhist Era format — can you convert it for me?"},{"title":"Thai government document date formatting","prompt":"For a Thai government form, I need the date 2024-12-31 written out in Thai long format with the Buddhist Era year (พ.ศ.)."},{"title":"Birthday in Thai calendar","prompt":"My friend's birthday is 1990-08-15 — what does that look like in the Thai Buddhist calendar? Give me the short and Thai-digit versions."}],"resultDescription":"Returns the input Gregorian date converted to Thai Buddhist Era (พ.ศ., which is Gregorian year + 543), presented in multiple Thai-language formats: long (วันที่ ... เดือน ... พ.ศ. ...), full, short, and Thai-digit representations of the date.","failureModes":["Missing or malformed 'date' query parameter (not matching YYYY-MM-DD pattern) returns a validation error","Invalid calendar date (e.g. month 13 or day 32) may return an error or undefined behavior","Network timeout if the api.thaikit.dev service is unavailable","Payment failure (x402) if the 0.005 USDC per-call fee is not fulfilled"],"whenToPreferThis":"Use this endpoint when you need to display or store dates in the Thai Buddhist Era calendar system, particularly for Thai government documents, invoices, official records, or any user-facing Thai-language application that must render dates in พ.ศ. format. It is the right choice over manual computation (year + 543) because it also provides proper Thai-language month names and digit formatting in multiple standard Thai formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:32:50.597Z","isFirstParty":false,"canonicalSlug":"thaikit-thai-date-converter-gregorian-to-buddhist-era-097e6257"}