Sunrise, sunset, solar noon, and twilight times for any coordinates and date. Free, no key required.
https://api.apiclearinghouse.com/v1/call/sunrise-sunsetAuthenticate with X-Api-Key: chk_live_... header.
/times| Name | Type | Required | Description |
|---|---|---|---|
| lat | number | required | Latitude (-90 to 90) |
| lng | number | required | Longitude (-180 to 180) |
| date | string | optional | Date in YYYY-MM-DD format (default: today) |
| tzid | string | optional | IANA timezone ID for result times (e.g. America/New_York) |
curl -s "https://api.apiclearinghouse.com/v1/call/sunrise-sunset/times?lat={lat}&lng={lng}&date={date}&tzid={tzid}" \
-H "X-Api-Key: YOUR_API_KEY"{
"status": "success",
"data": {
"status": "example",
"sunset": "example",
"sunrise": "example",
"day_length": "example",
"solar_noon": "example"
}
}No setup required. Sign in and run Sunrise / Sunset directly from your browser.
Open in Explorer →Monthly limits also apply per plan.