Chinese zodiac animal for a birth date (public, no key)
The same answer as POST /chinese/zodiac/animal, served anonymously: animal, stem, branch and element of the solar year the date falls in. The year turns at Li Chun (around 4 February), not on 1 January, so send time and timezoneOffset for a birth near that boundary. animalName, fixedName and cyclingName follow ?lang=; the English identifiers stay as they are. Costs 1 unit of the public bucket. Pair it with GET /public/chinese/zodiac/texts for the reading.
Query parameters
Language for this call, overriding Accept-Language. The canonical per-call form: a page that renders in one language passes it here rather than reconfiguring its client. Unknown or inactive codes fall back to uk.
Comma-separated dotted paths, relative to data, to keep in the response. A path is applied to every element of an array, so planets.name means the name of each planet. Paths that match nothing come back in _fields_unmatched; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer.
Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute.
Headers
BCP-47 language (e.g. uk, en, de). Set it once on your HTTP client as its default; for a single call, ?lang= overrides it. Unknown or inactive codes fall back to uk.
Request body
Example request
{
"timezone": "Europe/Kyiv"
}Response
OK
Example response
{
"ok": true,
"_footer": "Powered by astroway.api - get your own key at https://api.astroway.info"
}Changes
Changed in 1 of the 29 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○