Skip to content
Fourohtwo

api.sitecheck-api.workers.dev/api/sun

Sunrise, sunset, solar noon and day length for a coordinate and date (default today), with the moonrise, moonset and phase. Times are ISO 8601 with the offset MET Norway gives (+00:00 is UTC). Attribution: data from MET Norway (CC BY 4.0).

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
GEThttps://api.sitecheck-api.workers.dev/api/sun

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://api.sitecheck-api.workers.dev/api/sun?lat=52.52&lon=13.405");
console.log(await res.json());

Example input

{
  "lat": "52.52",
  "lon": "13.405"
}

More from SiteCheckProvider status