Get a global weather forecast for a city/locality name or exact coordinates
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.
3000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated
Provider
apiacre.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"include_active_alerts": true,
"include_current_conditions": true,
"periods": 2,
"place": "Washington, DC, US"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"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"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"latitude"
]
},
{
"required": [
"longitude"
]
}
]
},
"required": [
"place"
]
},
{
"not": {
"required": [
"place"
]
},
"required": [
"latitude",
"longitude"
]
}
],
"properties": {
"forecast_type": {
"enum": [
"day_night",
"hourly"
],
"type": "string"
},
"include_active_alerts": {
"type": "boolean"
},
"include_current_conditions": {
"type": "boolean"
},
"latitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"longitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"periods": {
"type": "integer"
},
"place": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_preference": {
"enum": [
"auto",
"nws",
"met"
],
"type": "string"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"units": {
"enum": [
"us",
"si"
],
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"activeAlerts": {
"type": "object"
},
"currentConditions": {
"type": "object"
},
"forecastType": {
"type": "string"
},
"generatedAt": {
"type": [
"string",
"null"
]
},
"limitations": {
"items": {
"type": "string"
},
"type": "array"
},
"location": {
"type": "object"
},
"periodCount": {
"type": "integer"
},
"periods": {
"items": {
"type": "object"
},
"type": "array"
},
"periodsTruncated": {
"type": "boolean"
},
"retrievedAt": {
"type": "string"
},
"source": {
"type": "object"
},
"units": {
"type": "string"
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"location",
"forecastType",
"units",
"generatedAt",
"updatedAt",
"periodCount",
"periodsTruncated",
"periods",
"currentConditions",
"activeAlerts",
"source",
"retrievedAt",
"limitations"
],
"type": "object"
},
"meta": {
"properties": {
"cached": {
"type": "boolean"
},
"duration_ms": {
"type": "integer"
},
"next_actions": {
"items": {
"type": "object"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"duration_ms",
"cached",
"sources",
"warnings",
"next_actions"
],
"type": "object"
},
"request_id": {
"type": "string"
},
"service": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"request_id",
"service",
"version",
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://apiacre.com/v1/data/us-weather-forecast" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://apiacre.com/v1/data/us-weather-forecast");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://apiacre.com/v1/data/us-weather-forecast")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/2567.json, and this resource appears in /discovery/resources and /discovery/search.