{"api":{"id":"api_b9c14592b678384802232588","slug":"nws-forecast","name":"US Weather Forecast","description":"The National Weather Service forecast for any US place by latitude and longitude: the 7-day day and night periods or hour by hour, with temperature, chance of rain or snow, wind speed, gusts and direction and the forecast text, for one place or up to 50 places per run.","kind":"ready_made","visibility":"public","domain":"weather.gov","source_url":"https://api.weather.gov/","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":25,"created_at":"2026-12-06T03:33:09.237Z","updated_at":"2026-12-06T03:33:09.237Z","runnable":true},"version":"1.0","contract_hash":"412d327090af42d3af7267fa5a8b305dcda97667aba9090db299e09539a65fd8","fields":[{"name":"latitude","type":"number","description":"Latitude of the forecast point (rounded to 4 decimals).","required":true,"coverage":1,"example":43.0481},{"name":"longitude","type":"number","description":"Longitude of the forecast point (rounded to 4 decimals).","required":true,"coverage":1,"example":-76.1474},{"name":"city","type":"string","description":"Nearest city the weather service names for the point.","required":false,"coverage":1,"example":"Syracuse"},{"name":"state","type":"string","description":"Two-letter state or territory of that city.","required":false,"coverage":1,"example":"NY"},{"name":"forecast_office","type":"string","description":"Weather Forecast Office that writes the forecast, such as BGM (Binghamton, NY).","required":false,"coverage":1,"example":"BGM"},{"name":"time_zone","type":"string","description":"Time zone of the place, such as America/New_York.","required":false,"coverage":1,"example":"America/New_York"},{"name":"elevation_m","type":"number","description":"Elevation of the forecast area in meters.","required":false,"coverage":1,"example":121.9},{"name":"period_number","type":"integer","description":"Order of the period in the forecast, from 1.","required":false,"coverage":1,"example":1},{"name":"period_name","type":"string","description":"Name of the period, such as Tonight or Sunday Night; empty for hourly periods.","required":false,"coverage":1,"example":"Tonight"},{"name":"start_at","type":"datetime","description":"When the period starts (UTC).","required":true,"coverage":1,"example":"2026-12-06T02:00:00.000Z"},{"name":"end_at","type":"datetime","description":"When the period ends (UTC).","required":false,"coverage":1,"example":"2026-12-06T11:00:00.000Z"},{"name":"local_start","type":"string","description":"Start of the period in the place's local time with its UTC offset, such as 2026-12-05T18:00:00-05:00.","required":false,"coverage":1,"example":"2026-12-05T21:00:00-05:00"},{"name":"is_daytime","type":"boolean","description":"True for a daytime period, false for a night period.","required":false,"coverage":1,"example":false},{"name":"temperature","type":"number","description":"Forecast temperature: the high for a day period, the low for a night period, the expected value for an hour.","required":false,"coverage":1,"example":34},{"name":"temperature_unit","type":"string","description":"Unit of temperature: F or C.","required":false,"coverage":1,"example":"F"},{"name":"precipitation_chance","type":"integer","description":"Chance of rain, snow or other precipitation, in percent.","required":false,"coverage":1,"example":0},{"name":"wind_speed","type":"string","description":"Wind speed as forecast, such as 5 to 10 mph.","required":false,"coverage":1,"example":"3 mph"},{"name":"wind_speed_max","type":"number","description":"Highest wind speed in wind_speed as a number, in mph (or km/h with units si).","required":false,"coverage":1,"example":3},{"name":"wind_gust","type":"number","description":"Wind gust in mph (or km/h with units si): the highest gust the detailed text names for a 7-day period (empty when it names none), the forecast grid's gust for an hour.","required":false,"coverage":0.8,"example":30},{"name":"wind_direction","type":"string","description":"Compass direction the wind blows from, such as NE.","required":false,"coverage":1,"example":"NE"},{"name":"short_forecast","type":"string","description":"Short summary, such as Rain Showers or Mostly Sunny.","required":false,"coverage":1,"example":"Cloudy"},{"name":"detailed_forecast","type":"string","description":"Full forecast text of the period; empty for hourly periods.","required":false,"coverage":1,"example":"Cloudy, with a low around 34. Northeast wind around 3 mph."},{"name":"icon","type":"image","description":"Forecast icon from the weather service.","required":false,"coverage":1,"example":"https://api.weather.gov/icons/land/night/ovc?size=medium"},{"name":"updated_at","type":"datetime","description":"When forecasters last updated this forecast (UTC).","required":false,"coverage":1,"example":"2026-12-05T18:30:31.000Z"},{"name":"url","type":"url","description":"The place's forecast page on weather.gov.","required":false,"coverage":1,"example":"https://forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474"}],"inputs":[{"name":"latitude","type":"number","description":"Latitude of a US place, such as 43.0481. Give it with longitude, or list places in locations.","example":43.0481},{"name":"longitude","type":"number","description":"Longitude of the place, such as -76.1474 (west is negative).","example":-76.1474},{"name":"locations","type":"array","description":"Several places in one run, each as \"latitude,longitude\" text such as 40.7128,-74.006. Up to 50, read after the latitude and longitude above.","example":["40.7128,-74.006","41.8781,-87.6298"]},{"name":"hourly","type":"boolean","description":"true for hour-by-hour periods (about 156 hours ahead); false for the 14 day and night periods of the 7-day forecast.","default":false,"example":false},{"name":"units","type":"string","description":"us for degrees Fahrenheit and mph, si for degrees Celsius and km/h.","default":"us","example":"us","enum":["us","si"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"city":{"description":"Nearest city the weather service names for the point.","type":"string"},"detailed_forecast":{"description":"Full forecast text of the period; empty for hourly periods.","type":"string"},"elevation_m":{"description":"Elevation of the forecast area in meters.","type":"number"},"end_at":{"description":"When the period ends (UTC).","format":"date-time","type":"string"},"forecast_office":{"description":"Weather Forecast Office that writes the forecast, such as BGM (Binghamton, NY).","type":"string"},"icon":{"description":"Forecast icon from the weather service.","format":"uri","type":"string"},"is_daytime":{"description":"True for a daytime period, false for a night period.","type":"boolean"},"latitude":{"description":"Latitude of the forecast point (rounded to 4 decimals).","type":"number"},"local_start":{"description":"Start of the period in the place's local time with its UTC offset, such as 2026-12-05T18:00:00-05:00.","type":"string"},"longitude":{"description":"Longitude of the forecast point (rounded to 4 decimals).","type":"number"},"period_name":{"description":"Name of the period, such as Tonight or Sunday Night; empty for hourly periods.","type":"string"},"period_number":{"description":"Order of the period in the forecast, from 1.","type":"integer"},"precipitation_chance":{"description":"Chance of rain, snow or other precipitation, in percent.","type":"integer"},"short_forecast":{"description":"Short summary, such as Rain Showers or Mostly Sunny.","type":"string"},"start_at":{"description":"When the period starts (UTC).","format":"date-time","type":"string"},"state":{"description":"Two-letter state or territory of that city.","type":"string"},"temperature":{"description":"Forecast temperature: the high for a day period, the low for a night period, the expected value for an hour.","type":"number"},"temperature_unit":{"description":"Unit of temperature: F or C.","type":"string"},"time_zone":{"description":"Time zone of the place, such as America/New_York.","type":"string"},"updated_at":{"description":"When forecasters last updated this forecast (UTC).","format":"date-time","type":"string"},"url":{"description":"The place's forecast page on weather.gov.","format":"uri","type":"string"},"wind_direction":{"description":"Compass direction the wind blows from, such as NE.","type":"string"},"wind_gust":{"description":"Wind gust in mph (or km/h with units si): the highest gust the detailed text names for a 7-day period (empty when it names none), the forecast grid's gust for an hour.","type":"number"},"wind_speed":{"description":"Wind speed as forecast, such as 5 to 10 mph.","type":"string"},"wind_speed_max":{"description":"Highest wind speed in wind_speed as a number, in mph (or km/h with units si).","type":"number"}},"required":["latitude","longitude","start_at"],"title":"US Weather Forecast","type":"object"},"samples":[{"latitude":43.0481,"longitude":-76.1474,"city":"Syracuse","state":"NY","forecast_office":"BGM","time_zone":"America/New_York","elevation_m":121.9,"period_number":1,"period_name":"Tonight","start_at":"2026-12-06T02:00:00.000Z","end_at":"2026-12-06T11:00:00.000Z","local_start":"2026-12-05T21:00:00-05:00","is_daytime":false,"temperature":34,"temperature_unit":"F","precipitation_chance":0,"wind_speed":"3 mph","wind_speed_max":3,"wind_gust":null,"wind_direction":"NE","short_forecast":"Cloudy","detailed_forecast":"Cloudy, with a low around 34. Northeast wind around 3 mph.","icon":"https://api.weather.gov/icons/land/night/ovc?size=medium","updated_at":"2026-12-05T18:30:31.000Z","url":"https://forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474"},{"latitude":43.0481,"longitude":-76.1474,"city":"Syracuse","state":"NY","forecast_office":"BGM","time_zone":"America/New_York","elevation_m":121.9,"period_number":2,"period_name":"Sunday","start_at":"2026-12-06T11:00:00.000Z","end_at":"2026-12-06T23:00:00.000Z","local_start":"2026-12-06T06:00:00-05:00","is_daytime":true,"temperature":54,"temperature_unit":"F","precipitation_chance":11,"wind_speed":"2 to 15 mph","wind_speed_max":15,"wind_gust":30,"wind_direction":"SE","short_forecast":"Mostly Cloudy","detailed_forecast":"Mostly cloudy, with a high near 54. Southeast wind 2 to 15 mph, with gusts as high as 30 mph.","icon":"https://api.weather.gov/icons/land/day/bkn?size=medium","updated_at":"2026-12-05T18:30:31.000Z","url":"https://forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474"},{"latitude":43.0481,"longitude":-76.1474,"city":"Syracuse","state":"NY","forecast_office":"BGM","time_zone":"America/New_York","elevation_m":121.9,"period_number":3,"period_name":"Sunday Night","start_at":"2026-12-06T23:00:00.000Z","end_at":"2026-12-07T11:00:00.000Z","local_start":"2026-12-06T18:00:00-05:00","is_daytime":false,"temperature":45,"temperature_unit":"F","precipitation_chance":97,"wind_speed":"15 to 21 mph","wind_speed_max":21,"wind_gust":40,"wind_direction":"S","short_forecast":"Rain Showers","detailed_forecast":"Rain showers. Cloudy. Low around 45, with temperatures rising to around 56 overnight. South wind 15 to 21 mph, with gusts as high as 40 mph. Chance of precipitation is 100%. New rainfall amounts between a tenth and quarter of an inch possible.","icon":"https://api.weather.gov/icons/land/night/rain_showers,100/rain_showers,90?size=medium","updated_at":"2026-12-05T18:30:31.000Z","url":"https://forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"city":1,"detailed_forecast":1,"elevation_m":1,"end_at":1,"forecast_office":1,"icon":1,"is_daytime":1,"latitude":1,"local_start":1,"longitude":1,"period_name":1,"period_number":1,"precipitation_chance":1,"short_forecast":1,"start_at":1,"state":1,"temperature":1,"temperature_unit":1,"time_zone":1,"updated_at":1,"url":1,"wind_direction":1,"wind_gust":0.67,"wind_speed":1,"wind_speed_max":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.237Z","activated_at":"2026-12-06T03:33:09.237Z","active":true,"contract_hash":"412d327090af42d3af7267fa5a8b305dcda97667aba9090db299e09539a65fd8","fields_count":25}]}