80trust / 100

Geomagnetic Storm

by space.halowerk.com in Weather & location

x402 APIPassing, checked 3 h ago

Maps a caller-supplied Kp value to conventional G0–G5 bands, maps Dst to declared disturbance bands, and combines severity with geomagnetic latitude and infrastructure class. It does not retrieve observations, forecast a storm, model local ground conductivity, or predict equipment failure.

POST https://space.halowerk.com/v1/geomagnetic-storm

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://space.halowerk.com/v1/geomagnetic-storm" \
  -H "content-type: application/json" \
  -d '{"dst_nanotesla":-135,"geomagnetic_latitude_deg":58,"infrastructure":"power_grid","kp_index":7}'
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.halowerk.com%2Fv1%2Fgeomagnetic-storm
const res = await pay("https://space.halowerk.com/v1/geomagnetic-storm", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dst_nanotesla":-135,"geomagnetic_latitude_deg":58,"infrastructure":"power_grid","kp_index":7}),
});
console.log(await res.json());

Example input

{
  "dst_nanotesla": -135,
  "geomagnetic_latitude_deg": 58,
  "infrastructure": "power_grid",
  "kp_index": 7
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402131 ms$0.002
7 h agoPassed40240 ms$0.002
10 h agoPassed40239 ms$0.002
14 h agoPassed402277 ms$0.002
18 h agoPassed402117 ms$0.002
21 h agoPassed402103 ms$0.002
25 h agoPassed402104 ms$0.002
28 h agoPassed402107 ms$0.002
34 h agoPassed40235 ms$0.002