The sky, computed for exactly where you are.
Sun, moon, twilight, irradiance and tides for any point on Earth — with elevation as a first-class input, not an afterthought.
- Daylight
- Civil
- Nautical
- Astronomical
- Night
07:23 Sunrise 13:15 Solar noon 19:05 Sunset Dublin, Ireland · 53.3498, -6.2603 at 20 m · Europe/Dublin · Home. Mid-latitude, modest tides.
- Daylight
- Civil
- Nautical
- Astronomical
- Night
07:09 Sunrise 13:01 Solar noon 18:52 Sunset Bristol Channel, United Kingdom · 51.4995, -2.7 at 11 m · Europe/London · One of the largest tidal ranges on Earth.
- Daylight
- Civil
- Nautical
- Astronomical
- Night
06:52 Sunrise 12:34 Solar noon 18:14 Sunset Tromsø, Norway · 69.6492, 18.9553 at 10 m · Europe/Oslo · Inside the Arctic Circle — the sun barely sets in summer.
- Daylight
- Civil
- Nautical
- Astronomical
- Night
06:26 Sunrise 12:36 Solar noon 18:47 Sunset Cape Town, South Africa · -33.9249, 18.4241 at 25 m · Africa/Johannesburg · Southern hemisphere — opposite season, same call.
- Daylight
- Civil
- Nautical
- Astronomical
- Night
06:52 Sunrise 12:55 Solar noon 18:57 Sunset Singapore, Singapore · 1.3521, 103.8198 at 15 m · Asia/Singapore · Equatorial — near-identical day 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/set times for any latitude, longitude, AND elevation on Earth — elevation correction is unique among ephemerides APIs. Includes twilight phases, transit times, and lunar phase.
Solar
Precision solar geometry and clear-sky irradiance for any location on Earth. Solar position (azimuth/altitude/zenith), Direct, Diffuse and Global Horizontal Irradiance under clear-sky conditions, and Daily Light Integral for agriculture. Backed by NREL SPA-equivalent computation (JPL DE421) and the Bird Clear Sky Model, with elevation as a first-class input.
Tides
Astronomical tide heights, high/low waters, harmonic constituents and combined tide+sun/moon windows for any coastal point on Earth, computed from the FES2022 global tide atlas. Any date, past or future.
Built for these use cases
Same APIs, sharp packaging for the buyers who need them most.
Photography
Golden hour, blue hour, sunrise / sunset — accurate at altitude, season-ahead horizon.
Explore /photo →
Prayer times
Five prayers, every major calculation school. Mountain-aware. Selectable Asr method.
Explore /prayer-times →
Marine
Civil + nautical twilight, first / last light, moon phase + altitude for tide planning.
Explore /marine →
Coastal & tides
Tide heights + high/low waters for any coastline on Earth (FES2022) — with sun and moon in the same call.
Explore /coastal →
See all use cases (smart home, agriculture, PV monitoring, EV charging, …) →
Why thirdtrail
Predictable pricing
Flat monthly tiers from €6. No surprise bills, no per-call markups, no compulsory annual commitments.
Free tier with real value
100 calls a day on every API, forever, with no card. Upgrade only when traffic warrants it.
Built for developers
Hashed API keys, granular per-key usage stats, daily/weekly/monthly caps, generous burst budgets. Simple REST — no SDK required.
Built for agents too
An MCP server and a published OpenAPI schema, so Claude, Cursor or your own agent can call these APIs correctly without you writing an integration. Paid plans.
30-second integration
- Create a free account — takes about 30 seconds.
- Subscribe to an API plan from your dashboard (Free is one click).
- Generate an API key — it's shown once; store it in your secret manager.
- Call any endpoint with
Authorization: Bearer <your_key>.
curl -H "Authorization: Bearer tt_live_xxxxx" \
"https://thirdtrail.life/v1/ephemerides/?lat=53.3498&lon=-6.2603"
{
"timezone": "Europe/Dublin",
"days": [
{
"date": "2026-09-29",
"sun": {
"rise": "2026-09-29T07:23:47+01:00",
"transit": "2026-09-29T13:15:20+01:00",
"set": "2026-09-29T19:05:53+01:00"
},
"moon": {
"rise": "2026-09-29T19:34:28+01:00",
"set": "2026-09-29T11:16:52+01:00",
"phase": {
"name": "Waning Gibbous",
"illumination": 0.9064
}
}
}
]
}
Ready to start?
100 calls a day free, forever. Paid plans from €6/month. No credit card. Cancel any time.