Key facts
- The API returns OpenStreetMap places with opening hours based on sunrise and sunset.
- Coverage includes Canada, the United States, Nepal, Malawi, Tanzania, the Netherlands, Italy and Australia.
- Records can include coordinates, opening-hours rules, place tags and location context.
- Supported formats are JSON, GeoJSON, CSV and Parquet.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches Edmonton).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/sunrise-sunset-opening-hours/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Name | Country | Hours | Wheelchair | Brand | Address | Website | Cuisine |
|---|---|---|---|---|---|---|---|---|
| Monte Santo de Minas | Padaria Boa Massa do Aluno | Brazil | sunrise-sunset | — | — | — | — | — |
| — | Rani Puwa Church | Nepal | sunrise-sunset | yes | — | — | — | — |
| — | Ruinas de Gallardo | Argentina | sunrise-sunset | — | — | — | — | — |
| — | Elebar | Argentina | sunrise-sunset | no | Tarjeta Elebar | Sarmiento & Almafuerte Henderson 6465 | https://www.elebar.com.ar | — |
| — | Plaza El Salar | Chile | sunrise-sunset | — | — | 1505 Paraguay Antofagasta | — | — |
| — | Hogar de Día | Argentina | sunrise-sunset | — | — | Bulevar General Paz Pilar 5972 | — | — |
| Santa Maria | Bar da Ivone | Brazil | sunrise-sunset | — | — | — | — | — |
| Balneário Rincão | Kióski da Baiana | Brazil | sunrise-sunset | — | — | Avenida Aírton Laurindo de Bittencourt Balneário Rincão 88828-000 | — | regional;marmitex_-_prato_feito |
| — | Bingo Candilejas | Paraguay | sunrise-sunset | — | — | 1649 Bruselas Ycuá Satí 001410 | https://choicecasino.com/es/slothalls/paraguay/asuncion/bingo-candilejas | — |
| Iporã do Oeste | Beijo Frio | Brazil | sunrise-sunset | — | — | — | — | ice_cream |
Overview
This API provides OpenStreetMap place records with opening hours expressed relative to sunrise and sunset. Because these schedules change seasonally, the data is useful for finding places whose hours follow daylight rather than a fixed clock schedule.
Developers can use the records to build maps, place finders, schedule-aware directories and location analysis tools. The source is OpenStreetMap contributors, under the ODbL.
Coverage
Country coverage includes Canada, the United States, Nepal, Malawi, Tanzania, the Netherlands, Italy and Australia.
Named areas include Alberta, Illinois, Washington, Abruzzo, New South Wales, England, West Pomeranian Voivodeship, California, Kilifi County and Gelderland. Cities include Edmonton, Spruce Grove, Sydney, Stony Plain, Pescocostanzo, Greater London, Genova, Bam, Chicago, Tornimparte, Apeldoorn and Kołobrzeg.
Fields
Each record can include latitude and longitude, opening_hours in OpenStreetMap format, the place name, settlement class, climate group, population context, flood zone and land-use categories. The properties field contains the place’s OpenStreetMap tags, and source identifies the source dataset.
latLatitudelngLongitudeopening_hoursOpening hours (OpenStreetMap format)propertiesAll OpenStreetMap tags for the placesourceSource datasetnameName of the placesettlement_classCity, town or countrysideclimate_groupClimate groupghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskland_use_categoriesLand use
Queries
Filter records by region, radius, date or selected fields. Use streaming for live queries, or choose a bulk download when you need a whole dataset.
Available formats are JSON, GeoJSON, CSV and Parquet.
Use cases
Build a map of parks, attractions or other places with sunrise-to-sunset schedules. Create a directory that helps people find places open during daylight hours.
Combine opening-hours rules with coordinates to support trip planning, location research or daylight-aware recommendations. Use climate group, flood zone and land-use categories to add context to place analysis.
Pricing
Create an Outerview account, generate an API key on the developer platform and send it as a Bearer token in the Authorization header. The API offers JSON, GeoJSON, CSV and Parquet formats.
A free tier is available for testing. Paid plans raise limits and unlock bulk downloads; see the pricing page for plan details.
Frequently asked questions
Is there an API for places with sunrise-to-sunset opening hours?
Yes, the Outerview Sunrise Sunset Opening Hours API returns place records with schedules based on sunrise and sunset. Records include opening-hours rules, coordinates and OpenStreetMap tags, with options to filter and retrieve data in JSON, GeoJSON, CSV or Parquet.
Is there an API for sunrise-to-sunset opening hours in Sydney?
Yes, the Outerview Sunrise Sunset Opening Hours API covers Sydney, Australia, and returns places with opening hours based on sunrise and sunset. Records include coordinates, OpenStreetMap tags and place context that can support map-based directories and location applications.
What does each Sunrise Sunset Opening Hours API record contain?
The Outerview Sunrise Sunset Opening Hours API returns records with coordinates, opening_hours in OpenStreetMap format, place properties, source, settlement class, climate group, population context, flood zone and land-use categories. A record can also include the place name.
Which countries and cities does the Sunrise Sunset Opening Hours API cover?
The Outerview Sunrise Sunset Opening Hours API covers Canada, the United States, Nepal, Malawi, Tanzania, the Netherlands, Italy and Australia. Named cities include Edmonton, Chicago, Sydney, Genova, Greater London, Apeldoorn, Pescocostanzo, Bam, Spruce Grove, Stony Plain, Tornimparte and Kołobrzeg.
How can I filter sunrise-to-sunset opening hours by city, radius or date?
The Outerview Sunrise Sunset Opening Hours API supports filtering by region, radius, date and selected fields. Use regional filters to narrow results to a city or neighbourhood, and a radius filter to search around a location. Choose the fields you need for your application.
What formats are available, and can I download the full dataset?
The Outerview Sunrise Sunset Opening Hours API provides JSON, GeoJSON, CSV and Parquet formats. You can use streaming for live queries or choose a bulk download for a whole dataset. Paid plans unlock bulk downloads.
How current is the sunrise-to-sunset opening-hours data?
The Outerview Sunrise Sunset Opening Hours API data is refreshed as its sources publish. The records come from OpenStreetMap contributors and describe opening-hours rules that can change seasonally with sunrise and sunset.
How do I get an API key and authenticate requests?
To use the Outerview Sunrise Sunset Opening Hours API, create an Outerview account and generate an API key on the developer platform. Send the key as a Bearer token in the Authorization header when making requests.
Is there a free tier, and what do paid plans include?
The Outerview Sunrise Sunset Opening Hours API has a free tier for testing. Paid plans raise limits and unlock bulk downloads. See the Outerview pricing page for plan details.
How can I use sunrise-to-sunset opening-hours data in Python or JavaScript?
The Outerview Sunrise Sunset Opening Hours API can provide JSON, GeoJSON, CSV or Parquet data for Python and JavaScript applications. Use it to build a daylight-aware place finder for Sydney or a map of places whose schedules follow sunrise and sunset.
Start building with the Sunrise Sunset Opening Hours API
Free to try. Paid plans raise limits and unlock bulk downloads.