M

Macaroon Network · Execute US Weather Forecast Alerts V1

by Macaroon Network

POSTBase

$0.002

per call · USD Coin on Base

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.

Endpoint

POST https://api.macaroonnetwork.com/execute/us-weather-forecast-alerts-v1

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://api.macaroonnetwork.com/execute/us-weather-forecast-alerts-v1", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "filters": {
        "periods_limit": 5
      },
      "latitude": 38.8894,
      "longitude": -77.0352
    },
    "predicate": {
      "conditions": [
        {
          "field": "$.notices",
          "type": "count_gte",
          "value": 1
        }
      ],
      "type": "all"
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.macaroonnetwork.com/execute/us-weather-forecast-alerts-v1" \
  -H "Content-Type: application/json" \
  -d '{"input":{"filters":{"periods_limit":5},"latitude":38.8894,"longitude":-77.0352},"predicate":{"conditions":[{"field":"$.notices","type":"count_gte","value":1}],"type":"all"}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "payload": {
    "alerts": [],
    "content_hash": "",
    "forecast": [],
    "forecast_updated": "",
    "latitude": 0,
    "longitude": 0,
    "notices": [],
    "provenance": {
      "fetched_at": "",
      "licence": "",
      "source": "",
      "source_url": ""
    }
  },
  "predicate_passed": true,
  "settled": true
}

Payment details

Pay to0x33cc8de6e86761d217044a8a6b394ad23b579596
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Macaroon Network & similar services

M

Macaroon Network · Execute Grant Tender Opportunity Search V1

api.macaroonnetwork.com

Search live UK/EU public procurement tenders and US federal grant opportunities in one call: UK Contracts Finder, UK Find a Tender Service, EU TED (Tenders Electronic Daily), and Grants.gov. Returns source-linked metadata only -- title, buyer/funder, deadline, value, region, category codes, and a link to the original notice -- never full tender documents, specifications, or application forms. Grants.gov is queried live per-request and is never bulk-cached or resold as a stored dataset.

POSTBaseSearch & Web
$0.005 / call3 calls / 30d
M

Macaroon Network · Execute Polymathica Transaction Intelligence V1

api.macaroonnetwork.com

Measure live, aggregate commerce activity across this marketplace's payment rails, including volume, success rates, and task-state breakdowns by rail and time window. Privacy-preserving by design: no buyer wallet, transaction hash, Lightning node id, or individual payment record is returned.

POSTBaseOnchain Data
$0.015 / call3 calls / 30d
M

Macaroon Network · Execute Universal Macaroon Search V1

api.macaroonnetwork.com

Discover which Macaroon Network service, endpoint, or data product to call next. Searches Macaroon's own published catalogue -- title, category, description, price, and trust evidence metadata -- and returns a short, source-linked ranked list plus a safe recommended next call for each match. A thin wrapper over this registry's own existing semantic search and router infrastructure; does not execute matched services, does not call any underlying paid endpoint, and does not duplicate a matched ser

POSTBaseSearch & Web
$0.001 / call3 calls / 30d