Endpoints
{
"years": {
"2027": {
"date": "2027-02-06",
"lantern_festival": "2027-02-20",
"zodiac": "Goat",
"element": "Yin Fire"
}
}
}
{
"festivals": [
{
"id": "mid-autumn",
"name": "Mid-Autumn Festival",
"name_zh": "中秋节",
"emoji": "🥮",
"dates": { "2026": "2026-09-25", "2027": "2027-10-15" }
}
]
}
{ "signs": { "Goat": { "zh": "羊", "traits": [...], "lucky_numbers": [2,7] } } }{
"lucky": { "numbers": [2,6,8,9] },
"unlucky": { "numbers": [4,7] },
"by_zodiac": { "Goat": [2,7], "Dragon": [1,6,7] }
}
{
"taboos": [
{ "item": "Clock", "zh": "钟", "severity": "high",
"reason": "Sounds like 'attending a funeral' (送钟/送终)" }
]
}
Usage Examples
JavaScript / fetch
fetch('https://chinesefortunetools.online/api/chinese-new-year.json')
.then(r => r.json())
.then(d => console.log(d.years['2027']))
Python
import requests
r = requests.get('.../api/festivals.json')
data = r.json()
cURL
curl https://chinesefortunetools.online/api/chinese-new-year.json | python3 -m json.tool
Attribution (optional)
Data from ChineseFortuneTools.online — not required but appreciated.
Data Sources & License
All data is CC0 (public domain) — use freely in commercial or personal projects with no attribution required.
Source: github.com/daligao/year-of-goat-2027 — star the repo if it saved you time.
Data accuracy: CNY dates verified against HK Observatory lunar calendar. Festival dates 2025–2028.