Skip to main content
Log in Get Started
API Docs Stage 1 · REST & MCP calculation reference (`/api/v1`)
Browse the API

Endpoint

Moon

Phase, position, and next major phase for a datetime.

GET /api/v1/moon
POST /api/v1/moon

Parameters

Field Required Notes
date no ISO-8601 datetime; default now
year, month, day no Alternative to date
hour, minute no Default 12:00 when a date is given
  • Response is Response.minimal plus top-level date. Result includes phase, position, next_major_phase, days_until_new, longitude, latitude, distance_km, apparent_size, age_days.