Bookmark

Add this page to bookmarks from your browser’s menu or share options.

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
All years
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
All years
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
All years
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)

FieldTypeDescriptionExample
term_slugstringStandard slug identifierlichun
longitudeintegerSolar ecliptic longitude in degrees315
utc_isostringUTC timestamp in ISO 86012026-02-03T20:02:07Z
jst_isostringJapan Standard Time (UTC+9)2026-02-04T05:02:07+09:00
cst_isostringChina Standard Time (UTC+8)2026-02-04T04:02:07+08:00

Lunar New Moon Dates (lunar-phases-<year>.json)

FieldTypeDescriptionExample
phasestringLunar phase keynew_moon
lunar_yearintegerLunar calendar year2026
lunar_monthintegerLunar month number (1..12)1
is_leapbooleanLeap month indicatorfalse
lunar_month_namestringTraditional month name正月
cst_datestringCivil date in UTC+82026-02-17
Lunar phases note: The 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)

FieldTypeDescriptionExample
datestringCivil date in JST2026-01-01
rokuyostringRokuyo term name大安
rokuyo_indexintegerZero-based index 0..50
lunar_yearintegerOld calendar year2025
lunar_monthintegerOld calendar month11
lunar_dayintegerOld calendar day13
is_leapbooleanLeap month indicatorfalse

Lunar New Year Dates (1900–2100) (lunar-new-year.json)

FieldTypeDescriptionExample
lunar_yearintegerLunar year (1900–2100)2026
gregorian_datestringGregorian date of Day 12026-02-17
ganzhistringSexagenary 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.