78trust / 100

Solar Forecast

by api.xynaptic.io in Weather & location

x402 APIPassing, checked 2 h ago

Xynaptic Solar Forecast — 48h solar production forecast for a European region (radiation, cloud cover, peak hours, estimated output index). Parameter: ?region=fr (or lat/lon). No API key needed, real-time data.

GET https://api.xynaptic.io/v1/solar-forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
41 ms typical, 126 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.xynaptic.io/v1/solar-forecast"
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%2Fapi.xynaptic.io%2Fv1%2Fsolar-forecast
const res = await pay("https://api.xynaptic.io/v1/solar-forecast");
console.log(await res.json());

Example input

{}

Example output

{
  "forecast": [
    {
      "cloud_cover_pct": 20,
      "hour": "12:00",
      "radiation_wm2": 548
    }
  ],
  "peak_hours": [
    "11:00-15:00"
  ],
  "region": "fr",
  "service": "solar-forecast",
  "summary": "Solar peak 548 W/m2 at midday, clear afternoon."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402168 ms$0.02
6 h agoPassed40251 ms$0.02
9 h agoPassed40246 ms$0.02
13 h agoPassed40234 ms$0.02
17 h agoPassed40234 ms$0.02
20 h agoPassed40236 ms$0.02
23 h agoPassed402126 ms$0.02
27 h agoPassed40246 ms$0.02
31 h agoPassed40241 ms$0.02
35 h agoPassed40240 ms$0.02
38 h agoPassed40241 ms$0.02
42 h agoPassed40238 ms$0.02
45 h agoPassed40240 ms$0.02
2 days agoPassed40242 ms$0.02