API Reference / Western Astrology / Western Astrology
GET
30 credits
/v1/western/returns/lunar
Lunar return chart after a given date.
Request
All requests require an Authorization header with your dv_live_* API key.
example request
curl "https://api.lifeastroapi.com/v1/western/returns/lunar?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&from=2026-04-25T00%3A00%3A00Z&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 |
|---|---|---|---|
date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
lat | yes | 19.076 | Birth place latitude in decimal degrees. |
lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
from | yes | 2026-04-25T00:00:00Z | Search-start moment for the next lunar return (RFC3339 UTC). Required — no implicit "now" |
time | no | 10:30 | Birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
house_system | no | — | House system. Phase 2c supports placidus (default), whole_sign, koch, equal. Placidus and Koch reject |lat| > 66° (geometrically undefined inside polar circle); Whole Sign and Equal accept any latitude. |
relocate_lat | no | — | Optional relocation latitude for relocated returns. Both relocate_lat and relocate_lon must be provided together. |
relocate_lon | no | — | Optional relocation longitude for relocated returns. Paired with relocate_lat. |
rulership | no | — | Sign-rulership scheme for House / ASC / MC ruler emission. modern (default) uses post-discovery rulers (Pluto-Scorpio, Uranus-Aquarius, Neptune-Pisces). traditional uses the classical 7-planet scheme (Mars-Scorpio, Saturn-Aquarius, Jupiter-Pisces) — outer planets are not assigned ruling signs. |
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.
200 response
{
"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"
},
"from_utc": "2026-04-25T00:00:00Z",
"return_jd_ut": 2461157.609066,
"return_utc": "2026-04-27T02:37:03Z",
"relocated": false,
"chart_location": {
"lat": 19.076,
"lon": 72.8777,
"alt": 0
},
"ascendant": {
"longitude": 66.893079,
"sign_index": 2,
"sign": "Gemini",
"degree_in_sign": 6.893079,
"dms_in_sign": "06°53'35\"",
"ruler": "Mercury"
},
"mc": {
"longitude": 324.963086,
"sign_index": 10,
"sign": "Aquarius",
"degree_in_sign": 24.963086,
"dms_in_sign": "24°57'47\"",
"ruler": "Uranus"
},
"houses": [
{
"house": 1,
"longitude": 66.893079,
"sign_index": 2,
"sign": "Gemini",
"degree_in_sign": 6.893079,
"dms_in_sign": "06°53'35\"",
"ruler": "Mercury"
},
{
"house": 2,
"longitude": 92.740555,
"sign_index": 3,
"sign": "Cancer",
"degree_in_sign": 2.740555,
"dms_in_sign": "02°44'25\"",
"ruler": "Moon"
}
],
"planets": [
{
"name": "Sun",
"longitude": 36.863458,
"sign_index": 1,
"sign": "Taurus",
"degree_in_sign": 6.863458,
"dms_in_sign": "06°51'48\"",
"speed": 0.97275,
"retrograde": false,
"house": 12,
"latitude": -0.000035
},
{
"name": "Moon",
"longitude": 163.84521,
"sign_index": 5,
"sign": "Virgo",
"degree_in_sign": 13.84521,
"dms_in_sign": "13°50'42\"",
"speed": 12.878085,
"retrograde": false,
"house": 4,
"latitude": -0.576413
}
]
}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.