16trust / 100

Us Weather

by Vextorium in Weather & location

x402 APIFailing, checked 49 min ago

Official US National Weather Service forecast for coordinates in the United States: next 7 days or hourly, temperature (F and C), wind, chance of rain, plus active weather alerts.

POST https://api.vextorium.com/v1/us-weather

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
49 min ago: Amount "0.004" is not in atomic token units
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/us-weather" \
  -H "content-type: application/json" \
  -d '{"lat":40.7128,"lon":-74.006}'
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.vextorium.com%2Fv1%2Fus-weather
const res = await pay("https://api.vextorium.com/v1/us-weather", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"lat":40.7128,"lon":-74.006}),
});
console.log(await res.json());

Example input

{
  "lat": 40.7128,
  "lon": -74.006
}

Example output

{
  "forecasts": [
    {
      "detail": "A chance of showers and thunderstorms after 5pm. Mostly sunny, with a high near 83. Southwest wind 5 to 10 mph, with gusts as high as 21 mph. Chance of precipitation is 40%. New rainfall amounts less than a tenth of an inch possible.",
      "name": "Today",
      "rain_prob_pct": 35,
      "start": "2026-10-02T10:00:00-04:00",
      "summary": "Mostly Sunny then Chance Showers And Thunderstorms",
      "temperature": 83,
      "temperature_c": 28.3,
      "unit": "F",
      "wind": "5 to 10 mph SW"
    },
    {
      "detail": "A chance of showers and thunderstorms before 2am. Mostly cloudy. Low around 63, with temperatures rising to around 65 overnight. Northwest wind 9 to 14 mph. Chance of precipitation is 50%. New rainfall amounts between a tenth and quarter of an inch possible.",
      "name": "Tonight",
      "rain_prob_pct": 52,
      "start": "2026-10-02T18:00:00-04:00",
      "summary": "Chance Showers And Thunderstorms",
      "temperature": 63,
      "temperature_c": 17.2,
      "unit": "F",
      "wind": "9 to 14 mph NW"
    }
  ],
  "place": "New York, NY",
  "source": "US National Weather Service (public domain)",
  "timezone": "America/New_York",
  "warnings": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
49 min agoAmount "0.004" is not in atomic token units40297 ms$0.004
5 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
9 h agoAmount "0.004" is not in atomic token units402101 ms$0.004
14 h agoAmount "0.004" is not in atomic token units402114 ms$0.004
18 h agoAmount "0.004" is not in atomic token units40290 ms$0.004
22 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
26 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
30 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
34 h agoAmount "0.004" is not in atomic token units40294 ms$0.004
38 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
43 h agoAmount "0.004" is not in atomic token units40281 ms$0.004
46 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402349 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40283 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40288 ms$0.004