81trust / 100

Weather Observation

by Maxwell x402 in Weather & location

x402 APIPassing, checked 38 min ago

Most recent NWS station observation (by stationId, or the station nearest a lat/lon): temperature, dewpoint, wind, humidity, pressure, conditions, with observedAt showing when it was measured. From the NWS (US and territories), cached and refreshed about every 3 hours; a location not yet cached answers 404, is not charged, and is queued.

GET https://api.maxwellinternational.ai/v1/weather/observation

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
113 ms typical, 264 ms slowest 5%
Last check
38 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/weather/observation?stationId=KDEN"
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.maxwellinternational.ai%2Fv1%2Fweather%2Fobservation
const res = await pay("https://api.maxwellinternational.ai/v1/weather/observation?stationId=KDEN");
console.log(await res.json());

Example input

{
  "stationId": "KDEN"
}

Example output

{
  "barometricPressurePa": null,
  "country": "United States",
  "dewpointC": 9,
  "observedAt": "2026-10-05T06:40:00+00:00",
  "sku": "weather.observation",
  "state": null,
  "stationId": "KDEN",
  "stationName": "Denver, Denver International Airport",
  "tempC": 14,
  "tempF": 57.2,
  "windDirection": 180,
  "windSpeedKmh": 14.8
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
38 min agoPassed402113 ms$0.005
5 h agoPassed402135 ms$0.005
8 h agoPassed402264 ms$0.005
12 h agoPassed40270 ms$0.005
15 h agoPassed40270 ms$0.005
18 h agoPassed40290 ms$0.005
24 h agoPassed402511 ms$0.005