Skip to content
AstroWay/api v2.157.18 · feng-shui
all systems operational

Tong Shu (date selection)

Tong Shu (通書) is the Chinese almanac people traditionally pick a date from. Two of its layers are exactly computable, and those are the two implemented here: the twelve day officers (建除十二神) and the twenty-eight mansions (二十八宿).

EndpointCreditsWhat it returns
POST /v1/chinese/tong-shu10One day: day pillar, officer, mansion, the animal it clashes
POST /v1/chinese/tong-shu/select20The days in a range the register endorses for one activity

One rule. The day whose earthly branch equals the month’s branch is 建 Establish, and the twelve run in order from there. The month here is bounded by the exact solar term, not by the first of the calendar month, so an officer can change mid-month.

#中文NameWhat the day is about
1EstablishBeginning, not completing
2RemoveClearing out, getting rid of
3滿FullFullness, signing, opening
4BalanceLevel, ordinary, safe
5StableWhat is meant to last
6ControlTaken in hand
7DestructionThe day that clashes the month
8DangerHeight and exposure
9SuccessThe most auspicious of the twelve
10CollectGathering in, receiving
11OpenOpening, guests, new roles
12CloseSealing; the qi at its lowest

The mansion advances one per day on an unbroken 28-day cycle, and that cycle is locked to the week: 角 is always Thursday, because 28 is exactly four weeks. The property is not decorative, it is the check: a wrong anchor would either shift the sequence against the published almanac or break the weekday.

Terminal window
curl -X POST https://api.astroway.info/v1/chinese/tong-shu \
-H "X-Api-Key: aw_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "date": "2026-09-12" }'

Activities: marriage, opening, moving, travel, contract, construction, demolition, medical, funeral, education.

  • The officers against a published worked example: December 2020 in the Rat month, where 11 December is the first Establish day and 8, 9 and 10 December are Collect, Open and Close. All four match.
  • The mansions against a Japanese almanac’s day-by-day sequence for August 2026: twenty consecutive days, from 女 on the 1st to 角 on the 20th. Plus the weekday invariant, checked across a century of dates.
  • The day pillar is now pinned by the three published dates (1949-10-01 甲子, 2000-01-01 戊午, 2024-02-10 甲辰) that its own comment had named for months without anything asserting them.

Selection runs on the officers, not on the mansions. The mansion is reported for every day but does not filter: its per-activity register varies between almanacs, and we do not invent one. The 神煞 spirit tables are absent for the same reason: dozens of overlapping series with no agreement between sources.

Was this helpful?
Suggest an edit

Last updated: