UnifyAPI
← Back to catalog

usno.sun_moon

mock data$0.001 / call

Sun & 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.

Space & Astronomyprovider: Usno#usno#space

Input schema

daterequired

Date in YYYY-MM-DD format (e.g. 2026-04-07)

string
latituderequired

Latitude in decimal degrees (e.g. 40.7128 for New York)

number
longituderequired

Longitude in decimal degrees (e.g. -74.0060 for New York)

number

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}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.