81trust / 100
Weather Forecast Hourly
by Maxwell x402 in Weather & location
x402 APIPassing, checked 34 min ago
NWS hourly forecast (about 7 days) for a US point or grid. 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/forecast-hourly
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 77 ms typical, 119 ms slowest 5%
- Last check
- 34 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/forecast-hourly?lat=39.7392&lon=-104.9903"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%2Fforecast-hourly
const res = await pay("https://api.maxwellinternational.ai/v1/weather/forecast-hourly?lat=39.7392&lon=-104.9903");
console.log(await res.json());Example input
{
"lat": "39.7392",
"lon": "-104.9903"
}Example output
{
"country": "United States",
"generatedAt": "2026-10-05T09:35:57.102Z",
"gridX": 63,
"gridY": 62,
"periods": [
{
"dewpointC": 5.6,
"endTime": "2026-10-05T04:00:00-06:00",
"isDaytime": false,
"precipitationChancePct": 0,
"relativeHumidityPct": 55,
"shortForecast": "Mostly Clear",
"startTime": "2026-10-05T03:00:00-06:00",
"temperature": 58,
"temperatureC": 14.4,
"temperatureUnit": "F",
"windDirection": "SW",
"windSpeed": "5 mph"
}
],
"periodsAvailable": 156,
"resolvedFrom": "latlon",
"sku": "weather.forecast-hourly",
"sourceClass": "official-api",
"state": "Colorado",
"updatedAt": "2026-10-05T06:46:30+00:00",
"wfo": "BOU"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 34 min ago | Passed | 402 | 77 ms | $0.005 |
| 5 h ago | Passed | 402 | 74 ms | $0.005 |
| 8 h ago | Passed | 402 | 119 ms | $0.005 |
| 12 h ago | Passed | 402 | 76 ms | $0.005 |
| 15 h ago | Passed | 402 | 86 ms | $0.005 |
| 18 h ago | Passed | 402 | 76 ms | $0.005 |
| 24 h ago | Passed | 402 | 491 ms | $0.005 |