POST /v1/nakshatra/all-planets
Nakshatra for every planet in the chart.
curl -X POST https://api.grahaapi.com/v1/nakshatra/all-planets -H "Authorization: Bearer sk-test-your-key" -H "Content-Type: application/json" -d '{"dob":"1990-06-15","gender":"male","lat":28.6139,"lon":77.209,"name":"Rahul Sharma","tob":"10:30","tz":5.5}'
Test keys (sk-test-…) are free and unlimited, and return the exact production response structure computed from a fixed sample chart. The response is JSON: {"success": true, "data": {…}, "meta": {…}} with Hindi + English strings, computed on the Lahiri ayanamsa.
| Field | Type | Required | Description |
|---|---|---|---|
dob | string | ✅ | Date of birth YYYY-MM-DD |
tob | string | null | — | Time of birth HH:MM (24h, local) — omit for sunrise chart |
lat | number | ✅ | Latitude of birth place |
lon | number | ✅ | Longitude of birth place |
tz | number | — | UTC offset (IST = 5.5) |
name | string | null | — | Full name (optional) |
gender | string | null | — | 'male' or 'female' (optional, needed for Kua number) |
{
"dob": "1990-06-15",
"gender": "male",
"lat": 28.6139,
"lon": 77.209,
"name": "Rahul Sharma",
"tob": "10:30",
"tz": 5.5
}
Get a free API key Try it in the playground
/v1/nakshatra/compatibility · /v1/nakshatra/dashansha · /v1/nakshatra/full · /v1/nakshatra/lagna · /v1/nakshatra/moon · /v1/nakshatra/pada