Travel · x402 · early usage

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 pro…

by apiacre.com · discovered, not yet claimed by its owner · updated 2026-10-08

30d calls3
30d payers3
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: weather forecast · city weather · global weather · hourly forecast · weather alerts · bazaar · payment-identifier

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-08
Input example from Bazaar metadata
{
  "include_active_alerts": true,
  "include_current_conditions": true,
  "periods": 2,
  "place": "Washington, DC, US"
}
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"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/27720.json for the price and payment options.
  3. Pay. Call GET https://apiacre.com/v1/data/us-weather-forecast. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.003 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
3 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0030xa0BFa4f07281c9b248DC3AED2217836BcA24869B300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.003B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "data": {
      "activeAlerts": {},
      "currentConditions": {},
      "forecastType": "string",
      "generatedAt": "string",
      "limitations": [
        "string"
      ],
      "location": {},
      "periodCount": 0,
      "periods": [
        {}
      ],
      "periodsTruncated": true,
      "retrievedAt": "string",
      "source": {},
      "units": "string",
      "updatedAt": "string"
    },
    "meta": {
      "cached": true,
      "duration_ms": 0,
      "next_actions": [
        {}
      ],
      "sources": [
        "string"
      ],
      "warnings": [
        "string"
      ]
    },
    "request_id": "string",
    "service": "string",
    "version": "string"
  },
  "type": "string"
}

Examples

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 header

Details

Provider
apiacre.com
Endpoint
https://apiacre.com/v1/data/us-weather-forecast
Machine-readable
/resources/27720.json