82trust / 100
Weather Forecast
by Maxwell x402 in Weather & location
x402 APIPassing, checked 14 min ago
NWS daily/period forecast (about 7 days, day and night periods) 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
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 290 ms typical, 290 ms slowest 5%
- Last check
- 14 min ago
- Next check
- in 17 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/weather/forecast?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
const res = await pay("https://api.maxwellinternational.ai/v1/weather/forecast?lat=39.7392&lon=-104.9903");
console.log(await res.json());Example input
{
"lat": "39.7392",
"lon": "-104.9903"
}Example output
{
"ageMinutes": 9,
"country": "United States",
"generatedAt": "2026-10-05T09:35:55.429Z",
"gridX": 63,
"gridY": 62,
"periods": [
{
"detailedForecast": "Clear, with a low around 55. Southwest wind around 5 mph.",
"endTime": "2026-10-05T06:00:00-06:00",
"isDaytime": false,
"name": "Overnight",
"precipitationChancePct": 0,
"shortForecast": "Clear",
"startTime": "2026-10-05T03:00:00-06:00",
"temperature": 55,
"temperatureC": 12.8,
"temperatureUnit": "F",
"windDirection": "SW",
"windSpeed": "5 mph"
}
],
"resolvedFrom": "latlon",
"sku": "weather.forecast",
"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 |
|---|---|---|---|---|
| 14 min ago | Passed | 402 | 320 ms | $0.005 |
| 4 h ago | Passed | 402 | 257 ms | $0.005 |
| 9 h ago | Passed | 402 | 290 ms | $0.005 |