{"uid":"cap_51pxoWIb2TjgWHjVaR-nI","slug":"foundry-nws-two-site-operating-conditions-comparison-e1e228fd","name":"Foundry NWS Two-Site Operating Conditions Comparison","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-two-site-operating-comparison","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"site_a":{"type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}},"additionalProperties":false},"site_b":{"type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}},"additionalProperties":false},"max_wind_kph":{"type":"number","maximum":400,"minimum":0},"duration_hours":{"type":"integer","default":12,"maximum":24,"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":"nws-two-site-operating-comparison","result":{"sites":[{"site":"A","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":[],"location":{"latitude":39.7456,"longitude":-97.0892},"coverage_complete":false},{"site":"B","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":[],"location":{"latitude":40.015,"longitude":-105.2705},"coverage_complete":false}],"terms_url":"https://www.weather.gov/disclaimer","thresholds":{"max_wind_kph":25,"max_temperature_c":30,"min_temperature_c":5,"max_precipitation_probability":30},"attribution":"NOAA / National Weather Service; normalized by Foundry; no endorsement","limitations":["Synthetic example only. Forecast evidence, not a safety assessment. Unknown coverage is not a match."],"aligned_periods":[{"end":"2026-09-06T12:00:00Z","start":"2026-09-06T00:00:00Z","comparison":"UNKNOWN","site_a_status":"UNKNOWN","site_b_status":"UNKNOWN"}],"duration_minutes":{"site_a":{"match_minutes":0,"unknown_minutes":720,"nonmatch_minutes":0},"site_b":{"match_minutes":0,"unknown_minutes":720,"nonmatch_minutes":0},"both_match":0},"requested_window":{"end":"2026-09-06T12:00:00Z","start":"2026-09-06T00:00:00Z"},"same_forecast_resource":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_LY2kIJnkAx6HCWPjY9wSA","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 NWS forecast data for two geographic sites against user-defined weather thresholds to determine aligned operating windows over a specified time period.","exampleAgentPrompt":"Check if both my Denver site (40.0150° N, 105.2705° W) and my Topeka site (39.7456° N, 97.0892° W) will have matching acceptable weather conditions over the next 12 hours — I need wind under 25 kph, temperatures between 5°C and 30°C, and precipitation probability below 30%.","exampleUseCases":[{"title":"Synchronized drone survey scheduling","prompt":"I need to fly drone surveys at two sites simultaneously — one near Boulder (40.015°N, 105.27°W) and one near Topeka (39.75°N, 97.09°W). Check the next 8 hours starting now for windows where both sites have wind under 20 kph and less than 20% chance of rain."},{"title":"Coordinated outdoor construction work","prompt":"We have crews at two construction sites and need to pour concrete at both at the same time. Compare the weather at site A (34.05°N, 118.24°W) and site B (33.75°N, 117.87°W) for the next 6 hours — flag any windows where both locations stay above 10°C and below 35°C with less than 15% precipitation chance."},{"title":"Multi-venue outdoor event go/no-go check","prompt":"We're running events at two outdoor venues next 12 hours — one in Chicago (41.88°N, 87.63°W) and one in Milwaukee (43.04°N, 87.91°W). Tell me if both sites will have acceptable conditions simultaneously: wind under 30 kph and precipitation probability under 25%."}],"resultDescription":"Returns a JSON object with per-site forecast periods sourced from NWS, aligned time windows labeled as MATCH, NONMATCH, or UNKNOWN, per-site duration summaries (match_minutes, nonmatch_minutes, unknown_minutes), combined both_match duration, the applied thresholds, source provenance URLs, and NOAA attribution. Coverage completeness flags indicate if full NWS data was available for each site.","failureModes":["Coordinates outside NWS coverage area (non-US locations) return empty periods or coverage_complete: false","NWS API unavailability causes empty period arrays with UNKNOWN comparison status","Duration or start window exceeding 24 hours or 120-hour lookahead rejected with validation error","Invalid latitude/longitude ranges (>90 or >180) rejected at schema validation","Very close sites may share the same NWS forecast grid resource, flagged as same_forecast_resource: true","Partial NWS grid coverage returns UNKNOWN periods rather than match/nonmatch determinations"],"whenToPreferThis":"Use this endpoint when you need to find time windows where two geographically distinct US locations simultaneously meet weather operating thresholds — especially for coordinating field operations, scheduling outdoor work, or planning multi-site events. Prefer this over single-site NWS forecast endpoints when the key question is alignment between two locations, not just one site's conditions. Best for US locations with NWS grid coverage; not suitable for international weather comparison.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:08.983Z","isFirstParty":false}