PASAR API

🌐 Sunrise-Sunset ~ keyless solar times

← directory
Sunrise-Sunset.orgMaps & locationtier: openauth: no authpricing: freeverified 2026-06-29

Keyless sunrise/sunset, solar-noon, day-length and twilight times for any lat/long as JSON, no signup. Global, works for MY.

View docs ↗ More Maps & location APIs

Call it

curl 'https://api.sunrise-sunset.org'

AI prompt

I'm building an app using a free Southeast Asian API (no auth needed).

API: Sunrise-Sunset ~ keyless solar times
Provider: Sunrise-Sunset.org
Endpoint: GET https://api.sunrise-sunset.org
It returns JSON.

Source: Sunrise-Sunset.org (https://sunrise-sunset.org/api)
Source type: Curated source
Endpoint type: Provider API base URL
Integration difficulty: Copy-paste ready
Last checked: 2026-06-29
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Maps & location APIs

OneMap ~ Singapore's official map: geocoding, routing & themesMapbox Geocoding API ~ forward/reverse geocodingGoogle Maps PlatformHERE Location ServicesRadar Maps PlatformNominatim (OpenStreetMap)Malaysia PostcodesTomTom Maps & RoutingAzure MapsFoursquare Places API