← Back to catalog
usno.sun_moon
mock data$0.001 / callSun & Moon Rise/Set Times
Get sunrise, sunset, moonrise, moonset, and transit times for any location and date. Includes civil/nautical/astronomical twilight. Used for photography golden hour, agriculture planning, outdoor events. Source: USNO.
Input schema
daterequired
stringDate in YYYY-MM-DD format (e.g. 2026-04-07)
latituderequired
numberLatitude in decimal degrees (e.g. 40.7128 for New York)
longituderequired
numberLongitude in decimal degrees (e.g. -74.0060 for New York)
Call via REST
curl -X POST https://unifyapi.pro/api/call/usno.sun_moon \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"date":"<date>","latitude":0,"longitude":0}'