POST · VEDIC

Amavasya Dates

Endpoint POST https://starsapi.com/api/v3/vedic/panchang/amavasya

Returns the month's Amavasya (new moon) dates with both reckonings: the Darsha Amavasya (astronomical new moon — the date used for Darsha Shraddha and Pitru Tarpan) and the Udaya-Tithi observance date (sunrise rule with Vriddhi/Kshaya handling). The two often differ — the sample shows new moon on June 14 with observance on June 15 — and dates_differ flags exactly that. Each entry carries its festival identity, adhik flag, Hindu month in both systems, and the full tithi window.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
yearintegerYesCalendar year.
monthintegerYesMonth, 1–12 — the list is filtered to this month; summary and next still consider the whole year.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone (e.g. Asia/Kolkata).

Response shape

FieldTypeDescription
amavasyas[]arrayPer entry: name + Hindi, alt_name/significance, is_adhik, hindu_month (both systems), darsha_amavasya (astronomical date + new-moon time), udaya_tithi (observance date, tithi type, sunrise count), dates_differ, tithi_window.
nextobjectThe next upcoming Amavasya from today (same shape).

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad year/month.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
405METHOD_NOT_ALLOWEDNon-POST request.

See also