Both zodiacs: the Western sun sign and the Chinese animal.
asternym_zodiacThe Sun's sign from its apparent ecliptic longitude, with a cusp reported rather than resolved by assuming noon, and the Chinese animal, element and polarity with the Lunar New Year boundary. Note the two calendars differ on purpose: the Chinese year here turns at Lunar New Year, while the BaZi year pillar turns at Li Chun. The same thing over HTTP: POST https://asternym.com/api/v1/zodiac.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone, e.g. Asia/Singapore. Required when lat and lng are given. | |
| lat | No | Decimal degrees. | |
| lng | No | Decimal degrees. | |
| date | Yes | Local civil date, YYYY-MM-DD. Required. | |
| time | No | Local clock time, HH:MM. Omit if unknown; nothing is assumed and noon is never substituted. | |
| agent | No | Optional: the name of the agent or product calling. Logged for usage counts; never required, never verified. |