$0.003
per call · USD Coin on Base
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.
Endpoint
POST https://apiacre.com/v1/data/us-weather-forecast2
Calls / 30d
1
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("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"
}),
});
const data = await res.json();curl -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"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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"
}Payment details
0xa0bfa4f07281c9b248dc3aed2217836bca24869bUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Data & Enrichment and the homepage with a featured placement.
More from API Acre & similar services
API Acre · Crypto Base Network Status
apiacre.com
Read the latest Base mainnet block and a bounded EIP-1559 fee history in one RPC batch, including gas utilization and priority-fee percentile samples.
API Acre · WEB Metadata
apiacre.com
Extract webpage metadata from one public URL: page title, meta description, canonical URL, headings, hreflang, icons, feeds, Open Graph, Twitter Cards, and JSON-LD Schema.org types, with redirect and response provenance plus privacy-safe, publisher-asserted Organization facts with field evidence.
API Acre · Data Schema
apiacre.com
Create and generate a nested JSON Schema Draft 2020-12 contract by inferring field types and required fields from representative JSON, CSV, TSV, JSON Lines, or YAML records, with equivalent CSV/TSV numeric and null inference, input evidence, and non-enforcing observed bounds.