Tools / Sunrise & Sunset
Sunrise & Sunset icon

Sunrise & Sunset

Solar times & golden hour anywhere

Precise solar times for any city or GPS coordinate on any date. Returns sunrise, sunset, solar noon, twilight phases, day length, and golden hour windows. For photographers, outdoor apps, and travel planners.

1 skillv0.02
Sunrise & Sunset Times

Get sunrise, sunset, twilight times, day length, and golden hour windows for any location and date. Supports city names or coordinates.

Returns: Sunrise, sunset, twilight times, day length, and golden hour windows
Parameters
location *stringCity name or coordinates as "lat,lon" (e.g. "Paris" or "48.8566,2.3522")
datestringDate in YYYY-MM-DD format or "today" (default: today)
Example
Sunrise and sunset in Paris
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "sunrise-sunset",
  "skill": "times",
  "input": {
    "location": "Paris"
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.022026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.012026-03-20
  • Initial release

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"sunrise-sunset","skill":"times","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Get Photography Golden Hour Times

Get Photography Golden Hour Times

Find exact golden hour and blue hour times for any location to plan the perfect photo shoot.

Sunrise & Sunset icon
Sunrise & Sunset
4 agent guides
Open Plan Outdoor Event Timing

Plan Outdoor Event Timing

Schedule outdoor events around sunset and daylight hours for the best experience.

Sunrise & Sunset icon
Sunrise & Sunset
4 agent guides
Open Search Papers by Topic

Search Papers by Topic

Find relevant academic papers on any research topic across millions of scholarly publications.

Academic Research icon
Academic Research
4 agent guides
Open Geocode Addresses to Coordinates

Geocode Addresses to Coordinates

Convert street addresses into precise latitude and longitude coordinates for mapping and spatial analysis.

Address Geocoding icon
Address Geocoding
4 agent guides
View all use cases for Sunrise & Sunset

Frequently Asked Questions

Can I use a city name or do I need coordinates?

Either works. Pass a city name or `lat,lon` coordinates as the location.

Can I check solar times for a specific date?

Yes. Add a `date` in `YYYY-MM-DD` format. If you leave it out, the tool uses today.

Does it return twilight and golden hour too?

Yes. It includes civil, nautical, and astronomical twilight, plus morning and evening golden hour windows.

Can I reuse the same location without typing it every time?

Yes. You can save a default latitude and longitude as credentials and reuse them for repeat checks.