Skip to content
Fourohtwo

Sunrise and sunset times, golden hour and moon phase

lookupkit.dev/api/sun_moon

Sunrise and sunset times, golden hour and moon phase. Sunrise, sunset, dawn, dusk, solar noon, golden hour and day length for any latitude, longitude and date, plus the moon phase, illumination, moonrise and moonset. Computed, no outside source. Times in UTC, or local with zone (IANA, e.g. Europe/Paris).

BaseAnswering
GEThttps://lookupkit.dev/api/sun_moon

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lookupkit.dev/api/sun_moon?date=2026-06-21&lat=51.5074&lon=-0.1278&zone=Europe%2FLondon");
console.log(await res.json());

Example input

{
  "date": "2026-06-21",
  "lat": 51.5074,
  "lon": -0.1278,
  "zone": "Europe/London"
}

More from Lookup KitProvider status