81trust / 100
Data Current Weather
by API Acre in Weather & location
x402 APIPassing, checked 1 h ago
Get one current weather snapshot for a city/locality name or exact coordinates. Returns the nearest NOAA/NWS station observation where available; otherwise returns the latest MET Norway model point, always labeled explicitly as observation or model with bounded SI fields and source provenance.
POST https://apiacre.com/v1/data/current-weather
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 263 ms typical, 263 ms slowest 5%
- Last check
- 1 h 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/current-weather" \
-H "content-type: application/json" \
-d '{"city":"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%2Fcurrent-weather
const res = await pay("https://apiacre.com/v1/data/current-weather", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"city":"Washington, DC, US"}),
});
console.log(await res.json());Example input
{
"city": "Washington, DC, US"
}Example output
{
"data": {
"cacheTtlSeconds": 900,
"current": {
"condition": "Mostly Cloudy",
"conditionCode": null,
"dataKind": "observation",
"effectiveAt": "2026-08-20T09:52:00+00:00",
"temperatureC": 24.4
},
"limitations": [
"Place-name resolution uses the bundled GeoNames cities500 index, ranked by ex...",
"The nearest reporting station may be some distance from the requested point, ...",
"Null fields mean the station omitted a supported measurement; API Acre does n...",
"This snapshot excludes forecasts and alerts and must not be used alone for li..."
],
"location": {
"city": "Washington",
"latitude": 38.8951,
"longitude": -77.0364,
"state": "DC",
"timezone": "America/New_York"
},
"retrievedAt": "2026-08-20T10:00:00+00:00",
"source": {
"dataKind": "observation",
"dataset": "NWS nearest-station latest observation",
"provider": "NOAA/National Weather Service",
"stationId": "KDCA",
"stationName": "Washington/Reagan National Airport, DC"
}
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"path": "/v1/data/us-weather-forecast",
"reason": "Extend the point-in-time snapshot with a separately authorized global hourly ...",
"service": "data.us-weather-forecast",
"title": "Global weather forecast"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.current-weather",
"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 |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 300 ms | $0.001 |
| 7 h ago | Passed | 402 | 263 ms | $0.001 |