API Almanac
API reference › Moon

Moon phase, illumination and the next new and full moons

GET/v1/moon

GET/v1/moon

Moon phase, illumination and the next new and full moons

Add lat and lon to get moonrise and moonset for that day.

PARAMETERS
datequery · string
Date or ISO-8601 instant (default now)
e.g. 2026-10-08
latquery · number
Latitude, for moonrise and moonset
e.g. -90
lonquery · number
Longitude, for moonrise and moonset
e.g. -180
tzquery · string
IANA zone for local times
e.g. string
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/moon" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "at": "2026-10-08T12:00:00Z",
  "phase": "Waning Crescent",
  "phase_fraction": 0.91,
  "illumination": 0.08,
  "age_days": 26.9,
  "waxing": false,
  "next_new_moon": "2026-10-10T15:50:00Z",
  "next_full_moon": "2026-10-26T04:12:00Z",
  "moonrise": null,
  "moonset": null
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.