80trust / 100

Space Aurora

by Tanod skypeek in Weather & location

x402 APIPassing, checked 3 h ago

skypeek (Tanod) aurora nowcast at a location (NOAA SWPC OVATION).

POST https://tanod.dev/v1/space/aurora

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
273 ms typical, 295 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://tanod.dev/v1/space/aurora" \
  -H "content-type: application/json" \
  -d '{"lat":64.84,"lon":-147.72}'
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%2Ftanod.dev%2Fv1%2Fspace%2Faurora
const res = await pay("https://tanod.dev/v1/space/aurora", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"lat":64.84,"lon":-147.72}),
});
console.log(await res.json());

Example input

{
  "lat": 64.84,
  "lon": -147.72
}

Example output

{
  "attribution": "Data: NOAA SWPC (OVATION aurora nowcast)",
  "cache_seconds": 600,
  "cached": false,
  "dark_enough": false,
  "grid_point": {
    "lat": 65,
    "lon": -148
  },
  "kp": {
    "current": 1.67,
    "noaa_g_scale": null,
    "time": "2026-10-08T03:00:00Z"
  },
  "lat": 64.84,
  "likelihood": "low",
  "lon": -147.72,
  "model_forecast_time": "2026-10-08T05:11:00Z",
  "model_observation_time": "2026-10-08T04:00:00Z",
  "note": "probability_pct is the OVATION model's chance (0-100) of visible aurora overhead at the nearest 1-degree grid point for the forecast time (about 30-90 minutes ahead). It assumes a dark, clear sky: daylight, moonlight, cloud and local light pollution are not modelled (dark_enough only checks that the Sun is below -12 degrees).",
  "probability_pct": 6,
  "source": {
    "license": "US Government work, public domain",
    "name": "NOAA Space Weather Prediction Center",
    "notice": "Data: NOAA SWPC. No endorsement by NOAA or the National Weather Service is implied; this is a derived, trimmed copy and not an official NOAA product.",
    "terms": "https://www.weather.gov/disclaimer",
    "url": "https://www.swpc.noaa.gov/"
  },
  "stale": false,
  "sun_altitude_deg": -8.8
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402271 ms$0.001
7 h agoPassed402275 ms$0.001
11 h agoPassed402273 ms$0.001
14 h agoPassed402278 ms$0.001
18 h agoPassed402261 ms$0.001
21 h agoPassed402295 ms$0.001
25 h agoPassed402808 ms$0.001
30 h agoPassed402272 ms$0.001