Golden hour where you'll be standing,
anywhere on Earth.

Other ephemerides APIs work out sunrise at sea level. Ours corrects for your elevation: at 4 000 m the sun comes up roughly 8 to 14 minutes earlier than a sea-level calculation says, depending on latitude and season.

Read the API docs See pricing

Golden hour in the response

The morning and evening windows come pre-computed, so your app doesn't have to derive them from twilight angles.

Corrected for elevation

Every response uses the elevation-corrected horizon. On the summit of Mount Fuji at the June solstice, that moves sunrise 11 minutes earlier.

Plan a season ahead

Business plans forecast up to 365 days ahead. Subscribe to the iCal feed and your phone calendar keeps itself up to date.

Everything a photo planner needs in one call

curl -H "Authorization: Bearer $THIRDTRAIL_KEY" \
  "https://thirdtrail.life/v1/ephemerides/?lat=35.3606&lon=138.7274&elevation=3776&days=14&tz=Asia/Tokyo"

The summit of Mount Fuji, two weeks ahead. Each day in the response has sunrise and sunset, transit (solar noon), the four twilight phases, and the golden-hour and blue-hour windows.

Response excerpt:

{
  "days": [
    {
      "date": "2026-06-21",
      "sun": {
        "rise":     "2026-06-21T04:19:09+09:00",
        "set":      "2026-06-21T19:14:29+09:00",
        "transit":  "2026-06-21T11:46:49+09:00",
        "golden_hour": {
          "morning_start": "2026-06-21T03:57:15+09:00",
          "morning_end":   "2026-06-21T04:54:18+09:00",
          "evening_start": "2026-06-21T18:39:20+09:00",
          "evening_end":   "2026-06-21T19:36:23+09:00"
        },
        "blue_hour": { "..." }
      }
    }
  ]
}

Why photographers care about elevation

LocationSunrise (sea level)Sunrise (actual elevation)Difference
Mauna Kea summit (4 207 m)05:43:5105:34:019.8 min earlier
Mount Fuji summit (3 776 m)04:30:2404:19:0911.2 min earlier
Teide summit (3 715 m)07:10:0907:00:0610.1 min earlier
Skellig Michael (218 m)05:23:1505:19:084.1 min earlier

Sunrise on 21 June 2026 in local time, computed with the same engine the API uses, once at sea level and once at the real elevation of each spot. The gap is bigger further from the equator, where the sun climbs through the horizon at a shallower angle. All four look out over the sea, so their height above sea level is their height above the horizon. Inland, pass your height above the land you will be looking across. The difference comes from geometric horizon dip: seen from altitude h, the horizon sits  arccos(R / (R + h))  below the standard horizontal, roughly 1.02° × √h with h in km.

How it compares

thirdtrailsunrise-sunset.orgPhotoPillsRoll your own
Elevation-corrected horizon✓—app only~600 LOC of correctness traps
Pre-computed golden / blue hour✓✓app onlyderive client-side
iCal feed✓—app onlybuild it
365-day forecast horizon✓ (Business)—app only—
Webhooks (event triggers)✓ (Pro+)——build it

Start using it

The free tier gives you 100 calls a day and a 7-day forecast, with no credit card.

Create a free account Read the docs