{"service":{"url":"https://weather-windows-x402.exmachina-systems.workers.dev/v1/weather-windows","description":"Find the next rain- and wind-safe weather window for outdoor work at U.S. coordinates. Filter the hourly forecast by precipitation probability, sustained wind, temperature, daylight, and minimum duration. Returns contiguous windows with UTC start and end times, forecast coverage, and the National Weather Service source. Example: find three daylight hours for outdoor painting in Washington, DC.","mimeType":"application/json","serviceName":"ExMachina Weather Windows","tags":["weather","forecast","planning","us"],"iconUrl":"https://weather-windows-x402.exmachina-systems.workers.dev/favicon.png"},"price":"0.005 USDC on Base","sample":{"input":{"lat":38.9,"lon":-77.04,"hours":24,"minWindowHours":3,"maxRainPct":20,"maxWindKph":25,"minTempC":5,"maxTempC":32,"daylightOnly":true},"horizon":{"start":"2026-11-20T13:00:00.000Z","end":"2026-11-21T13:00:00.000Z","usableHours":24,"complete":true},"source":{"url":"https://api.weather.gov/gridpoints/LWX/96,71/forecast/hourly","updatedAt":"2026-11-20T11:53:15.000Z","note":"Derived from U.S. National Weather Service hourly data. Window calculations are by ExMachina Systems."},"windows":[{"start":"2026-11-20T13:00:00.000Z","end":"2026-11-20T23:00:00.000Z","hours":10,"minTempC":9.4,"maxTempC":20.6,"maxHourlyRainPct":0,"maxSustainedWindKph":4.8}]},"sampleIsIllustrative":false,"weatherWindows":{"result":{"input":{"lat":38.9,"lon":-77.04,"hours":24,"minWindowHours":3,"maxRainPct":20,"maxWindKph":25,"minTempC":5,"maxTempC":32,"daylightOnly":true},"horizon":{"start":"2026-11-20T13:00:00.000Z","end":"2026-11-21T13:00:00.000Z","usableHours":24,"complete":true},"source":{"url":"https://api.weather.gov/gridpoints/LWX/96,71/forecast/hourly","updatedAt":"2026-11-20T11:53:15.000Z","note":"Derived from U.S. National Weather Service hourly data. Window calculations are by ExMachina Systems."},"windows":[{"start":"2026-11-20T13:00:00.000Z","end":"2026-11-20T23:00:00.000Z","hours":10,"minTempC":9.4,"maxTempC":20.6,"maxHourlyRainPct":0,"maxSustainedWindKph":4.8}]},"live":true,"request":"https://weather-windows-x402.exmachina-systems.workers.dev/v1/weather-windows?lat=38.90&lon=-77.04&hours=24&minWindowHours=3&maxRainPct=20&maxWindKph=25&daylightOnly=true"},"hourlyForecast":{"result":{"input":{"lat":35.68,"lon":139.76,"hours":3},"source":{"url":"https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=35.68&lon=139.76","updatedAt":"2026-11-20T11:20:30.000Z","attribution":"Norwegian Meteorological Institute (MET Norway)","license":"CC BY 4.0","licenseUrl":"https://creativecommons.org/licenses/by/4.0/","note":"ExMachina Systems selects forecast hours, renames fields and converts wind speed to km/h."},"current":{"time":"2026-11-20T12:00:00.000Z","temperatureC":7.5,"relativeHumidityPct":62.8,"windKph":24.5,"windFromDegrees":279.5,"cloudCoverPct":3.9,"precipitationNextHourMm":0,"condition":"clearsky_night"},"hourly":[{"time":"2026-11-20T13:00:00.000Z","temperatureC":7.1,"relativeHumidityPct":66.1,"windKph":17.6,"windFromDegrees":31.4,"cloudCoverPct":9.4,"precipitationNextHourMm":0,"condition":"clearsky_night"},{"time":"2026-11-20T14:00:00.000Z","temperatureC":7,"relativeHumidityPct":70,"windKph":11.9,"windFromDegrees":15.3,"cloudCoverPct":10.2,"precipitationNextHourMm":0,"condition":"clearsky_night"},{"time":"2026-11-20T15:00:00.000Z","temperatureC":6.8,"relativeHumidityPct":72.4,"windKph":5.8,"windFromDegrees":17,"cloudCoverPct":3.9,"precipitationNextHourMm":0,"condition":"clearsky_night"}],"complete":true},"live":true,"request":"https://weather-windows-x402.exmachina-systems.workers.dev/v1/weather/forecast?lat=35.68&lon=139.76&hours=3"},"inputSchema":{"type":"object","additionalProperties":false,"required":["lat","lon"],"properties":{"lat":{"type":"string","pattern":"^-?\\d{1,3}(\\.\\d{1,6})?$","maxLength":11,"description":"Latitude of a public location in the United States or its territories. Range -90 to 90."},"lon":{"type":"string","pattern":"^-?\\d{1,3}(\\.\\d{1,6})?$","maxLength":11,"description":"Longitude of a public location in the United States or its territories. Range -180 to 180."},"hours":{"type":"string","pattern":"^-?\\d{1,3}$","maxLength":11,"description":"Forecast horizon in hours. Range 6 to 72.","default":"48"},"minWindowHours":{"type":"string","pattern":"^-?\\d{1,3}$","maxLength":11,"description":"Minimum contiguous hours in each window. Range 1 to 8.","default":"2"},"maxRainPct":{"type":"string","pattern":"^-?\\d{1,3}$","maxLength":11,"description":"Maximum hourly probability of precipitation, 0–100. Range 0 to 100.","default":"25"},"maxWindKph":{"type":"string","pattern":"^-?\\d{1,3}(\\.\\d{1,6})?$","maxLength":11,"description":"Maximum sustained wind in km/h, using the upper end of any source range. Range 0 to 150.","default":"30"},"minTempC":{"type":"string","pattern":"^-?\\d{1,3}(\\.\\d{1,6})?$","maxLength":11,"description":"Minimum hourly temperature in °C. Range -60 to 60.","default":"5"},"maxTempC":{"type":"string","pattern":"^-?\\d{1,3}(\\.\\d{1,6})?$","maxLength":11,"description":"Maximum hourly temperature in °C. Range -60 to 60.","default":"32"},"daylightOnly":{"type":"string","enum":["true","false"],"default":"true","description":"Require hours marked as daytime by the source. Defaults to true."}}},"outputSchema":{"type":"object","properties":{"input":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"hours":{"type":"integer","minimum":0},"minWindowHours":{"type":"integer","minimum":0},"maxRainPct":{"type":"integer","minimum":0},"maxWindKph":{"type":"number"},"minTempC":{"type":"number"},"maxTempC":{"type":"number"},"daylightOnly":{"type":"boolean"}},"required":["lat","lon","hours","minWindowHours","maxRainPct","maxWindKph","minTempC","maxTempC","daylightOnly"],"additionalProperties":false},"horizon":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"},"usableHours":{"type":"integer","minimum":0},"complete":{"type":"boolean"}},"required":["start","end","usableHours","complete"],"additionalProperties":false},"source":{"type":"object","properties":{"url":{"type":"string","pattern":"^https://api\\.weather\\.gov/"},"updatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"},"note":{"type":"string"}},"required":["url","updatedAt","note"],"additionalProperties":false},"windows":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"},"hours":{"type":"integer","minimum":0},"minTempC":{"type":"number"},"maxTempC":{"type":"number"},"maxHourlyRainPct":{"type":"integer","minimum":0},"maxSustainedWindKph":{"type":"number"}},"required":["start","end","hours","minTempC","maxTempC","maxHourlyRainPct","maxSustainedWindKph"],"additionalProperties":false}}},"required":["input","horizon","source","windows"],"additionalProperties":false},"docs":"https://weather-windows-x402.exmachina-systems.workers.dev/openapi.json","terms":"https://weather-windows-x402.exmachina-systems.workers.dev/terms"}