81trust / 100
Data Us Weather Forecast
by API Acre in Weather & location
x402 APIPassing, checked 46 min ago
Get a global weather forecast for a city/locality name or exact coordinates. Returns normalized day/night or hourly periods worldwide: NOAA/NWS is preferred within supported U.S. coverage for optional station conditions and active alerts, while MET Norway provides an attributed open-data fallback globally.
POST https://apiacre.com/v1/data/us-weather-forecast
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 183 ms typical, 183 ms slowest 5%
- Last check
- 46 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://apiacre.com/v1/data/us-weather-forecast" \
-H "content-type: application/json" \
-d '{"include_active_alerts":true,"include_current_conditions":true,"periods":2,"place":"Washington, DC, US"}'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%2Fapiacre.com%2Fv1%2Fdata%2Fus-weather-forecast
const res = await pay("https://apiacre.com/v1/data/us-weather-forecast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"include_active_alerts":true,"include_current_conditions":true,"periods":2,"place":"Washington, DC, US"}),
});
console.log(await res.json());Example input
{
"include_active_alerts": true,
"include_current_conditions": true,
"periods": 2,
"place": "Washington, DC, US"
}Example output
{
"data": {
"activeAlerts": {
"alertCount": 0,
"available": true,
"requested": true,
"updatedAt": "2026-08-12T04:09:00+00:00"
},
"currentConditions": {
"available": true,
"requested": true,
"stationId": "KDCA",
"stationName": "Washington/Reagan National Airport, DC"
},
"forecastType": "day_night",
"generatedAt": "2026-08-12T03:09:21+00:00",
"limitations": [
"Place-name resolution uses the bundled GeoNames cities500...",
"Current conditions, when requested, come from the nearest...",
"Internet delivery and timeliness are not guaranteed. For ...",
"Active alerts are a bounded point-in-time subset; radar a..."
],
"location": {
"city": "Washington",
"latitude": 38.8951,
"longitude": -77.0364,
"state": "DC"
},
"periodCount": 2,
"periods": [
{
"endTime": "2026-08-12T06:00:00-04:00",
"name": "Tonight",
"number": 1,
"startTime": "2026-08-11T23:00:00-04:00"
}
],
"periodsTruncated": true,
"retrievedAt": "2026-08-12T04:10:00+00:00",
"source": {
"dataset": "NWS API forecast with optional observations and active al...",
"forecastUrl": "https://api.weather.gov/gridpoints/LWX/97,71/forecast?uni...",
"pointsUrl": "https://api.weather.gov/points/38.8951,-77.0364",
"provider": "NOAA/National Weather Service"
},
"units": "us",
"updatedAt": null
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.us-weather-forecast",
"version": "1"
}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 |
|---|---|---|---|---|
| 46 min ago | Passed | 402 | 183 ms | $0.003 |
| 4 h ago | Passed | 402 | 574 ms | $0.003 |
| 9 h ago | Passed | 402 | 123 ms | $0.003 |