# Chinese Lunar Date Converter

> Chinese Lunar Date Converter is a paid API for AI agents from chinese-culture.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Converts a Gregorian date to its Chinese lunar calendar equivalent (or back), returning the lunar year, month, day, zodiac animal, heavenly stem-earthly branch year name, and leap-month flag.

## Facts

- Endpoint: GET https://chinese-culture.x402tookit.com/lunar-date?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chinese-lunar-date-converter-5145c536
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_woCKipxM6TC0fmpfkDXLV

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 chinese-lunar-date-converter-5145c536
```

Example prompt: What is the Chinese lunar calendar date for March 15, 2025? I'd also like to know the zodiac animal and the year pillar name in pinyin.

## When to prefer this

Choose this endpoint when you need authoritative bidirectional conversion between the Gregorian and Chinese lunar calendar, including correct handling of leap months, the sexagenary (stems-and-branches) year cycle, and zodiac animal — especially when the output will be used for traditional Chinese cultural events, birthday calculations, or holiday scheduling between 1930 and 2100.

## Known failure modes

- Date out of supported range (1930–2100) returns an error or empty result
- Malformed date string (wrong format, invalid day/month) causes a validation error
- Leap-month suffix used for a month that is not actually a leap month in that year returns an error
- Missing both 'date' and 'lunar' query parameters results in an error response
- Network or service degradation flag set to true in the response indicating partial/unreliable data

## How this service works

Convert a Gregorian date to the Chinese lunar date (with leap month) or back, plus zodiac animal and year name.

## Output

Returns the Chinese lunar year number, lunar month number, lunar day, a boolean flag for whether the month is a leap month, the number of days in that lunar month, the traditional month name, the year pillar (heavenly stem + earthly branch in Chinese characters and pinyin), the zodiac animal, the corresponding Gregorian date, and a flag indicating whether the date is Chinese New Year's Day.

## 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": [],
     "properties": {
      "date": {
       "type": "string",
       "description": "Gregorian YYYY-MM-DD (1930 to 2100) to convert to lunar"
      },
      "lunar": {
       "type": "string",
       "description": "Lunar YYYY-MM-DD to convert to Gregorian; add an L after the month for a leap month: 2023-02L-01"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "element": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "lunarDay": {
       "type": [
        "null",
        "number"
       ]
      },
      "gregorian": {
       "type": [
        "null",
        "string"
       ]
      },
      "leapMonth": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "lunarYear": {
       "type": [
        "null",
        "number"
       ]
      },
      "monthName": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "lunarMonth": {
       "type": [
        "null",
        "number"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "yearPillar": {
       "type": [
        "null",
        "s
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chinese-lunar-date-converter-5145c536/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chinese-culture.x402tookit.com](https://www.zero.xyz/host/chinese-culture.x402tookit.com/llms.txt)
