v1
latestOpenAPI 3.0.32026-07-1393468.5 KBRetrieve sunrise, sunset, moonrise, moonset and moon phase for a single point.
Retrieve sunrise, sunset, moonrise, moonset and moon phase for a single point.
get/astronomy/point
Query parameters
latnumber float required
Latitude in decimal degrees (-90 to 90)
lngnumber float required
Longitude in decimal degrees (-180 to 180)
startstring date-time
Timestamp in UTC for the first hour to include in the forecast - ex. 2026-03-06T05
endstring date-time
Timestamp in UTC for the last hour to include in the forecast - ex. 2026-03-12T05
Response
Astronomy data
Example response
{
"data": [
{
"astronomicalDawn": "2026-04-06T01:19:34+00:00",
"astronomicalDusk": "2026-04-06T20:23:04+00:00",
"civilDawn": "2026-04-06T03:18:21+00:00",
"civilDusk": "2026-04-06T18:24:17+00:00",
"moonPhase": {
"closest": {
"text": "Third quarter",
"time": "2026-04-09T15:49:00+00:00"
},
"current": {
"text": "Waning gibbous",
"time": "2026-04-06T00:00:00+00:00"
}
},
"moonrise": "2026-04-05T23:05:20+00:00",
"moonset": "2026-04-06T04:09:23+00:00",
"nauticalDawn": "2026-04-06T02:24:15+00:00",
"nauticalDusk": "2026-04-06T19:18:22+00:00",
"sunrise": "2026-04-06T04:01:10+00:00",
"sunset": "2026-04-06T17:41:28+00:00",
"time": "2026-04-06T00:00:00+00:00"
}
],
"meta": {
"lat": 59.33,
"lng": 18.069,
"start": "2026-03-06T05:00:00+00:00",
"end": "2026-03-06T05:00:00+00:00",
"dailyQuota": 500,
"requestCount": 49
}
}