/v1/transit/positions
Current sidereal positions of all planets.
What this tells you
Live sidereal positions of all 9 planets. Used for transit overlays on natal charts, horoscope generation, and daily muhurta calculations. Not birth-specific — it's a snapshot of the sky at a moment.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/transit/positions?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
-H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"Response (200 OK)
Successful requests return a JSON body. Field names are stable across versions.
{
"at_moment": "2026-04-19T14:30:00+05:30",
"ayanamsa": "lahiri",
"transits": [
{ "planet": "Sun", "longitude": 6.12, "sign": "Aries", "sign_index": 1, "degree_in_sign": 6.12, "retrograde": false, "nakshatra": "Ashwini", "pada": 2 },
{ "planet": "Moon", "longitude":112.88, "sign": "Cancer", "sign_index": 4, "degree_in_sign": 22.88, "retrograde": false, "nakshatra": "Ashlesha", "pada": 1 },
{ "planet": "Mars", "longitude":248.71, "sign": "Sagittarius","sign_index": 9, "degree_in_sign": 8.71, "retrograde": false, "nakshatra": "Mula", "pada": 3 },
{ "planet": "Mercury", "longitude": 14.20, "sign": "Aries", "sign_index": 1, "degree_in_sign": 14.20, "retrograde": false, "nakshatra": "Bharani", "pada": 3 },
{ "planet": "Jupiter", "longitude": 2.15, "sign": "Aries", "sign_index": 1, "degree_in_sign": 2.15, "retrograde": false, "nakshatra": "Ashwini", "pada": 1 },
{ "planet": "Venus", "longitude":341.85, "sign": "Pisces", "sign_index": 12, "degree_in_sign": 11.85, "retrograde": false, "nakshatra": "Uttara Bhadrapada", "pada": 2 },
{ "planet": "Saturn", "longitude":321.40, "sign": "Aquarius", "sign_index": 11, "degree_in_sign": 21.40, "retrograde": false, "nakshatra": "Purva Bhadrapada", "pada": 2 },
{ "planet": "Rahu", "longitude":324.10, "sign": "Aquarius", "sign_index": 11, "degree_in_sign": 24.10, "retrograde": true, "nakshatra": "Purva Bhadrapada", "pada": 3 },
{ "planet": "Ketu", "longitude":144.10, "sign": "Leo", "sign_index": 5, "degree_in_sign": 24.10, "retrograde": true, "nakshatra": "Purva Phalguni", "pada": 3 }
]
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| at_moment | string | Reference moment. Defaults to "now" if no params. example: "2026-04-19T14:30:00+05:30" |
| transits[] | array of 9 | Current sidereal positions of all 9 grahas. example: […] |
| transits[].longitude | number | Sidereal longitude right now. example: 6.12 |
| transits[].retrograde | boolean | Current retrograde status. example: false |
Usage tips
How to use it
- Overlay on natal chartFor "your current transits" UI, render transit positions as an outer ring around the natal D1 chart.
- Cache brieflyTransit positions change slowly for outer planets but Moon moves ~13°/day. Cache for at most 15 minutes.
Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://divyastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 500 free credits. Sign up.