# ThaiKit Thai Date Parser

> ThaiKit Thai Date Parser 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).

Parses a Thai date string (Buddhist Era, Thai month names, Thai digits, or dd/mm/yyyy) into an ISO 8601 date (YYYY-MM-DD).

## Facts

- Endpoint: GET https://api.thaikit.dev/parse-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-parser-29056d7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bivcvdlg4Luq3S5O0tUE9

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-parser-29056d7a
```

Example prompt: Can you parse '18 ต.ค. 2569' from this Thai invoice and give me the standard ISO date so I can store it in our database?

## When to prefer this

Use this endpoint when you need to reliably parse Thai-language date strings — especially those using Buddhist Era years (พ.ศ.), Thai month names (full or abbreviated), or Thai numeral digits — into machine-readable ISO dates. It is purpose-built for Thai locale date normalization and handles edge cases that generic date parsers miss, such as the +543-year offset between Buddhist Era and Gregorian calendars and Thai script digits.

## Known failure modes

- Unrecognized date format returns an error or null result
- Ambiguous two-digit year may resolve to unexpected century
- Non-date Thai text returns a parsing error
- Missing or empty 'text' query parameter causes a 400 Bad Request
- Malformed Thai digits that don't correspond to valid dates may fail parsing

## How this service works

Parse a Thai date string into an ISO date (YYYY-MM-DD). Handles full and abbreviated Thai month names (ตุลาคม, ต.ค.), Buddhist Era (พ.ศ.) and CE years, two-digit years, Thai digits and dd/mm/yyyy. Query: ?text=18 ต.ค. 2569

## Output

Returns an ISO 8601 date string in YYYY-MM-DD format derived from the input Thai date text. Handles Buddhist Era (พ.ศ.) and CE years, full and abbreviated Thai month names, Thai digit characters (๐-๙), two-digit years, and dd/mm/yyyy formatted strings.

## 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": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Thai date text, e.g. 18 ตุลาคม 2569 or ๑๘/๑๐/๖๙"
      }
     }
    }
   },
   "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-parser-29056d7a/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)
