DATA LOOKUP

US Weather Forecast & Alerts

Live multi-day forecast and currently active weather alerts (severe thunderstorm, flood, winter storm, etc.) for a single latitude/longitude point, from the U.S. National Weather Service's own public API (api.weather.gov). Coverage is limited to the United States, its territories, and adjacent coastal/marine zones -- api.weather.gov has no data for points outside that area.

post/execute/us-weather-forecast-alerts-v1

Request

  • Base URL: https://api.macaroonnetwork.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.macaroonnetwork.com/execute/us-weather-forecast-alerts-v1
  • Auth: none declared

Request body

predicateobject required

Acceptance predicate evaluated before settlement.

Example request

{
  "predicate": {
    "type": "all",
    "conditions": [
      {
        "type": "count_gte",
        "field": "$.forecast",
        "value": 1
      }
    ]
  }
}

Response

Predicate-gated result and commercial receipt.

predicate_passedboolean required
receiptobject required

Changes

No recorded changes to this operation across all 1 revision of this API.