Planetary hours
The 24 planetary hours for a date and place, with the planet ruling each hour. Sunrise to sunset and sunset to the next sunrise are each split into 12 equal parts, so hours are longer by day in summer and shorter in winter. The first hour after sunrise belongs to the planet of the weekday (Sunday Sun, Monday Moon, Tuesday Mars, Wednesday Mercury, Thursday Jupiter, Friday Venus, Saturday Saturn); the rest follow the Chaldean order Saturn, Jupiter, Mars, Sun, Venus, Mercury, Moon. Same calculation as /v1/astro/panchanga/hora, with Western naming and both local and UTC times.
GET works tooGET /v1/western/planetary-hours: Same answer as the POST route with the same fields as query parameters; cacheable (public, 10 minutes). Current-moment flags such as is_current may lag by up to the cache age.
Request parameters
Response fields
weekday (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.weekday in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.day_ruler (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.day_ruler in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.{"Sun": ...} -> {"Sun": "सूर्य"}, {"varna": ...} -> {"varna": "वर्ण"}), in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; the keys themselves never change.