National Weather Service API
Returns US forecasts, grid points, active alerts, observation stations and latest station observations.
View as Markdown| GET | /nws/point | The NWS grid cell and forecast office of a point in the United States. |
| GET | /nws/forecast | The forecast of a point in the United States, period by period. |
| GET | /nws/hourlyForecast | The hour-by-hour forecast of a point in the United States: temperature, rain chance, wind and humidity. |
| GET | /nws/alerts | Active watches, warnings and advisories of a US state or territory. |
| GET | /nws/alertsAt | Active watches, warnings and advisories that cover a point in the United States. |
| GET | /nws/stations | The weather observation stations of a state or territory, such as DC or PR. |
| GET | /nws/observation | The latest observation of one station: sky, temperature, wind, humidity, pressure and visibility. |
| GET | /nws/observations | The recent observations of one weather station, newest first: the history of its temperature, wind, humidity and sky. |
| GET | /nws/alertTypes | The names of every alert event the National Weather Service issues, such as Tornado Warning. |
| GET | /nws/zones | NWS forecast zones of a state or territory: public forecast zones, counties, fire zones or marine zones. |
| GET | /nws/products | Recent text products of a forecast office, newest first: area forecast discussions by default. |
| GET | /nws/glossary | Meteorological terms of the National Weather Service glossary, with an optional text filter on the term or definition. |
point
/v1/nws/pointThe NWS grid cell and forecast office of a point in the United States.
Parameters
latstring required | Latitude inside the United States, -90 to 90. e.g. 38.8894 |
lonstring required | Longitude inside the United States, -180 to 180. e.g. -77.0352 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
city | string |
forecastUrl | string |
gridColumn | integer (int64) |
gridRow | integer (int64) |
latitude | number (double) |
longitude | number (double) |
office | string |
state | string |
timeZone | string |
curl "https://api.hoshime.com/v1/nws/point?lat=38.8894&lon=-77.0352" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/point?lat=38.8894&lon=-77.0352", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/point?lat=38.8894&lon=-77.0352", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "city": "Washington", "forecastUrl": "https://api.weather.gov/gridpoints/LWX/97,71/forecast", "gridColumn": 97, "gridRow": 71, "latitude": 38.8894, "longitude": -77.0352, "office": "LWX", "state": "DC", "timeZone": "America/New_York" }, "meta": { "cached": false, "endpoint": "point", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
forecast
/v1/nws/forecastThe forecast of a point in the United States, period by period.
Parameters
latstring required | Latitude inside the United States, -90 to 90. e.g. 38.8894 |
lonstring required | Longitude inside the United States, -180 to 180. e.g. -77.0352 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
24 fields
items | Period[] |
detailedForecast | string |
endAt | string |
isDaytime | boolean |
name | string |
number | integer (int64) |
precipitationChancePct | integer (int64) |
shortForecast | string |
startAt | string |
temperature | integer (int64) |
temperatureUnit | string |
windDirection | string |
windSpeed | string |
point | Point |
city | string |
forecastUrl | string |
gridColumn | integer (int64) |
gridRow | integer (int64) |
latitude | number (double) |
longitude | number (double) |
office | string |
state | string |
timeZone | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/nws/forecast?lat=38.8894&lon=-77.0352" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/forecast?lat=38.8894&lon=-77.0352", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/forecast?lat=38.8894&lon=-77.0352", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "items": [ { "detailedForecast": "Rain showers before 5pm. Mostly cloudy, with a high near 69. South wind around 3 mph. Chance of precipitation is 100%. New rainfall amounts …", "endAt": "2026-11-06T23:00:00Z", "isDaytime": true, "name": "This Afternoon", "number": 1, "precipitationChancePct": 96, "shortForecast": "Rain Showers", "startAt": "2026-11-06T17:00:00Z", "temperature": 69, "temperatureUnit": "F", "windDirection": "S", "windSpeed": "3 mph" }, { "detailedForecast": "Mostly cloudy, with a low around 45. West wind 3 to 10 mph, with gusts as high as 25 mph. New rainfall amounts less than a tenth of an inch …", "endAt": "2026-11-07T11:00:00Z", "isDaytime": false, "name": "Tonight", "number": 2, "precipitationChancePct": 9, "shortForecast": "Mostly Cloudy", "startAt": "2026-11-06T23:00:00Z", "temperature": 45, "temperatureUnit": "F", "windDirection": "W", "windSpeed": "3 to 10 mph" } ], "point": { "city": "Washington", "forecastUrl": "https://api.weather.gov/gridpoints/LWX/97,71/forecast", "gridColumn": 97, "gridRow": 71, "latitude": 38.8894, "longitude": -77.0352, "office": "LWX", "state": "DC", "timeZone": "America/New_York" }, "updatedAt": "2026-11-06T17:46:29Z" }, "meta": { "cached": false, "endpoint": "forecast", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
hourlyForecast
/v1/nws/hourlyForecastThe hour-by-hour forecast of a point in the United States: temperature, rain chance, wind and humidity.
Parameters
latstring required | Latitude inside the United States, -90 to 90. e.g. 38.8894 |
lonstring required | Longitude inside the United States, -180 to 180. e.g. -77.0352 |
limitinteger | Items per page, 1 to 156. default 24e.g. 24 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
dewpointCelsius | number (double) |
endAt | string |
isDaytime | boolean |
number | integer (int64) |
precipitationChancePct | integer (int64) |
relativeHumidity | integer (int64) |
shortForecast | string |
startAt | string |
temperature | integer (int64) |
temperatureUnit | string |
windDirection | string |
windSpeed | string |
curl "https://api.hoshime.com/v1/nws/hourlyForecast?lat=38.8894&lon=-77.0352&limit=24" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/hourlyForecast?lat=38.8894&lon=-77.0352&limit=24", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/hourlyForecast?lat=38.8894&lon=-77.0352&limit=24", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "dewpointCelsius": 0, "endAt": "2026-11-06T09:41:00Z", "isDaytime": false, "number": 0, "precipitationChancePct": 0, "relativeHumidity": 0, "shortForecast": "…", "startAt": "2026-11-06T09:41:00Z", "temperature": 0, "temperatureUnit": "…", "windDirection": "…", "windSpeed": "…" } ], "meta": { "cached": false, "endpoint": "hourlyForecast", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
alerts
/v1/nws/alertsActive watches, warnings and advisories of a US state or territory.
Parameters
areastring required | Two-letter state or territory code, such as CA or PR. e.g. CA |
limitinteger | Items per page, 1 to 100. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
areaDesc | string |
certainty | string |
description | string |
effectiveAt | string |
endsAt | string |
event | string |
expiresAt | string |
headline | string |
id | string |
sender | string |
sentAt | string |
severity | string |
urgency | string |
curl "https://api.hoshime.com/v1/nws/alerts?area=CA" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/alerts?area=CA", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/alerts?area=CA", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "areaDesc": "Santa Clarita Valley; Western Santa Monica Mountains Recreational Area; Eastern Santa Monica Mountains Recreational Area; Santa Susana Mount…", "certainty": "Likely", "description": "...RISK FOR RAPID FIRE GROWTH AND EXTREME FIRE BEHAVIOR WITH ANY\nNEW FIRE STARTS, ESPECIALLY LATE TONIGHT THROUGH SATURDAY...\n\n.Weak to mode…", "effectiveAt": "2026-11-06T17:53:00Z", "endsAt": "2026-11-08T02:00:00Z", "event": "Red Flag Warning", "expiresAt": "2026-11-07T02:00:00Z", "headline": "Red Flag Warning issued November 6 at 9:53AM PST until November 7 at 6:00PM PST by NWS Los Angeles/Oxnard CA", "id": "urn:oid:2.49.0.1.840.0.06a82cf93ae720d7dead2620989c6af3add6d41f.001.1", "sender": "NWS Los Angeles/Oxnard CA", "sentAt": "2026-11-06T17:53:00Z", "severity": "Severe", "urgency": "Expected" }, { "areaDesc": "Coastal Del Norte; Northern Coastal Humboldt; Southwestern Humboldt; Coastal Mendocino", "certainty": "Likely", "description": "* WHAT...Increased threat of sneaker waves expected.\n\n* WHERE...Coastal Del Norte, Northern Coastal Humboldt,\nSouthwestern Humboldt and Coas…", "effectiveAt": "2026-11-06T17:02:00Z", "endsAt": "2026-11-07T08:00:00Z", "event": "Beach Hazards Statement", "expiresAt": "2026-11-07T01:15:00Z", "headline": "Beach Hazards Statement issued November 6 at 9:02AM PST until November 7 at 12:00AM PST by NWS Eureka CA", "id": "urn:oid:2.49.0.1.840.0.3b6d63c2aaafaed6e2ed2ca51ff048d754f7d2cd.001.1", "sender": "NWS Eureka CA", "sentAt": "2026-11-06T17:02:00Z", "severity": "Moderate", "urgency": "Expected" } ], "meta": { "cached": false, "endpoint": "alerts", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
alertsAt
/v1/nws/alertsAtActive watches, warnings and advisories that cover a point in the United States.
Parameters
latstring required | Latitude inside the United States, -90 to 90. e.g. 38.8894 |
lonstring required | Longitude inside the United States, -180 to 180. e.g. -77.0352 |
limitinteger | Items per page, 1 to 100. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
areaDesc | string |
certainty | string |
description | string |
effectiveAt | string |
endsAt | string |
event | string |
expiresAt | string |
headline | string |
id | string |
sender | string |
sentAt | string |
severity | string |
urgency | string |
curl "https://api.hoshime.com/v1/nws/alertsAt?lat=38.8894&lon=-77.0352" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/alertsAt?lat=38.8894&lon=-77.0352", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/alertsAt?lat=38.8894&lon=-77.0352", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [], "meta": { "cached": false, "endpoint": "alertsAt", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
stations
/v1/nws/stationsThe weather observation stations of a state or territory, such as DC or PR.
Parameters
statestring required | Two-letter state or territory code, such as CA or PR. e.g. DC |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
elevationMeters | number (double) |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
timeZone | string |
curl "https://api.hoshime.com/v1/nws/stations?state=DC&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/stations?state=DC&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/stations?state=DC&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "elevationMeters": 21.9456, "id": "1852W", "latitude": 38.89623, "longitude": -77.04384, "name": "GWU Foggy Bottom Campus", "timeZone": "America/New_York" }, { "elevationMeters": 78.0288, "id": "1855W", "latitude": 38.91736, "longitude": -77.08982, "name": "GWU Mount Vernon Campus", "timeZone": "America/New_York" } ], "meta": { "cached": false, "endpoint": "stations", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
observation
/v1/nws/observationThe latest observation of one station: sky, temperature, wind, humidity, pressure and visibility.
Parameters
stationstring required | Station identifier, such as KDCA. e.g. KDCA |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
dewpointCelsius | number (double) |
observedAt | string |
pressurePa | number (double) |
relativeHumidity | number (double) |
station | string |
temperatureCelsius | number (double) |
text | string |
visibilityMeters | number (double) |
windDirectionDeg | number (double) |
windSpeedKmh | number (double) |
curl "https://api.hoshime.com/v1/nws/observation?station=KDCA" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/observation?station=KDCA", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/observation?station=KDCA", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "dewpointCelsius": 13, "observedAt": "2026-11-06T17:10:00Z", "pressurePa": 101117.57, "relativeHumidity": 68.176241889352, "station": "https://api.weather.gov/stations/KDCA", "temperatureCelsius": 19, "text": "Mostly Cloudy", "visibilityMeters": 16093.44, "windDirectionDeg": 140, "windSpeedKmh": 5.544 }, "meta": { "cached": false, "endpoint": "observation", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
observations
/v1/nws/observationsThe recent observations of one weather station, newest first: the history of its temperature, wind, humidity and sky.
Parameters
stationstring required | Station identifier, such as KDCA. e.g. KDCA |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
dewpointCelsius | number (double) |
observedAt | string |
pressurePa | number (double) |
relativeHumidity | number (double) |
station | string |
temperatureCelsius | number (double) |
text | string |
visibilityMeters | number (double) |
windDirectionDeg | number (double) |
windSpeedKmh | number (double) |
curl "https://api.hoshime.com/v1/nws/observations?station=KDCA&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/observations?station=KDCA&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/observations?station=KDCA&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "dewpointCelsius": 0, "observedAt": "2026-11-06T09:41:00Z", "pressurePa": 0, "relativeHumidity": 0, "station": "…", "temperatureCelsius": 0, "text": "…", "visibilityMeters": 0, "windDirectionDeg": 0, "windSpeedKmh": 0 } ], "meta": { "cached": false, "endpoint": "observations", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
alertTypes
/v1/nws/alertTypesThe names of every alert event the National Weather Service issues, such as Tornado Warning.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
name | string |
curl "https://api.hoshime.com/v1/nws/alertTypes" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/alertTypes", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/alertTypes", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "name": "911 Telephone Outage" }, { "name": "Administrative Message" } ], "meta": { "cached": false, "endpoint": "alertTypes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
zones
/v1/nws/zonesNWS forecast zones of a state or territory: public forecast zones, counties, fire zones or marine zones.
Parameters
areastring required | Two-letter state or territory code, such as CA or PR. e.g. DC |
typestring | Zone type: public, county, fire or forecast.publiccountyfireforecastdefault publice.g. public |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
id | string |
name | string |
state | string |
timeZone | string |
type | string |
curl "https://api.hoshime.com/v1/nws/zones?area=DC&type=public" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/zones?area=DC&type=public", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/zones?area=DC&type=public", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "DCZ001", "name": "District of Columbia", "state": "DC", "timeZone": "America/New_York", "type": "public" } ], "meta": { "cached": false, "endpoint": "zones", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
products
/v1/nws/productsRecent text products of a forecast office, newest first: area forecast discussions by default.
Parameters
officestring required | Three or four letter office code, such as LWX. e.g. LWX |
typestring | Product code: AFD (area forecast discussion), AFM, HWO, NOW and others. default AFDe.g. AFD |
limitinteger | Items per page, 1 to 50. default 10e.g. 3 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
id | string |
issuedAt | string |
issuingOffice | string |
productCode | string |
productName | string |
wmoCollectiveId | string |
curl "https://api.hoshime.com/v1/nws/products?office=LWX&type=AFD&limit=3" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/products?office=LWX&type=AFD&limit=3", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/products?office=LWX&type=AFD&limit=3", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "855dae60-8ea4-4df7-a69e-8e2794bf934b", "issuedAt": "2026-11-06T15:20:00Z", "issuingOffice": "KLWX", "productCode": "AFD", "productName": "Area Forecast Discussion", "wmoCollectiveId": "FXUS61" }, { "id": "41ac32ce-88df-41ca-9f21-8ef1bfff9ecd", "issuedAt": "2026-11-06T14:05:00Z", "issuingOffice": "KLWX", "productCode": "AFD", "productName": "Area Forecast Discussion", "wmoCollectiveId": "FXUS61" } ], "meta": { "cached": false, "endpoint": "products", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }
glossary
/v1/nws/glossaryMeteorological terms of the National Weather Service glossary, with an optional text filter on the term or definition.
Parameters
querystring | Text to find in a term or its definition, such as hurricane. e.g. hurricane |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
definition | string |
term | string |
curl "https://api.hoshime.com/v1/nws/glossary?query=hurricane&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nws/glossary?query=hurricane&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nws/glossary?query=hurricane&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "definition": "The Beaufort wind scale is a system used to estimate and report wind speeds when no measuring apparatus is available. It was invented in the…", "term": "Beaufort Scale" }, { "definition": "These are common in the most intense hurricanes. They usually mark the end the period of intensification. These hurricanes then maintain qua…", "term": "Concentric Rings" } ], "meta": { "cached": false, "endpoint": "glossary", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nws", "requestId": "req_2Xb9kQ…", "units": 1 } }