Sunrise & Sunset gives you precise solar times for any location on any date — sunrise, sunset, golden hour windows, solar noon, twilight phases, and day length, all in one call.
It covers photographers planning the perfect shoot, travel apps showing daily light windows, and anyone who needs to know exactly when the sun will rise or set in a city they've never been to. Pass a city name or GPS coordinates, and optionally a date, to get the full picture — from astronomical twilight through civil dawn, golden hour, solar noon, and back to dusk.
What you can do
- times — get sunrise, sunset, solar noon, all twilight phases, day length, and morning and evening golden hour windows for any location and date
Who it's for
Photographers, filmmakers, travel planners, outdoor event organizers, and anyone building apps that depend on natural light timing. Works for any city worldwide.
How to use it
- Call times with a city name like "Tokyo" or coordinates like "48.8566,2.3522"
- Add a date in YYYY-MM-DD format for a specific day — omit it to get today's times
- For photography, use the golden_hour.morning and golden_hour.evening fields — these are the ideal shooting windows
- Save your home coordinates as credentials so you never have to pass them again
Getting started
No setup needed — just pass any city name or coordinates. Save your default latitude and longitude as credentials to make repeat queries instant.