Hindu calendar: vrats (Ekadashi with parana, Pradosh, Sankashti, Purnima, Amavasya, Masik Shivaratri)
astroway_vedic_calendar_vratsCalculate annual Hindu vrat dates and parana windows for a location and year, including Ekadashi Smarta and Vaishnava observance distinctions.
Instructions
Every vrat of the year for the place. Ekadashi: the Smarta day (Ekadashi at sunrise; two sunrises: the first, unless Dashami touches it at arunodaya; Dwadashi with no sunrise: the day before) and the Vaishnava day where it differs (Dashami-viddha at arunodaya refused, Gauna day, Vanjuli mahadwadashi), each with its parana window outside Hari Vasara and within Dwadashi.
[Group: Vedic] [Endpoint: POST /v1/vedic/calendar/vrats] [Required: year, latitude, longitude] [Cost: 100 credits (Tier 4)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Gregorian year, 1900 to 2100. Entries are those whose date falls in this year. | |
| types | No | Only these vrat types: ekadashi, pradosh, sankashti, purnima, amavasya, masik-shivaratri. All when omitted. | |
| ayanamsa | No | Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either. | |
| latitude | Yes | Latitude in decimal degrees, north positive. Between -66 and 66: further out the Sun does not rise on some days and a Hindu day has no start. | |
| timezone | No | IANA zone name such as Asia/Kolkata, America/New_York or Europe/Kyiv, or auto (default) to look it up from the coordinates. Resolved day by day: each day is read on the offset that zone kept that day, so summer time is followed. | |
| longitude | Yes | Longitude in decimal degrees, east positive. | |
| ayanamsaId | No | ||
| timezoneOffset | No | A fixed offset in hours instead of a zone, for the whole year. Ignored when timezone is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| count | No | ||
| place | No | ||
| types | No | ||
| vrats | No |