Sunrise, Sunset & Twilight Times Scraper
Pricing
$0.40 / 1,000 records
Sunrise, Sunset & Twilight Times Scraper
Sunrise, Sunset & Twilight Times Scraper. No API key required. Pay only per result; empty or failed runs cost nothing.
Pricing
$0.40 / 1,000 records
Rating
0.0
(0)
Developer
Christian Pichichero
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
Sunrise, Sunset & Twilight Times Scraper — a fast, reliable sunrise sunset scraper that needs no API key. You pay only for the results you get: failed or empty runs are always free.
This sunrise sunset scraper runs on the Apify platform, so you can call it from the API, run it on a schedule, or export results to JSON, CSV, Excel, or Google Sheets.
What this scraper does
- Extracts structured sunrise sunset data with no browser or API key required
- Returns clean JSON, one record per result — ready for sheets, databases, or apps
- Pay-per-result pricing: you are never charged for a run that returns nothing
- Runs on demand or on a schedule, and integrates with 5,000+ apps via the Apify API and webhooks
What data you get
Each result record includes fields such as:
- Location (
location) — e.g."M\u00e1laga, Andalusia, Spain" - Latitude (
latitude) — e.g.36.72016 - Longitude (
longitude) — e.g.-4.42034 - Date (
date) — e.g."2026-07-11" - Sunrise (
sunrise) — e.g."2026-07-11T05:06:39+00:00" - Sunset (
sunset) — e.g."2026-07-11T19:39:49+00:00" - Solar Noon (
solarNoon) — e.g."2026-07-11T12:23:14+00:00" - Day Length Seconds (
dayLengthSeconds) — e.g.52390 - Civil Twilight Begin (
civilTwilightBegin) — e.g."2026-07-11T04:38:04+00:00" - Civil Twilight End (
civilTwilightEnd) — e.g."2026-07-11T20:08:24+00:00" - Nautical Twilight Begin (
nauticalTwilightBegin) — e.g."2026-07-11T04:00:50+00:00" - Nautical Twilight End (
nauticalTwilightEnd) — e.g."2026-07-11T20:45:37+00:00" - Astronomical Twilight Begin (
astronomicalTwilightBegin) — e.g."2026-07-11T03:19:36+00:00" - Astronomical Twilight End (
astronomicalTwilightEnd) — e.g."2026-07-11T21:26:51+00:00" - Status (
status) — e.g."OK"
Input
| Field | Type | Description |
|---|---|---|
locations | array | City names to look up, e.g. 'Malaga' or 'Malaga, Spain'. Each is geocoded (Open-Meteo) then resolved to sol... |
latitude | number | Optional direct latitude in decimal degrees. Provide together with longitude to query a precise point witho... |
longitude | number | Optional direct longitude in decimal degrees. Provide together with latitude to query a precise point witho... |
date | string | Date in YYYY-MM-DD (UTC) or the literal "today". Defaults to today. |
maxResults | integer | Maximum number of records to return across all locations. |
Example output
{"type": "sun-times","location": "M\u00e1laga, Andalusia, Spain","latitude": 36.72016,"longitude": -4.42034,"date": "2026-07-11","sunrise": "2026-07-11T05:06:39+00:00","sunset": "2026-07-11T19:39:49+00:00","solarNoon": "2026-07-11T12:23:14+00:00","dayLengthSeconds": 52390,"civilTwilightBegin": "2026-07-11T04:38:04+00:00","civilTwilightEnd": "2026-07-11T20:08:24+00:00","nauticalTwilightBegin": "2026-07-11T04:00:50+00:00","nauticalTwilightEnd": "2026-07-11T20:45:37+00:00","astronomicalTwilightBegin": "2026-07-11T03:19:36+00:00","astronomicalTwilightEnd": "2026-07-11T21:26:51+00:00","status": "OK","timezone": "UTC","url": null,"scrapedAt": "2026-07-11T00:00:00Z"}
Use cases
- Automate research and data collection
- Feed dashboards, sheets, and databases
- Enrich records in your CRM or app
- Monitor changes on a schedule
Pricing
This actor uses pay-per-result pricing at $0.0004 per record. There is no monthly fee and no start fee — and empty or failed runs cost $0, so you only ever pay for data you actually receive.
Frequently asked questions
Do I need an API key or account for the source? No. This sunrise sunset scraper works out of the box with no API key required.
What happens if a run returns no results? You are not charged. Billing is per result, so empty or failed runs are free.
Can I run the sunrise sunset scraper on a schedule? Yes. Use the Apify Scheduler to run it hourly, daily, or on any cron schedule, and get results by webhook or API.
What export formats are supported? Results can be exported as JSON, CSV, Excel, HTML, or pushed to Google Sheets, a database, or your own app via the Apify API.
Is the data structured? Yes. Every sunrise sunset result is a clean, flat JSON record you can use immediately.