Moon-Service-API
Real-time moon phases, lunar eclipses, and sun times for any location. Supports city names with automatic timezone detection. Includes moonrise/set, illumination, distance. Based on NASA JPL ephemeris data.
Moon-Service-API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Get current moon data using city name /api/v1/current |
Get current moon data using city name |
| GET |
Get next lunar events using city name /api/v1/next |
Get next lunar events using city name |
| GET |
Get moon distance info using city name /api/v1/distance |
Get moon distance info using city name |
| GET |
Get solar data using city name /api/v1/sun? |
Get solar data using city name |
| GET |
Get upcoming lunar eclipses using city name /api/v1/eclipses |
Get upcoming lunar eclipses using city name |
Moon-Service-API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5 / month | — |
|
| ULTRA | $10 / month | — |
|