Ravi Yoga is present when the Moon's nakshatra stands 4, 6, 9, 10, 13 or 20 places from the Sun's. It is treated as an auspicious window that overrides an otherwise unfavourable muhurta, and is commonly used for house-warmings, taking delivery of a vehicle, opening a shop and similar one-off acts.
Because it depends only on the two nakshatras, and not on the lunar day or the weekday, it can be given as continuous windows with exact times rather than as a day flag. The response is `data.rows`, a list of `{start, end}` ISO 8601 timestamps in UTC covering the requested year. Windows are cut at every sunrise inside them, so one continuous three-day span appears as three consecutive rows meeting at the sunrise instants, the way Drik Panchang lays them out. Concatenate adjoining rows if you want the underlying spans back.
Send `year`, `latitude`, `longitude` and `timezone_as_float`. Location affects only the sunrise split points, not the yoga itself. `/api/astro/panchanga_yogas/` reports the same yoga as a day-level flag alongside the tithi- and weekday-dependent ones; use this endpoint when you need exact start and end times.
Request fields
Field
Type
Required
Notes
latitude
number (double)
required
Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first.
longitude
number (double)
required
Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China.
timezone_as_float
number (double)
required
UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset.
year
integer
required
Year of birth as a number, e.g. 1990. Four digits.