78trust / 100
Data Sun
by sunrise-sunset in Weather & location
x402 APIPassing, checked 1 h ago
Sunrise, sunset, solar noon, day length, civil twilight and golden hours for today at any place (computed from coordinates, no external data beyond geocoding). Photography, scheduling and energy planning. $0.01 per lookup.
POST https://intel.rallylive.ca/data/sun
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 52 ms typical, 142 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://intel.rallylive.ca/data/sun" \
-H "content-type: application/json" \
-d '{"location":"Toronto"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fintel.rallylive.ca%2Fdata%2Fsun
const res = await pay("https://intel.rallylive.ca/data/sun", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"location":"Toronto"}),
});
console.log(await res.json());Example input
{
"location": "Toronto"
}Example output
{
"civil_dawn": "06:21",
"civil_dusk": "20:00",
"date": "2026-09-11",
"day_length_h": 12.68,
"location": "Toronto",
"solar_noon": "13:10",
"sunrise": "06:50",
"sunset": "19:31",
"timezone": "America/Toronto"
}Security scan
- Payment address changed recently in payment
Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 48 ms | $0.01 |
| 5 h ago | Passed | 402 | 72 ms | $0.01 |
| 9 h ago | Passed | 402 | 142 ms | $0.01 |
| 12 h ago | Passed | 402 | 42 ms | $0.01 |
| 16 h ago | Passed | 402 | 60 ms | $0.01 |
| 19 h ago | Passed | 402 | 51 ms | $0.01 |
| 23 h ago | Passed | 402 | 543 ms | $0.01 |
| 27 h ago | Passed | 402 | 52 ms | $0.01 |
| 30 h ago | Passed | 402 | 50 ms | $0.01 |
| 34 h ago | Passed | 402 | 43 ms | $0.01 |
| 38 h ago | Passed | 402 | 124 ms | $0.01 |
| 41 h ago | Passed | 402 | 47 ms | $0.01 |
| 46 h ago | Passed | 402 | 53 ms | $0.01 |
History
| 11 Oct 2026 | Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3 |