Open Data (CC BY 4.0)
Koyomi Days publishes machine-readable astronomical and calendar datasets in JSON and CSV formats for developers, researchers, and writers. All datasets are calculated deterministically at build time using the site core algorithms.
License and Attribution Terms
All datasets on this page are licensed under the Creative Commons Attribution 4.0 International license (CC BY 4.0). You are free to copy, redistribute, transform, and build upon the data for any purpose, including commercial applications, under the condition that you provide proper attribution.
Attribution Requirement
You must attribute the dataset to Koyomi Days (koyomidays.com) and retain a hyperlink to https://koyomidays.com/ in online publications and documentation.
Data source: <a href="https://koyomidays.com/">Koyomi Days</a> (CC BY 4.0)Dataset Catalog
GitHub Open Data Repository (smallcolor/east-asian-calendar-open-data, CC BY 4.0)
All files are generated statically in dist/data/ at site build time.
| Dataset | Coverage | Format | Primary Fields | Download |
|---|---|---|---|---|
| 24 Solar Terms Crossing Moments Sun reaching each 15° celestial longitude step (VSOP87D ephemeris, IAU 1980 nutation, ΔT model). |
2020–2035 | JSON / CSV | term_slug, longitude, utc_iso, jst_iso, cst_iso |
|
| Lunar New Moon Dates Civil calendar start points for each month calculated from the deterministic Hong Kong Observatory table. |
2020–2035 | JSON | phase, lunar_year, lunar_month, is_leap, cst_date |
|
| Daily Rokuyo Cycle Six assignments for each day in Japan Standard Time (JST) with corresponding traditional month and day. |
2024–2030 | JSON | date, rokuyo, rokuyo_index, lunar_month, lunar_day |
|
| Lunar New Year Dates (1900–2100) Gregorian occurrences of the opening month day 1 (1900–2100) with sexagenary year pillar. |
1900–2100 | JSON | lunar_year, gregorian_date, ganzhi |
1900–2100 JSON |
Field Definitions and Data Schema
All JSON datasets include a top-level meta object specifying generator, license, attribution requirement, timestamp, and algorithm rule version.
24 Solar Terms Crossing Moments (solar-terms-<year>.json / .csv)
| Field | Type | Description | Example |
|---|---|---|---|
term_slug | string | Standard slug identifier | lichun |
longitude | integer | Solar ecliptic longitude in degrees | 315 |
utc_iso | string | UTC timestamp in ISO 8601 | 2026-02-03T20:02:07Z |
jst_iso | string | Japan Standard Time (UTC+9) | 2026-02-04T05:02:07+09:00 |
cst_iso | string | China Standard Time (UTC+8) | 2026-02-04T04:02:07+08:00 |
Lunar New Moon Dates (lunar-phases-<year>.json)
| Field | Type | Description | Example |
|---|---|---|---|
phase | string | Lunar phase key | new_moon |
lunar_year | integer | Lunar calendar year | 2026 |
lunar_month | integer | Lunar month number (1..12) | 1 |
is_leap | boolean | Leap month indicator | false |
lunar_month_name | string | Traditional month name | 正月 |
cst_date | string | Civil date in UTC+8 | 2026-02-17 |
src/core engine calculates deterministic lunar civil calendar days (朔日, Day 1 of each lunar month) via the lunar-hko/2 ephemeris table. Because core does not implement a continuous syzygy crossing solver for exact minute-level conjunctions and oppositions, this dataset outputs civil new moon dates; full moon crossing moments are not extrapolated.Daily Rokuyo Cycle (rokuyo-<year>.json)
| Field | Type | Description | Example |
|---|---|---|---|
date | string | Civil date in JST | 2026-01-01 |
rokuyo | string | Rokuyo term name | 大安 |
rokuyo_index | integer | Zero-based index 0..5 | 0 |
lunar_year | integer | Old calendar year | 2025 |
lunar_month | integer | Old calendar month | 11 |
lunar_day | integer | Old calendar day | 13 |
is_leap | boolean | Leap month indicator | false |
Lunar New Year Dates (1900–2100) (lunar-new-year.json)
| Field | Type | Description | Example |
|---|---|---|---|
lunar_year | integer | Lunar year (1900–2100) | 2026 |
gregorian_date | string | Gregorian date of Day 1 | 2026-02-17 |
ganzhi | string | Sexagenary year pillar | 丙午 |
Calculation Methodology and Update Cadence
Dates and times are calculated using deterministic algorithms without external runtime API dependencies. For ephemeris and astronomical principles, refer to the solar terms reference。
Static datasets are permanent for their rule version. Ephemeris adjustments and annual rollovers are deployed with scheduled repository updates.