81trust / 100
Weather Point
by Maxwell x402 in Weather & location
x402 APIPassing, checked 31 min ago
NWS point metadata for a US lat/lon: forecast office, grid x/y, time zone, county, nearest observation station and the NWS forecast links. Changes rarely. 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/point
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 218 ms typical, 367 ms slowest 5%
- Last check
- 31 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/point?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%2Fpoint
const res = await pay("https://api.maxwellinternational.ai/v1/weather/point?lat=39.7392&lon=-104.9903");
console.log(await res.json());Example input
{
"lat": "39.7392",
"lon": "-104.9903"
}Example output
{
"country": "United States",
"county": "https://api.weather.gov/zones/county/COC031",
"forecastOffice": "https://api.weather.gov/offices/BOU",
"forecastUrl": "https://api.weather.gov/gridpoints/BOU/63,62/forecast",
"gridX": 63,
"gridY": 62,
"lat": 39.7392,
"lon": -104.9903,
"sku": "weather.point",
"state": "Colorado",
"timezone": "America/Denver",
"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 |
|---|---|---|---|---|
| 31 min ago | Passed | 402 | 218 ms | $0.005 |
| 5 h ago | Passed | 402 | 73 ms | $0.005 |
| 8 h ago | Passed | 402 | 210 ms | $0.005 |
| 12 h ago | Passed | 402 | 367 ms | $0.005 |
| 15 h ago | Passed | 402 | 75 ms | $0.005 |
| 18 h ago | Passed | 402 | 222 ms | $0.005 |
| 24 h ago | Passed | 402 | 499 ms | $0.005 |