Sun Position API: Azimuth, Elevation, Sunrise, Sunset avatar

Sun Position API: Azimuth, Elevation, Sunrise, Sunset

Pricing

from $0.50 / 1,000 solar records

Go to Apify Store
Sun Position API: Azimuth, Elevation, Sunrise, Sunset

Sun Position API: Azimuth, Elevation, Sunrise, Sunset

Solar azimuth and elevation, sunrise, sunset, solar noon, twilight and golden hour for any coordinates and date range. Batch many sites per run. NOAA solar equations, no API key.

Pricing

from $0.50 / 1,000 solar records

Rating

0.0

(0)

Developer

CipherHouse Labs

CipherHouse Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 hours ago

Last modified

Features

Limited permissions

Share

Sun Position API: Solar Azimuth, Elevation, Sunrise & Sunset

Calculate solar azimuth and elevation angle, sunrise, sunset, solar noon, civil / nautical / astronomical twilight and golden hour for any latitude and longitude, past or future. Batch many sites and a date range in one run. No API key.

Uses the solar equations published by the NOAA Global Monitoring Laboratory (J. Meeus, Astronomical Algorithms). Not affiliated with NOAA.

Quickstart

One HTTP call returns the data (get your Apify token):

curl -X POST "https://api.apify.com/v2/acts/cipherhouse~sun-position-calculator/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"locations":[{"name":"Berlin","latitude":52.52,"longitude":13.405}],"startDate":"2026-12-01","intervalMinutes":60}'

Use it from Claude, Cursor or n8n (MCP)

$claude mcp add --transport http sun-position "https://mcp.apify.com/?tools=cipherhouse/sun-position-calculator"

It also works with Apify schedules, webhooks, Make, Zapier and the n8n Apify node.

Output

A daily summary per site and date:

{
"site": "Berlin",
"date": "2026-12-01",
"type": "daily_summary",
"sunrise": "2026-12-01T06:54:19Z",
"solar_noon": "2026-12-01T10:55:23Z",
"sunset": "2026-12-01T14:56:06Z",
"day_length_minutes": 482,
"max_elevation_deg": 15.7,
"declination_deg": -21.837
}

With intervalMinutes above 0, also timed positions with time, azimuth_deg (clockwise from north), elevation_deg (refraction-corrected) and above_horizon.

Use cases

  • Solar PV and shading studies: sun path per site through the year
  • Photography and film scheduling: golden hour and twilight
  • Smart blinds, lighting, agriculture and outdoor event planning

Pricing

Pay per event: $0.50 per 1,000 rows ($0.0005 each) plus $0.00005 per start.

Limits

  • Sunrise/sunset are typically accurate to about a minute between latitudes ±72°; less near the poles. Terrain and local weather are ignored.
  • Times use the fixed utcOffsetMinutes you set (no automatic daylight saving).
  • Not for navigation or safety-critical use.