The sky, computed for exactly where you are.

Sun, moon, twilight, irradiance and tides for any point on Earth. Give us your elevation and the sun and moon times are corrected for it.

Sun altitude Height above the horizon, in degrees. Crossing 0° is sunrise and sunset. peak 18.3°
Daylight Civil Nautical Astronomical Night 0° 18.3° 00:00 06:00 12:00 18:00 24:00
  • Daylight
  • Civil
  • Nautical
  • Astronomical
  • Night
Clear-sky irradiance Energy landing on a horizontal surface under a cloudless sky, in W/m². peak 287 W/m²
0 287 00:00 06:00 12:00 18:00 24:00
Tide height Metres above or below mean sea level (not chart datum). range 2.4 m
0 m 1.22 -1.18 00:00 06:00 12:00 18:00 24:00

07:49 Sunrise 12:09 Solar noon 16:29 Sunset Dublin, Ireland · 53.3498, -6.2603 at 20 m · Europe/Dublin · Home. Mid-latitude, modest tides.

Sun altitude Height above the horizon, in degrees. Crossing 0° is sunrise and sunset. peak 20.2°
Daylight Civil Nautical Astronomical Night 0° 20.2° 00:00 06:00 12:00 18:00 24:00
  • Daylight
  • Civil
  • Nautical
  • Astronomical
  • Night
Clear-sky irradiance Energy landing on a horizontal surface under a cloudless sky, in W/m². peak 321 W/m²
0 321 00:00 06:00 12:00 18:00 24:00
Tide height Metres above or below mean sea level (not chart datum). range 8.29 m
0 m 4.2 -4.09 00:00 06:00 12:00 18:00 24:00

07:28 Sunrise 11:55 Solar noon 16:21 Sunset Bristol Channel, United Kingdom · 51.4995, -2.7 at 11 m · Europe/London · One of the largest tidal ranges on Earth.

Sun altitude Height above the horizon, in degrees. Crossing 0° is sunrise and sunset. peak 2.1°
Daylight Civil Nautical Astronomical Night 0° 2.1° 00:00 06:00 12:00 18:00 24:00
  • Daylight
  • Civil
  • Nautical
  • Astronomical
  • Night
Clear-sky irradiance Energy landing on a horizontal surface under a cloudless sky, in W/m². peak 11 W/m²
0 11 00:00 06:00 12:00 18:00 24:00
Tide height Metres above or below mean sea level (not chart datum). range 1.82 m
0 m 1.01 -0.82 00:00 06:00 12:00 18:00 24:00

09:23 Sunrise 11:28 Solar noon 13:32 Sunset Tromsø, Norway · 69.6492, 18.9553 at 10 m · Europe/Oslo · Inside the Arctic Circle, where the sun barely sets in summer.

Sun altitude Height above the horizon, in degrees. Crossing 0° is sunrise and sunset. peak 74.2°
Daylight Civil Nautical Astronomical Night 0° 74.2° 00:00 06:00 12:00 18:00 24:00
  • Daylight
  • Civil
  • Nautical
  • Astronomical
  • Night
Clear-sky irradiance Energy landing on a horizontal surface under a cloudless sky, in W/m². peak 1047 W/m²
0 1047 00:00 06:00 12:00 18:00 24:00
Tide height Metres above or below mean sea level (not chart datum). range 0.88 m
0 m 0.43 -0.45 00:00 06:00 12:00 18:00 24:00

05:35 Sunrise 12:30 Solar noon 19:26 Sunset Cape Town, South Africa · -33.9249, 18.4241 at 25 m · Africa/Johannesburg · Southern hemisphere: opposite season, same call.

Sun altitude Height above the horizon, in degrees. Crossing 0° is sunrise and sunset. peak 70.3°
Daylight Civil Nautical Astronomical Night 0° 70.3° 00:00 06:00 12:00 18:00 24:00
  • Daylight
  • Civil
  • Nautical
  • Astronomical
  • Night
Clear-sky irradiance Energy landing on a horizontal surface under a cloudless sky, in W/m². peak 1022 W/m²
0 1022 00:00 06:00 12:00 18:00 24:00
Tide height Metres above or below mean sea level (not chart datum). range 2.36 m
0 m 1.11 -1.25 00:00 06:00 12:00 18:00 24:00

06:47 Sunrise 12:49 Solar noon 18:50 Sunset Singapore, Singapore · 1.3521, 103.8198 at 15 m · Asia/Singapore · Near the equator, so the day is almost the same length all year.

All three computed today by /v1/ephemerides, /v1/solar and /v1/tides.

Create a free account Read the docs

No credit card for the Free tier · Cancel any time

Available APIs

Ephemerides

Sun and moon rise and set times for any latitude, longitude and elevation on Earth, with twilight phases, transit times and lunar phase. No other ephemerides API corrects for elevation.

Ephemerides documentation →

Solar

Solar position (azimuth, altitude, zenith), clear-sky direct, diffuse and global horizontal irradiance, and Daily Light Integral for any location on Earth. Computed from JPL DE421 with an NREL SPA-equivalent method and the Bird Clear Sky Model, taking the observer's elevation into account.

Solar documentation →

Tides

Astronomical tide heights, high and low waters, harmonic constituents, and tide windows combined with sun and moon times, for any coastal point on Earth. Computed from the FES2022 global tide atlas for any date, past or future.

Tides documentation →

Built for these use cases

Each of these has its own page, with request examples for that kind of app.

See all use cases (smart home, agriculture, PV monitoring, EV charging, …) →

Why thirdtrail

Predictable pricing

Flat monthly plans from €6, with no annual contract. There is no overage billing, so a busy month costs the same as a quiet one.

A free tier you can use

100 calls a day on every API, forever, with no card on file. Upgrade when your traffic needs it.

Built for developers

Keys are stored hashed. You get usage stats for each key, daily, weekly and monthly caps, and room for short bursts. It's plain REST, so you don't need an SDK.

Built for agents too

There's an MCP server and a published OpenAPI schema, so Claude, Cursor or your own agent can call the APIs without you writing an integration. MCP tool calls need a paid plan.

Compare every plan and limit →

Getting started

  1. Create a free account. It takes about 30 seconds.
  2. Subscribe to an API plan from your dashboard (Free is one click).
  3. Generate an API key. It's shown only once, so put it in your secret manager.
  4. Call any endpoint with Authorization: Bearer <your_key>.
Request
curl -H "Authorization: Bearer tt_live_xxxxx" \
  "https://thirdtrail.life/v1/ephemerides/?lat=53.3498&lon=-6.2603"
Response · today, live
{
  "timezone": "Europe/Dublin",
  "days": [
    {
      "date": "2026-11-14",
      "sun": {
        "rise": "2026-11-14T07:49:09Z",
        "transit": "2026-11-14T12:09:28Z",
        "set": "2026-11-14T16:29:10Z"
      },
      "moon": {
        "rise": "2026-11-14T12:54:13Z",
        "set": "2026-11-14T20:03:29Z",
        "phase": {
          "name": "Waxing Crescent",
          "illumination": 0.2302
        }
      }
    }
  ]
}

Start for free

The free tier needs no credit card and gives you 100 calls a day. Paid plans start at €6/month and you can cancel any time.

Create a free account See all plans