API Reference
This page lists every capability by its API-key scope. For exact parameters, required/optional fields and response schemas, use the full reference generated from the live API — the one place those can't drift out of sync with what's actually deployed.
Capabilities
Kundli / Birth Chart API
Generate a full Vedic birth chart — ascendant, planetary placements and nakshatra — from a date, time and place of birth.
chart:read
View details →Panchang API
Hindu calendar data for a date and location — tithi, nakshatra, yoga, karana and muhurta.
panchang:read
View details →Planetary Positions API
Current or historical positions for all major planetary bodies used in Vedic astrology.
planetary:read
View details →Dasha Periods API
Vimshottari maha-dasha and antar-dasha timelines for a birth chart.
dasha:read
View details →Kundli Matching API
Guna milan compatibility scoring between two birth charts.
match:read
View details →PDF Report API
Generate downloadable astrology reports as PDFs, billed as prepaid credits.
report:read
View details →One verified example
The birth chart endpoint's request shape, as already used by this application's own customer dashboard:
curl -X POST https://api.astrologyservice.in/v1/chart \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"birth":{"year":1990,"month":6,"day":15,"hour":10,"minute":30,"latitude":23.02,"longitude":72.57,"timezone":"Asia/Kolkata"}}'
const res = await fetch("https://api.astrologyservice.in/v1/chart", { method: "POST", headers: { "X-API-Key": "YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ birth: { year: 1990, month: 6, day: 15, hour: 10, minute: 30, latitude: 23.02, longitude: 72.57, timezone: "Asia/Kolkata" } }) }); const chart = await res.json();
$response = Http::withHeaders([ 'X-API-Key' => 'YOUR_API_KEY', ])->post('https://api.astrologyservice.in/v1/chart', [ 'birth' => [ 'year' => 1990, 'month' => 6, 'day' => 15, 'hour' => 10, 'minute' => 30, 'latitude' => 23.02, 'longitude' => 72.57, 'timezone' => 'Asia/Kolkata', ], ]);