{"uid":"cap_SWBF5JMShZUOaZEiKoS9f","slug":"statepulse-weather-anomaly-detection-3e577610","name":"StatePulse Weather Anomaly Detection","description":"Compares current weather conditions with a 10-year historical average to flag climate anomalies.","url":"https://statepulse-api.hahavoid0.workers.dev/weather/anomaly","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"result":{"anomaly_status":"above_average","current_temp_c":24.2,"deviation_percentage":15.2,"historical_mean_temp_c":21},"supported":true,"confidence":"high"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Gq6Z82IVj2NM_oOHzVzOZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects weather temperature anomalies for a location by comparing current temperature against historical mean and returning deviation metrics with confidence scoring","exampleAgentPrompt":"Check if the temperature in Miami right now is anomalous — is it significantly above or below the historical average, and how confident are you in that assessment?","exampleUseCases":null,"resultDescription":"Returns a JSON object with anomaly_status (e.g. 'above_average'), current temperature in Celsius, the historical mean temperature in Celsius, the deviation percentage from the norm, whether the location is supported, and a confidence rating (e.g. 'high').","failureModes":["Location not supported — 'supported: false' returned with no anomaly data","Insufficient historical data for reliable comparison — low confidence score returned","Invalid or unrecognizable location input — 400 error or empty result","Network timeout to upstream weather data source — 503 or gateway error","Payment failure via x402 — 402 Payment Required before data is returned"],"whenToPreferThis":"Use this endpoint when you need to determine whether current temperature conditions at a location are statistically unusual compared to historical norms, especially when a confidence score and deviation percentage are required. Prefer over generic weather APIs when the goal is anomaly detection rather than simple current conditions or forecasting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:22.723Z","isFirstParty":false}