{"uid":"cap_pAH9zuLfI2himyxp509LX","slug":"us-weather-forecast-nws-5-period-3d2ef37a","name":"US Weather Forecast (NWS 5-Period)","description":"US weather forecast: the next five National Weather Service forecast periods for a latitude and longitude - temperature, wind speed and direction, and the plain-language forecast.","url":"https://agent-evidence-api.thx93.workers.dev/v1/weather/forecast?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"periods":[{"name":"Today","windSpeed":"5 to 10 mph","temperature":68,"windDirection":"W","temperatureUnit":"F","detailedForecast":"Sunny."}],"latitude":37.7749,"longitude":-122.4194}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qzRDWoroQnjqoaKqXykBp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next five National Weather Service forecast periods for a given latitude and longitude, including temperature, wind speed, wind direction, and plain-language forecast text.","exampleAgentPrompt":"What's the National Weather Service forecast for the next five periods at latitude 40.7128, longitude -74.0060? I need the temperature, wind, and the plain-language description for each period.","exampleUseCases":[{"title":"Outdoor event weather planning","prompt":"I'm planning an outdoor event at latitude 34.0522, longitude -118.2437 this weekend — can you pull the next five NWS forecast periods so I know what the temperature and wind will be like?"},{"title":"Hiking trip condition check","prompt":"Before I head out for a hike near latitude 44.4280, longitude -110.5885, can you get me the National Weather Service forecast for the next few periods, including wind speed and plain-language conditions?"},{"title":"Agricultural frost risk assessment","prompt":"Can you check the NWS forecast for the next five periods at latitude 36.7783, longitude -119.4179 and tell me the temperatures and wind conditions — I need to know if there's a frost risk for my crops."}],"resultDescription":"An array of up to five forecast period objects from the National Weather Service, each containing the period name (e.g. 'Tonight', 'Monday'), temperature with unit, wind speed, wind direction, and a plain-language short forecast description (e.g. 'Mostly sunny').","failureModes":["Invalid or out-of-range latitude/longitude returns an error or empty forecast","Location outside the US continental coverage area (NWS only covers US territories) returns no data","NWS API upstream outage results in a failed or timeout response","Malformed request body returns a 400-level error","Payment not provided or insufficient funds returns a 402 Payment Required error"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-period weather forecast data (temperature, wind, plain-language description) for a precise US geographic coordinate sourced directly from the National Weather Service. It is ideal for US-only location-based forecasting where NWS authority and plain-language summaries matter. For non-US locations, use a different global weather provider. For active severe weather alerts by state, use the companion NWS alerts endpoint on the same host.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:02:48.865Z","isFirstParty":false,"canonicalSlug":"us-weather-forecast-nws-5-period-3d2ef37a"}