All AI Data API - Sun position, sunrise / sunset, civil twilight and clear-sky solar irradiance for any place and time
https://allai-api.allaihq.workers.dev/v1/tools/solar_positionOverview
For a latitude/longitude, returns the sun's elevation and azimuth (with refraction) at the times you give, plus sunrise, sunset, solar noon, civil / nautical / astronomical dawn and dusk and day length for up to 14 days, and a clear-sky irradiance estimate (Haurwitz model, W/m2) for solar-powered sensors and robots. Drone pilots can use civil twilight for daylight-operation pla $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.