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 --fail-with-body --location --max-time 30 'https://api.sunrise-sunset.org/v2?lat=3.1390&lng=101.6869'

AI prompt

I'm building an app using a public Southeast Asian API (no private credentials needed).

API: Sunrise-Sunset ~ keyless solar times
Provider: Sunrise-Sunset.org
Endpoint: GET https://api.sunrise-sunset.org/v2?lat=3.1390&lng=101.6869
Response format: 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 and display this data. Follow the documented format and handle errors, empty responses, stale coverage, 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