{"uid":"cap_tMwkjReZC5zymLA78nfz-","slug":"foundry-nws-forecast-baseline-change-7569efdf","name":"Foundry NWS Forecast Baseline Change","description":"Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.","url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/nws-forecast-baseline-change","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"baseline":{"type":"array","items":{"type":"object","required":["startTime","endTime","temperature","temperatureUnit","windSpeed","windDirection","shortForecast"],"properties":{"endTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"startTime":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"windSpeed":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"temperature":{"anyOf":[{"type":"number","maximum":150,"minimum":-150},{"type":"null"}]},"shortForecast":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"windDirection":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"temperatureUnit":{"anyOf":[{"enum":["C","F"],"type":"string"},{"type":"null"}]}},"additionalProperties":false},"maxItems":14},"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}}},"responseSchema":{"type":"json","example":{"route":"nws-forecast-baseline-change","result":{"source":{"url":"https://api.weather.gov","terms_url":"https://www.weather.gov/disclaimer","updated_at":null,"attribution":"NOAA / National Weather Service; normalized by Foundry; no endorsement","retrieved_at":"2026-09-06T00:00:00Z","cache_age_seconds":0},"periods":[{"end":"2026-09-07T12:00:00Z","start":"2026-09-07T00:00:00Z","status":"CHANGED","current":{"endTime":"2026-09-07T12:00:00Z","startTime":"2026-09-07T00:00:00Z","windSpeed":"5 mph","temperature":23,"shortForecast":"Clear","windDirection":"N","temperatureUnit":"C"},"previous":{"endTime":"2026-09-07T12:00:00Z","startTime":"2026-09-07T00:00:00Z","windSpeed":"5 mph","temperature":20,"shortForecast":"Clear","windDirection":"N","temperatureUnit":"C"},"changed_fields":["temperature"],"unknown_fields":[]}],"limitations":["Compares only identical complete source period boundaries. Shifted or missing baseline periods remain UNKNOWN.","Temperature compares in Celsius; wind and forecast text compare literally. Text change is not a quantified weather change.","Current retrieval is not historical coverage, a safety recommendation or an emergency service."],"requested_window":{"end":"2026-09-07T12:00:00Z","start":"2026-09-07T00:00:00Z"},"current_coverage_complete":true},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2lIfXw0t8i0ldjmif4N7q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a user-supplied baseline NWS forecast against the current live NWS forecast for a given time window, returning period-by-period change status and changed fields.","exampleAgentPrompt":"Compare this baseline NWS forecast I saved yesterday against the current official forecast for the window from 2026-09-07T00:00:00Z to 2026-09-07T12:00:00Z — my baseline has temperature 20°C, wind 5 mph N, forecast 'Clear' — and tell me which fields changed.","exampleUseCases":[{"title":"Overnight forecast drift alert","prompt":"I stored last night's NWS forecast for tomorrow morning (2026-09-08T06:00:00Z to 2026-09-08T12:00:00Z) — temperature was 18°C, wind 10 mph SW, 'Partly Cloudy'. Has the official forecast changed since then, and if so which fields?"},{"title":"Event planning forecast check","prompt":"We locked in an outdoor event forecast two days ago: 2026-09-10T14:00:00Z to 2026-09-10T20:00:00Z, temperature 25°C, 8 mph SE wind, 'Sunny'. Compare that baseline to the current NWS forecast and tell me if anything has changed."},{"title":"Automated weather monitoring pipeline","prompt":"Every hour I want you to check if the NWS forecast for the next 12-hour window starting at 2026-09-09T00:00:00Z has drifted from this baseline snapshot I'm sending — flag any periods where temperature, wind speed, or short forecast text changed."}],"resultDescription":"A JSON object listing each forecast period in the requested window with a status of CHANGED or UNKNOWN, the current and previous period values side by side, a list of changed_fields (e.g. 'temperature', 'windSpeed'), source attribution from NOAA/NWS, whether current coverage is complete, and stated limitations about what the comparison can and cannot guarantee.","failureModes":["Baseline periods with different boundaries than current NWS periods are returned as UNKNOWN rather than CHANGED","Missing or null temperature values prevent numeric comparison and may result in incomplete change detection","Requests for time windows outside NWS coverage return empty or incomplete period sets","Malformed datetime strings (not matching ISO 8601 with timezone) cause input validation errors","Wind speed and forecast text are compared literally so minor formatting differences may appear as changes"],"whenToPreferThis":"Use this endpoint when you have a previously retrieved NWS forecast snapshot and need to detect what, if anything, has changed in the official NWS forecast since then. It is purpose-built for change detection and diff reporting rather than raw forecast retrieval, making it ideal for alerting pipelines, event planning confirmation checks, or any workflow that requires auditable before/after comparison of official weather data with source provenance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:11.152Z","isFirstParty":false}