78trust / 100

Forecast

by Space Weather Intelligence in Weather & location

x402 APIPassing, checked 2 h ago

Space-weather forecast — normalized one-to-three-day NOAA SWPC geomagnetic Kp-index periods labeled observed, estimated, or predicted.

GET https://space-weather.use.x402atlas.com/forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
430 ms typical, 579 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://space-weather.use.x402atlas.com/forecast?days=3"
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%2Fspace-weather.use.x402atlas.com%2Fforecast
const res = await pay("https://space-weather.use.x402atlas.com/forecast?days=3");
console.log(await res.json());

Example input

{
  "days": 3
}

Example output

{
  "issued_at": null,
  "operation": "kp-forecast",
  "periods": [
    {
      "kind": "predicted",
      "kp": 5,
      "noaa_scale": "G1",
      "valid_at": "2026-08-04T18:00:00Z"
    },
    {
      "kind": "predicted",
      "kp": 4.67,
      "noaa_scale": null,
      "valid_at": "2026-08-04T21:00:00Z"
    },
    {
      "kind": "estimated",
      "kp": 3,
      "noaa_scale": null,
      "valid_at": "2026-08-05T00:00:00Z"
    }
  ],
  "query": {
    "days": 3
  },
  "schema_version": "noaa-swpc-normalized-v1",
  "source": {
    "name": "NOAA Space Weather Prediction Center",
    "products": [
      "noaa_planetary_k_index_forecast"
    ],
    "retrieved_at": "2026-08-04T15:47:00Z"
  },
  "source_age_seconds": 0,
  "stale": false,
  "warnings": [
    "NOAA SWPC does not publish an issuance timestamp for this product; issued_at is null and retrieved_at is not an issuance time.",
    "Missing forecast periods are not filled."
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402452 ms$0.005
5 h agoPassed402451 ms$0.005
9 h agoPassed402428 ms$0.005
12 h agoPassed402430 ms$0.005
16 h agoPassed402409 ms$0.005
20 h agoPassed402727 ms$0.005
23 h agoPassed402433 ms$0.005
28 h agoPassed402378 ms$0.005
31 h agoPassed402579 ms$0.005
34 h agoPassed402394 ms$0.005
39 h agoPassed402394 ms$0.005