Calculate precise moonrise and moonset times for any location and date. Get the current moon phase, visibility status, and know when the moon will be above the horizon. Essential for astrophotography, fishing activity planning, stargazing, and lunar observation applications.
{
"status": "ok",
"error": null,
"data": {
"coordinates": {
"latitude": 37.7749,
"longitude": -122.4194
},
"phase": "Waning Crescent",
"moonrise": "2025-12-16T12:24:41.532Z",
"moonset": "2025-12-16T22:22:04.027Z",
"moonAlwaysUp": false,
"moonAlwaysDown": false
}
}






Calculate precise moonrise and moonset times for any location and date. Get the current moon phase, visibility status, and know when the moon will be above the horizon. Essential for astrophotography, fishing activity planning, stargazing, and lunar observation applications.
A single authenticated GET with the location you care about — no SDK required.
GET /v1/moonrisemoonset?query=… x-api-key: your_key
Each request pulls from multiple upstream sources and computes the derived fields for you.
One structured object, typically under 200 ms — ready to render.
{ coordinates, phase, moonrise, … }
Real applications shipping on this endpoint today — each with the numbers that made it worth wiring up.
See every use caseQuery moonrise and moonset times for your shooting location to find windows of moon-free darkness for Milky Way shots, or plan moon photography sessions when it's optimally visible.
Get precise moonrise and moonset times for your fishing location. These mark minor feeding periods according to Solunar Theory. Combined with moon phase, you can predict the best fishing windows.
Check moonrise and moonset times to find windows of complete darkness. A moon that sets early or rises late gives you hours of prime dark sky observation time.
Copy a working request, or install a typed SDK. Same endpoint, same key.
const res = await fetch("https://api.apiverve.com/v1/moonrisemoonset?lat=37.7749&lon=-122.4194&date=01-16-2026", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);Every related API ships with your key — no separate plans, no extra keys, one bill.
See pricingReady-made recipes for Zapier, Make, and n8n — trigger on an event, and the data lands where your team works.
The same key unlocks every other APIVerve endpoint — reach for them when you need them.
Browse the catalog