# ScrapeMole Pulse: US National Weather Service Forecast

> ScrapeMole Pulse: US National Weather Service Forecast is a paid API for AI agents from pulse.scrapemole.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Returns official NWS day/night or hourly weather forecasts and active weather alerts for any US location by coordinates, place name, or address

## Facts

- Endpoint: GET https://pulse.scrapemole.workers.dev/v1/weather/us-forecast?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-pulse-us-national-weather-service-forecast-9e2b09fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-EBZNM2cvqC5IQMWRdQNI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapemole-pulse-us-national-weather-service-forecast-9e2b09fc
```

Example prompt: Pull the official NWS weather forecast for Austin, TX including any active watches or warnings — give me the day/night periods for the next couple of days.

## When to prefer this

Use this endpoint when you need official, authoritative US government weather forecasts from the National Weather Service — especially when life-safety decisions, compliance, or official sourcing matters. Prefer this over generic weather APIs when you need active alert/watch/warning data for US locations, or when the government-backed source is important. For non-US locations, use the companion global weather endpoint (MET Norway). This endpoint is ideal for US-centric agents, emergency preparedness workflows, event planning, and any use case requiring NWS grid-level forecast precision.

## Known failure modes

- Location not found or outside US/territories: NWS only covers US locations, non-US coordinates will fail
- Invalid place name: ambiguous or non-existent US city names may return an error
- NWS API outage: upstream api.weather.gov may be temporarily unavailable
- Missing required input: must provide either lat+lon or place parameter
- hours out of range: hourly periods parameter must be 1-48
- Payment failure: x402 USDC payment not settled before response is served

## How this service works

Pay-per-call "state of the world" lookups that language models cannot know on their own: official ECB exchange rates (latest, historical, conversion), the current time and DST-aware time-zone conversion for scheduling, global weather forecasts (MET Norway, by coordinates or place name), official US National Weather Service forecasts and active watches/warnings/advisories (by state, point, place or zone), the live Hacker News front page, public holidays for ~100 countries (list by year, check a date, next holidays, long weekends, available countries via Nager.Date), and geocoding / reverse geocoding (place or address ↔ coordinates via Photon and Nominatim over OpenStreetMap). Public, non-personal data with sources and licences in every response. USDC via x402, no accounts.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://pulse.scrapemole.workers.dev/terms

## Output

Returns a JSON object with an array of forecast periods (name, start/end times, temperature in F and C, wind speed/direction, short and detailed forecast text, precipitation probability, daytime flag), active weather alerts (count and event list), source URL, license info, update timestamp, and full location metadata (city, state, lat/lon, NWS grid ID and coordinates, county, time zone, forecast zone).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "string",
       "examples": [
        "40.7128"
       ],
       "description": "Latitude. Give lat+lon or place."
      },
      "lon": {
       "type": "string",
       "examples": [
        "-74.006"
       ],
       "description": "Longitude."
      },
      "hours": {
       "type": "string",
       "default": "24",
       "description": "Hourly periods to return (1-48) when hourly=true."
      },
      "place": {
       "type": "string",
       "description": "US city/address/landmark, e.g. \"Austin, TX\"."
      },
      "alerts": {
       "type": "string",
       "default": "true",
       "description": "false = skip the active-alerts lookup."
      },
      "hourly": {
       "type": "string",
       "default": "false",
       "description": "true = hourly periods instead of day/night."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "periods",
  "note": "Official NWS data for the United States and its territories. Informational only: for life-safety decisions follow official NWS / local authority instructions. ScrapeMole is not affiliated with NOAA or the NWS.",
  "alerts": {
   "count": 0,
   "events": []
  },
  "source": "US National Weather Service API (https://api.weather.gov)",
  "license": "Public domain (US government work, 17 U.S.C. 105)",
  "periods": [
   {
    "name": "Today",
    "endTime": "2026-10-19T18:00:00-04:00",
    "isDaytime": true,
    "startTime": "2026-10-19T06:00:00-04:00",
    "windSpeed": "10 mph",
    "temperatureC": 16.1,
    "temperatureF": 61,
    "shortForecast": "Mostly Sunny",
    "windDirection": "W",
    "detailedForecast": "Mostly sunny, with a high near 61. West wind around 10 mph.",
    "precipitationPct": 10
   }
  ],
  "updated": "2026-10-19T06:12:00+00:00",
  "location": {
   "lat": 40.7128,
   "lon": -74.006,
   "city": "New York",
   "gridX": 33,
   "gridY": 42,
   "state": "NY",
   "county": "NYC061",
   "gridId": "OKX",
   "timeZone": "America/New_York",
   "forecastZone": "NYZ072"
  },
  "sourceUrl": "https://www.weather.gov/documentation/services-web-api"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-pulse-us-national-weather-service-forecast-9e2b09fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pulse.scrapemole.workers.dev](https://www.zero.xyz/host/pulse.scrapemole.workers.dev/llms.txt)
