UtilitiesSandbox
Monthly Moon Timeline API
Build a monthly calendar of lunar phases.
POST
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "moon-timeline" to POST /v1/astrology/calculate from your server with your API key.
Provide integer year (1900–2100) and month (1–12). Optional tz_str is an IANA time zone and defaults to UTC.
request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters":{"year":2026,"month":11},"operation":"moon-timeline"}'Response
What comes back.
Verified sandbox response excerpt
{
"data": {
"operation": "moon-timeline",
"engineVersion": "mantrilo-vedic-1",
"result": {
"year": 2026,
"month": 11,
"month_name": "November",
"days_in_month": 30,
"calendar_basis": "utc",
"calendar_timezone": "Etc/UTC",
"days": [
{
"calendar_date": "2026-11-01",
"timestamp": "2026-11-01T00:00:00.000Z",
"phase": {
"name": "Last Quarter",
"phase_angle_deg": 258.88902488043,
"illumination": 0.597462390575014,
"age_days": 21.339852731481482,
"distance_km": 369932.52874942805,
"is_waxing": false
},
"next_phases": {
"new_moon": "2026-11-09T07:02:42.392Z",
"first_quarter": "2026-11-17T11:48:27.140Z",
"full_moon": "2026-11-24T14:54:04.191Z",
"last_quarter": "2026-11-01T20:28:58.794Z"
}
}
]
}
},
"calculated": true
}Utilities
Build with the result
Render data.result.days with calendar_date, phase.name, illumination (0–1) and next_phases.
A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.
Related Utilities capabilities
