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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 12 min ago | Passed | 402 | 286 ms | $0.002 |
| 4 h ago | Passed | 402 | 233 ms | $0.002 |
| 7 h ago | Passed | 402 | 174 ms | $0.002 |
| 11 h ago | Passed | 402 | 374 ms | $0.002 |
| 15 h ago | Passed | 402 | 316 ms | $0.002 |
| 18 h ago | Passed | 402 | 254 ms | $0.002 |
| 22 h ago | Passed | 402 | 341 ms | $0.002 |
| 25 h ago | Passed | 402 | 205 ms | $0.002 |
| 29 h ago | Passed | 402 | 208 ms | $0.002 |
| 33 h ago | Passed | 402 | 232 ms | $0.002 |
| 36 h ago | Passed | 402 | 209 ms | $0.002 |
| 41 h ago | Passed | 402 | 235 ms | $0.002 |