← Back to directory

Sunrise, sunset, solar noon, day length and the sun's elevation at noon for any ...

https://opendata402.com/v1/sun

Overview

Sunrise, sunset, solar noon, day length and the sun's elevation at noon for any latitude, longitude and date, computed with the NOAA solar algorithm (accurate to about a minute; times in UTC; polar day and night handled). Use it for solar panel and lighting schedules, photography, outdoor work planning and daylight-dependent automations.

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category media/images
Provider opendata402
Source bazaar
Indexed 2026-10-14 10:31:48

Health

Status healthy
Latency (p50) 292ms
Uptime (30d) 90.9%
Reliability Score 90.5/100
Last Checked 2026-10-31 07:13:33
Last Healthy 2026-10-31 07:13:33
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "date": "2026-12-21", "lat": "52.3676", "lon": "4.9041" }, "type": "http" }

Output Schema

{ "example": { "date": "2026-12-21", "day_length_min": 461, "sunrise_utc": "2026-12-21T07:48:00Z", "sunset_utc": "2026-12-21T15:29:00Z" }, "type": "json" }