{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["data"],"dataPlatform":"nws","dataPlatformLogoUrl":"https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/cloud-sun.svg","dataPlatformTranslations":{"ar":"nws","ja":"nws","zh":"nws"},"dataProduct":"weather","description":"Get NWS Hourly Forecast data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Nws, configure supported query parameters and filters, and retrieve structured data including forecast generation time, source update time, forecast-period start, forecast-period end, and forecast temperature to build an hourly weather view, support local planning, and show forecast freshness.","descriptionTranslations":{"ar":"اجلب توقعات National Weather Service بالساعة عبر OpenAny REST لمكتب توقعات أمريكي وإحداثيات شبكة معروفة. استخدم الفترات ودرجات الحرارة والرياح واحتمال الهطول والوصف المختصر لبناء عرض محلي للطقس، واحتفظ بوقت التوليد وأوقات الفترات لتمييز التوقعات عن الرصد ومعرفة عمر الاستجابة.","ja":"OpenAny REST で米国の予報オフィスとグリッド座標を指定し、National Weather Service の毎時予報を取得できます。予報期間、気温、風、降水確率、短い天候説明を地域別画面に使い、生成日時と各期間の日時を保持することで、予測と観測を区別し、応答の経過時間を確認できます。","zh":"通过 OpenAny REST，按已知的美国气象预报办公室与网格坐标获取国家气象局逐小时预报。利用预报时段、温度、风、降水概率及简短天气描述构建地区天气视图，并保留生成时间与时段时间戳，便于应用区分预报和实况、判断响应的新旧。"},"effectContentHtml":"","executionMode":"sync","id":"fd4d1f3f-e99c-4d1f-bd9a-87a3f067a3b1","includedContentHtml":"","inputs":[{"description":"Grid coordinates as one comma-separated path segment, such as 97,71.","location":"path","max_length":16,"min_length":1,"name":"grid","nullable":false,"required":true,"type":"string"},{"description":"NWS forecast office identifier, such as LWX.","location":"path","max_length":3,"min_length":1,"name":"office","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://cdn.jsdelivr.net/npm/lucide-static@0.468.0/icons/cloud-sun.svg","method":"GET","name":"NWS Hourly Forecast API","nameTranslations":{"ar":"API للتوقعات الجوية بالساعة NWS","ja":"NWS 毎時天気予報 API","zh":"NWS 美国逐小时天气预报 API"},"overviewHtml":"\u003ch2\u003eNWS Hourly Forecast API\u003c/h2\u003e\n\u003cp\u003ePut office and grid into the endpoint path, with grid encoded as one comma-separated coordinate segment. Forecast periods are listed in properties.periods, while response metadata identifies generation time, update time and units.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired path: office (for example LWX) and grid (for example 97,71).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003enws · NWS US Hourly Weather Forecast\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eBuild an hourly weather view\u003c/strong\u003e: Arrange periods by startTime and show temperature with its unit.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSupport local planning\u003c/strong\u003e: Combine wind and precipitation forecasts for the selected grid.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eShow forecast freshness\u003c/strong\u003e: Display update and generation timestamps separately from predicted period times.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.generatedAt\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eForecast generation time\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.updateTime\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource update time\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].startTime\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eForecast-period start\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].endTime\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eForecast-period end\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].temperature\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eForecast temperature\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].temperatureUnit\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTemperature unit\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].windSpeed\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWind speed as reported text\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].probabilityOfPrecipitation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eProbability value and unit object\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eproperties.periods[].shortForecast\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShort forecast description\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/nws/hourly/LWX/97,71 \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The request below is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/fd4d1f3f-e99c-4d1f-bd9a-87a3f067a3b1\"\u003ePublished NWS Hourly Forecast API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I send latitude and longitude directly?\u003c/h3\u003e\n\u003cp\u003eThis endpoint requires office and grid. Resolve a location to an NWS forecast grid separately before calling it.\u003c/p\u003e\n\u003ch3\u003eIs this current observed weather?\u003c/h3\u003e\n\u003cp\u003eNo. The response contains forecast periods. Actual observations require a separate weather-observation resource.\u003c/p\u003e\n\u003ch3\u003eWhat is the format of grid?\u003c/h3\u003e\n\u003cp\u003eUse one comma-separated path segment, such as 97,71, together with an office identifier such as LWX.\u003c/p\u003e\n\u003ch3\u003eAre temperatures always Celsius?\u003c/h3\u003e\n\u003cp\u003eRead temperatureUnit for each period and the response units. The reference response uses Fahrenheit.\u003c/p\u003e\n\u003ch3\u003eDoes a missing precipitation value mean zero?\u003c/h3\u003e\n\u003cp\u003eNo. A missing or null probability should remain unknown rather than being converted to zero.\u003c/p\u003e\n\u003ch3\u003eCan I request a past date or a fixed number of hours?\u003c/h3\u003e\n\u003cp\u003eThis implementation exposes office and grid only. It does not declare a historical date or forecast-length input.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nws/nws-us-active-weather-alerts\"\u003eNWS US Weather Alerts API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/nws/nws-us-hourly-weather-forecast","providerId":"nws","publicPath":"/v1/agent-apis/nws/hourly/{office}/{grid}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{"grid":"97,71","office":"LWX"},"query":{}},"response_body":{"@context":["https://geojson.org/geojson-ld/geojson-context.jsonld",{"@version":"1.1","@vocab":"https://api.weather.gov/ontology#","geo":"http://www.opengis.net/ont/geosparql#","unit":"http://codes.wmo.int/common/unit/","wx":"https://api.weather.gov/ontology#"}],"geometry":{"coordinates":[[[-77.0125,38.8759],[-77.0088,38.8979],[-77.037,38.9008],[-77.0408,38.8788],[-77.0125,38.8759]]],"type":"Polygon"},"properties":{"elevation":{"unitCode":"wmoUnit:m","value":6.096},"forecastGenerator":"HourlyForecastGenerator","generatedAt":"2026-11-03T14:37:44+00:00","periods":[{"detailedForecast":"","dewpoint":{"unitCode":"wmoUnit:degC","value":10},"endTime":"2026-11-03T10:00:00-05:00","icon":"https://api.weather.gov/icons/land/day/sct?size=small","isDaytime":true,"name":"","number":1,"probabilityOfPrecipitation":{"unitCode":"wmoUnit:percent","value":1},"relativeHumidity":{"unitCode":"wmoUnit:percent","value":80},"shortForecast":"Mostly Sunny","startTime":"2026-11-03T09:00:00-05:00","temperature":56,"temperatureTrend":null,"temperatureUnit":"F","windDirection":"S","windSpeed":"3 mph"},{"detailedForecast":"","dewpoint":{"unitCode":"wmoUnit:degC","value":10.555555555555555},"endTime":"2026-11-03T11:00:00-05:00","icon":"https://api.weather.gov/icons/land/day/few?size=small","isDaytime":true,"name":"","number":2,"probabilityOfPrecipitation":{"unitCode":"wmoUnit:percent","value":2},"relativeHumidity":{"unitCode":"wmoUnit:percent","value":70},"shortForecast":"Sunny","startTime":"2026-11-03T10:00:00-05:00","temperature":61,"temperatureTrend":null,"temperatureUnit":"F","windDirection":"S","windSpeed":"5 mph"}],"units":"us","updateTime":"2026-11-03T11:53:28+00:00","validTimes":"2026-11-03T05:00:00+00:00/P7DT20H"},"type":"Feature"}}],"seoDescription":"Get NWS Hourly Forecast data via REST or MCP powered by Nws. Pay per call, no subscription. Get forecast generation time and source update time in JSON.","updatedAt":"2026-12-03T02:36:40.371Z","usageInstructionsHtml":""}}