Astro Research Labs API
The API exposes deterministic astrological calculations as JSON-over-HTTPS. Endpoints accept structured inputs (date, time, location, ayanamsa) and return structured outputs (planetary positions, nakshatras, and dashas).
Base URL: https://astroresearch.in
Authentication
Request a free API key and send it in the Authorization: Bearer header on every calculation or location request.
Quickstart
Replace YOUR_API_KEY with the key from your email. This example returns nine Vimshottari Mahadasha periods.
curl https://astroresearch.in/v1/major_vdasha \
-H "Authorization: Bearer YOUR_API_KEY" \
-d 'day=21&month=8&year=1994&hour=14&min=35&lat=28.6139&lon=77.2090&tzone=5.5'Endpoints
POST /v1/birth/snapshotResolve a birthplace and return planetary positions and dashas for a date and time.
POST /v1/planets/extendedSidereal planetary positions, signs, nakshatras, padas, and other chart details.
POST /v1/major_vdashaCalculate the nine major Vimshottari periods from birth details.
POST /v1/current_vdashaFind the active dasha periods for the supplied birth details.
GET /v1/locations/searchLook up a city’s coordinates and IANA time zone before running a calculation.
Send birth snapshots as JSON with place_of_birth, date_of_birth (YYYY-MM-DD), and time_of_birth (HH:MM). For planets and dashas, send URL-encoded form data as shown above. Place searches take a q query parameter, such as q=New+Delhi.
Errors
A missing or invalid key returns HTTP 401. Invalid inputs return HTTP 422 with details in the JSON response.
Rate limits
The API has no daily or monthly call quota. Each key can make up to 30 requests per minute, subject to available capacity. If you receive HTTP 429, wait for the time in the Retry-After header.