# ThaiKit Thai Date Converter (Gregorian to Buddhist Era)

> ThaiKit Thai Date Converter (Gregorian to Buddhist Era) is a paid API for AI agents from api.thaikit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Converts a Gregorian date (YYYY-MM-DD) to the Thai Buddhist Era (พ.ศ.) calendar in multiple Thai-language formats: long, full, short, and Thai-digit.

## Facts

- Endpoint: GET https://api.thaikit.dev/thai-date?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/thaikit-thai-date-converter-gregorian-to-buddhist-era-097e6257
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Oz_VkqR6LsL-gMXb8itLi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability thaikit-thai-date-converter-gregorian-to-buddhist-era-097e6257
```

Example prompt: What is October 18, 2026 in the Thai Buddhist Era calendar? Show it in all available Thai formats including the Thai-digit style.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/thaikit-thai-date-converter-gregorian-to-buddhist-era-097e6257/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.thaikit.dev](https://www.zero.xyz/host/api.thaikit.dev/llms.txt)
