← Back to directory

Sunrise, sunset, solar noon, day length and the civil, nautical and astronomical...

https://agent402.tools/api/sun-times

Overview

Sunrise, sunset, solar noon, day length and the civil, nautical and astronomical twilights for any point and date, plus the sun's elevation and azimuth at a given time. Computed with the NOAA solar equations; times are UTC, good to about a minute away from the poles. Says so when the sun stays up or down all day.

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Sun times
Source bazaar
Indexed 2026-11-17 21:10:01

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "date": "2026-06-21", "lat": 40.7128, "lon": -74.006, "time": "2026-06-21T16:00:00Z" }, "type": "http" }

Output Schema

{ "example": { "astronomicalDawn": "2026-06-21T07:18:36Z", "astronomicalDusk": "2026-06-22T02:37:12Z", "civilDawn": "2026-06-21T08:51:40Z", "civilDusk": "2026-06-22T01:04:07Z", "date": "2026-06-21", "dayLengthMinutes": 906, "lat": 40.7128, "lon": -74.006, "method": "NOAA solar equations", "nauticalDawn": "2026-06-21T08:09:00Z", "nauticalDusk": "2026-06-22T01:46:47Z", "noonElevation": 72.72, "position": { "azimuth": 140.48, "elevation": 68.88, "time": "2026-06-21T16:00:00.000Z" }, "solarNoon": "2026-06-21T16:57:54Z", "sunrise": "2026-06-21T09:25:05Z", "sunset": "2026-06-22T00:30:42Z", "timezone": "UTC" }, "type": "json" }