{"uid":"cap_ZrKklzKfEE-bYx2kW4jES","slug":"foundry-weather-activity-window-5180e918","name":"Foundry Weather Activity Window","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/weather-activity-window","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180},"max_wind_kph":{"type":"number","maximum":400,"minimum":0},"duration_hours":{"type":"integer","default":12,"maximum":48,"minimum":1},"max_temperature_c":{"type":"number","maximum":60,"minimum":-100},"min_temperature_c":{"type":"number","maximum":60,"minimum":-100},"start_hours_from_now":{"type":"integer","default":0,"maximum":120,"minimum":0},"max_precipitation_probability":{"type":"number","maximum":100,"minimum":0}}},"responseSchema":{"type":"json","example":{"route":"weather-activity-window","result":{"source":{"url":"https://api.weather.gov/gridpoints/TOP/31,80/forecast/hourly","updated_at":null,"retrieved_at":"2026-09-06T00:00:00Z","cache_age_seconds":0},"periods":[],"windows":[],"location":{"latitude":39.7456,"longitude":-97.0892},"provenance":{"terms_url":"https://www.weather.gov/disclaimer","attribution":"NOAA / National Weather Service; normalized by Foundry; no endorsement","limitations":["Threshold comparison of forecast evidence only; not an activity recommendation, safety assessment or emergency warning service.","Missing fields and uncovered times remain UNKNOWN; matching thresholds does not establish safe conditions.","No gust, lightning, visibility or alert assessment is included. Probability of precipitation is not precipitation amount.","Synthetic schema example only."],"upstream_calls":2},"thresholds":{"max_wind_kph":25,"max_temperature_c":30,"min_temperature_c":5,"max_precipitation_probability":30},"requested_window":{"end":"2026-09-06T12:00:00Z","start":"2026-09-06T00:00:00Z"},"coverage_complete":false},"observed_at":"2026-09-06T00:00:00Z"}},"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_HK_o2PLStC3QuBwfJdVLX","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 NOAA forecast periods and contiguous time windows where all specified weather thresholds (wind, temperature, precipitation probability) are simultaneously satisfied for a given location.","exampleAgentPrompt":"Check the NOAA forecast for the next 24 hours starting now near latitude 39.7 and longitude -97.1 and tell me which time windows have wind under 25 kph, temperature between 10°C and 28°C, and precipitation probability under 30%.","exampleUseCases":[{"title":"Outdoor event scheduling check","prompt":"I'm planning an outdoor wedding ceremony near Austin, TX (lat 30.27, lon -97.74) this Saturday — can you find any 4-hour windows in the next 48 hours where wind stays under 20 kph, temperature is between 18°C and 32°C, and rain chance stays below 25%?"},{"title":"Drone flight window planning","prompt":"I need to fly a drone for a survey near lat 37.8, lon -122.4 starting tomorrow — find windows in the next 24 hours where wind is under 15 kph, temperature is above 5°C, and precipitation probability is under 20%."},{"title":"Agricultural field spraying eligibility","prompt":"We're doing crop spraying near lat 41.5, lon -93.6 and need to know which 6-hour blocks in the next 48 hours have wind below 18 kph, temperatures between 8°C and 30°C, and less than 10% chance of rain."}],"resultDescription":"A JSON object containing: matched forecast periods with hourly conditions, contiguous time windows where ALL specified thresholds are simultaneously met, the requested window start/end, threshold values used, source provenance (NOAA URL, retrieval timestamp, attribution), and a coverage_complete flag indicating whether all hours in the window had forecast data.","failureModes":["Location outside NOAA coverage (non-US coordinates) returns empty periods and coverage_complete: false","No windows found if thresholds are too strict — periods array may be populated but windows array empty","Stale or unavailable upstream NOAA data may result in partial coverage with cache_age_seconds indicated","Invalid latitude/longitude outside allowed ranges returns a validation error","duration_hours or start_hours_from_now exceeding allowed maximums returns a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need official NOAA-sourced forecast evidence filtered by multiple simultaneous weather thresholds for a specific US location — particularly when you need contiguous windows rather than just raw hourly data. Prefer this over general weather APIs when you need explicit source provenance, JSON-contract guarantees, and pay-per-request USDC pricing with no subscription. Not suitable for non-US locations, real-time lightning/gust/alert assessment, or safety-critical decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:07.484Z","isFirstParty":false}