/api/astro/return/lunar/1 creditLunar return
The Moon back on its natal degree, roughly every 27.3 days — the monthly chart. Use `count` for a run of months and `search_from` to begin at today rather than at birth. As with the solar return, each result carries its own accuracy in arcseconds.
https://yogataraapi.prahlad.app/api/astro/return/lunar/Authentication
Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.
X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/jsonRequest fields
| Field | Type | Required | Notes |
|---|---|---|---|
| date_time | string (date-time) | required | The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers. |
| count | integer | optional | How many consecutive returns to report, at most 24. min 1 · max 24 |
| keys | array | optional | Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls. |
| latitude | number (double) | optional | Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first. |
| longitude | number (double) | optional | Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China. |
| search_from | string (date-time) | optional | Start looking here instead of at the birth moment. |
| timezone_as_float | number (double) | optional | UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset. min -12 · max 14 |
Example request
curl -X POST https://yogataraapi.prahlad.app/api/astro/return/lunar/ \
-H "X-API-Key: $OCCULT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date_time":"1990-05-10T19:55:00+05:30","timezone_as_float":5.5,"search_from":"2026-01-01T00:00:00+00:00","count":3}'Response
{
"data": {
"body": "moon",
"natal_longitude": 238.259725,
"sign": "Scorpio",
"sign_index": 8,
"degree_in_sign": 28.2597,
"natal_datetime_utc": "1990-05-10T14:25:00Z",
"count": 3,
"returns": [
{
"exact": "2026-01-13T20:02:19Z",
"pass_count": 1,
"passes": [
{
"body": "moon",
"datetime_utc": "2026-01-13T20:02:19Z",
"julian_day_ut": 2461054.3349443,
"longitude": 238.259725,
"error_arcseconds": 0,
"retrograde": false,
"sign": "Scorpio",
"sign_index": 8,
"degree_in_sign": 28.2597
}
]
},
{
"exact": "2026-02-10T03:50:41Z",
"pass_count": 1,
"passes": [
{
"body": "moon",
"datetime_utc": "2026-02-10T03:50:41Z",
"julian_day_ut": 2461081.66020244,
"longitude": 238.259725,
"error_arcseconds": 0,
"retrograde": false,
"sign": "Scorpio",
"sign_index": 8,
"degree_in_sign": 28.2597
}
]
},
{
"exact": "2026-03-09T12:06:22Z",
"pass_count": 1,
"passes": [
{
"body": "moon",
"datetime_utc": "2026-03-09T12:06:22Z",
"julian_day_ut": 2461109.00441822,
"longitude": 238.259725,
"error_arcseconds": 0,
"retrograde": false,
"sign": "Scorpio",
"sign_index": 8,
"degree_in_sign": 28.2597
}
]
}
]
},
"status": 200,
"is_error": false,
"message": "successful"
}Captured from a real call using the exact request above. Results sit under data.
Errors
Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.