78trust / 100

Solar

by Vibe Springs in Weather & location

x402 APIPassing, checked 12 min ago

Astronomical solar calculator and solar radiation forecast database. Returns highly accurate daily solar cycles: sunrise/sunset times, astronomical/civil/nautical twilights, precise solar noon, day length, maximum UV index, and shortwave solar radiation levels (MJ/m²) for any location globally. Crucial for solar panel yield forecasting, photography timing, agriculture, and outdoor wellness tracking.

GET https://vibesprings.net/api/solar

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
233 ms typical, 341 ms slowest 5%
Last check
12 min ago
Next check
in 19 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://vibesprings.net/api/solar?date=2024-06-21&days=1&location=Reykjavik"
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%2Fvibesprings.net%2Fapi%2Fsolar
const res = await pay("https://vibesprings.net/api/solar?date=2024-06-21&days=1&location=Reykjavik");
console.log(await res.json());

Example input

{
  "date": "2024-06-21",
  "days": 1,
  "location": "Reykjavik"
}

Example output

{
  "data": [
    {
      "date": "2024-06-21",
      "day_length_seconds": 76140,
      "shortwave_radiation_sum_mj_m2": 24.5,
      "solar_noon_utc": "2024-06-21T13:28:00Z",
      "sunrise_utc": "2024-06-21T02:54:00Z",
      "sunset_utc": "2024-06-22T00:03:00Z",
      "uv_index_max": 4.5
    }
  ],
  "latitude": 64.1,
  "location": "Reykjavik, Iceland",
  "longitude": -21.9,
  "timezone": "Atlantic/Reykjavik"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
12 min agoPassed402286 ms$0.002
4 h agoPassed402233 ms$0.002
7 h agoPassed402174 ms$0.002
11 h agoPassed402374 ms$0.002
15 h agoPassed402316 ms$0.002
18 h agoPassed402254 ms$0.002
22 h agoPassed402341 ms$0.002
25 h agoPassed402205 ms$0.002
29 h agoPassed402208 ms$0.002
33 h agoPassed402232 ms$0.002
36 h agoPassed402209 ms$0.002
41 h agoPassed402235 ms$0.002