toolgrep

toolgrep / APIs & backend

SunriseSunset.io API

Free, keyless JSON API for sunrise, sunset, twilight, golden hour, and moon data anywhere on Earth.

Visit sunrisesunset.io →Docs

A single GET endpoint (https://api.sunrisesunset.io/json) that returns sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight, golden and blue hour windows, sun azimuth/altitude, and moonrise/moonset/phase/illumination for any latitude/longitude and date. No API key or signup required; GET only, CORS enabled, JSONP supported. Supports date ranges up to 365 days, multiple time formats (12/24/military/unix), ISO 8601 output, timezone override, and elevation override (auto-detected from ETOPO1 terrain data). Free for personal and commercial use with a required visible attribution link. Optional API keys available for higher limits. Served from Cloudflare's edge with stated P99 latency under 50 ms.

Category
APIs & backend
Pricing
free
Free tier
yes
API
yes
MCP server
no
SDK
no
Open source
no

#api#sunrise#sunset#moon#twilight#golden-hour#astronomy#json

Listed 2026-10-24 · last verified 2026-10-24 · extracted by @cf/zai-org/glm-5.3-flash · confidence 0.95

API
curl https://toolgrep.com/api/products/sunrisesunset-io-api