NWS US Weather — official forecasts, alerts & observations
Pricing
$10.00 / 1,000 location forecasts
NWS US Weather — official forecasts, alerts & observations
U.S. National Weather Service forecasts, active alerts, and latest station observation for a ZIP, city, or coordinates. Compact JSON plus markdown briefing. Official NWS APIs, no key. Not affiliated with NWS/NOAA. Built for AI agents.
Pricing
$10.00 / 1,000 location forecasts
Rating
0.0
(0)
Developer
Tec5uport Data Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 days ago
Last modified
Categories
Features
Share
Get official U.S. National Weather Service forecasts, active alerts, and the latest station observation for a ZIP code, city, or coordinates. Returns compact JSON plus a markdown weather briefing. No API key. Built so an AI agent can answer “what’s the weather in …?” with one tool call.
Store / MCP search keywords: weather.gov, NWS, National Weather Service, NOAA forecast, US weather alerts, weather warning, hourly forecast, ZIP code weather, Vicksburg weather, official weather API, weather briefing, no API key.
What it does
- Forecasts, hourly forecasts, alerts, and observations from
https://api.weather.gov(NWS API docs). The NWS requires a User-Agent and does not require an API key. Data is free official U.S. government weather information. - ZIP / city geocoding uses the public postal gazetteer at
https://api.zippopotam.us(U.S. ZIP and place centroids). Street addresses use the U.S. Census Bureau geocoder (geocoding.geo.census.gov). - This Actor does not scrape weather.com, AccuWeather, or other commercial forecast sites.
Agent / MCP notes
Apify MCP at https://mcp.apify.com discovers Actors with search-actors and fetch-actor-details, runs them with call-actor (default 30s wait), then reads get-dataset-items (docs). This Actor is shaped for that path:
- Limited permissions only.
- Official JSON APIs so a ZIP lookup finishes quickly.
- Agent-friendly defaults:
zipCodes: ["39180"], 6 forecast periods, hourly off, alerts and current observation on,compact=true,outputFormat=both. - Each dataset item includes a
markdownbriefing; a combined briefing is stored asOUTPUT.md. - Pay-per-event charge is one
location-forecastper location, not per forecast period.
Suggested PPE when publishing (do not enable “pay per event + usage”):
| Event | Suggested price | When it fires |
|---|---|---|
location-forecast | $0.01 | Once per location briefing with status: "ok" |
That is about 1¢ per agent weather question and qualifies for per-request agentic payments (PPE + limited permissions + no Standby + developer KYC) (Monetize Actors).
Input
| Field | Default | Notes |
|---|---|---|
zipCodes | ["39180"] | Easiest agent input; max 10 per run |
coordinates | — | "lat,lon" strings; max 10 per run |
locations | — | Objects with zipCode / city+state / address / lat+lon; max 10 locations per run across all inputs |
stateAlerts | — | Extra statewide alert list, e.g. MS |
includeForecast | true | 12-hour periods |
includeHourly | false | Token-heavy; opt in |
includeAlerts | true | Point alerts |
includeObservation | true | Latest station reading |
forecastPeriods | 6 | About two days |
hourlyHours | 12 | Only used when includeHourly is true |
compact | true | Truncates long forecast and alert text to ~220 characters |
outputFormat | both | Adds markdown + OUTPUT.md |
Output
One dataset item per location, including forecast, alerts, observation, and markdown when requested.
Each item has status (ok, not_found, invalid_input, error). You are charged one location-forecast only for status: "ok". Max 10 locations per run. ZIP and city lookups use api.zippopotam.us (third-party) and return an approximate centroid; addresses use the U.S. Census geocoder. Not affiliated with NWS/NOAA. For life-safety decisions, follow official NWS warnings.
Local run (no publish)
cd nws-us-weathernpm installAPIFY_LOCAL_STORAGE_DIR=./storage node src/main.js
Legal
NWS data is open for any purpose, with reasonable rate limits. Identify this application via User-Agent as the NWS asks. Do not hammer the API; this Actor spaces requests. Not affiliated with or endorsed by the National Weather Service (NWS) or NOAA. ZIP and city lookups go through api.zippopotam.us (a free third-party gazetteer, not an official NWS service) and return an approximate centroid; street addresses are sent to the U.S. Census Bureau geocoder. For life-safety decisions, follow official NWS warnings and local emergency management.