API Reference / Western Astrology / Western Astrology
/v1/western/transits/exact
Find exact moment when a transit planet aspects a natal planet.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/western/transits/exact?birth.date=1990-01-15&birth.tz=Asia%2FKolkata&birth.lat=19.076&birth.lon=72.8777&transit_planet=Saturn&natal_planet=Sun&aspect=square&from=2026-01-01T00%3A00%3A00Z&to=2027-01-01T00%3A00%3A00Z&birth.time=10%3A30" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
birth.date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
birth.tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
birth.lat | yes | 19.076 | Birth place latitude in decimal degrees. |
birth.lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
transit_planet | yes | Saturn | Transit body name. |
natal_planet | yes | Sun | Natal body name. |
aspect | yes | square | Aspect kind to bisect for. |
from | yes | 2026-01-01T00:00:00Z | Start of search window (RFC3339 UTC). Required — cannot |
to | yes | 2027-01-01T00:00:00Z | End of search window (RFC3339 UTC). Window capped at 5 years. |
birth.time | no | 10:30 | Birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
{
"birth": {
"birth_date": "1990-01-15",
"birth_time": "10:30",
"location": {
"lat": 19.076,
"lon": 72.8777,
"alt": 0
},
"tz": "Asia/Kolkata",
"house_system": "placidus"
},
"query": {
"transit_planet": "Saturn",
"natal_planet": "Sun",
"aspect": "square",
"from": "2026-01-01T00:00:00Z",
"to": "2027-01-01T00:00:00Z"
},
"events": [],
"not_found": true
}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://lifeastroapi.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 1,500 free credits. Sign up.