Panchanga (GET)
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
- Base URL: https://api.asterwise.com
- URL: https://api.asterwise.com/v1/astro/panchanga
- Auth: HTTP bearer
Query parameters
Date, YYYY-MM-DD (local civil date at the place).
City name, used when latitude/longitude/timezone are not given.
Latitude in decimal degrees, north positive.
Longitude in decimal degrees, east positive.
IANA timezone, e.g. Asia/Kolkata.
Optional local time HH:MM; without it the day is the sunrise-to-sunrise day beginning on the date.
Ayanamsa system: lahiri (default), raman, kp, or tropical for a zero offset, as on every other chart endpoint
civil also returns civil_day: the windows between local midnight and midnight.
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.