{"uid":"cap_iej88fiKfvxHXJvciXDkG","slug":"api-strale-io-fa21eeb3","name":"Weather Lookup (Current + 7-Day Forecast)","description":"Get current weather and 7-day forecast for any location. Uses Open-Meteo API. Search by city name or coordinates.","url":"https://api.strale.io/x402/weather-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"city":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"}}},"responseSchema":{"current":{"type":"object"},"location":{"type":"string"},"forecast_7day":{"type":"array"}},"example":{"request":{"city":"London"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x1960de411910dc17ebb9722daa05d9e3eb3b6a8e687ddf0ea0d90af2c4c3c7ae"},"capability":"weather-lookup","latency_ms":824,"provenance":{"source":"api.open-meteo.com","fetched_at":"2026-06-13T04:23:14.755Z"}},"current":{"condition":"Clear sky","feels_like_c":11.8,"temperature_c":13.6,"wind_speed_kmh":13,"humidity_percent":81,"precipitation_mm":0,"wind_direction_deg":263},"location":"London","timezone":"Europe/London","coordinates":{"latitude":51.50853,"longitude":-0.12574},"forecast_7day":[{"date":"2026-06-13","low_c":13.6,"high_c":21.9,"condition":"Overcast","precipitation_mm":0},{"date":"2026-06-14","low_c":13.2,"high_c":21.1,"condition":"Light drizzle","precipitation_mm":0.45},{"date":"2026-06-15","low_c":12.6,"high_c":21.9,"condition":"Overcast","precipitation_mm":0.15},{"date":"2026-06-16","low_c":14.8,"high_c":22.9,"condition":"Light drizzle","precipitation_mm":0.3},{"date":"2026-06-17","low_c":17.7,"high_c":24,"condition":"Overcast","precipitation_mm":0},{"date":"2026-06-18","low_c":17.1,"high_c":26,"condition":"Overcast","precipitation_mm":0},{"date":"2026-06-19","low_c":19,"high_c":31.6,"condition":"Overcast","precipitation_mm":0}]}},"exampleRequest":{"city":"London"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.83","successRate":"0.97","reviews":1,"stars":"4.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_68e3b3W86P0QVbZDXsuy9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current weather conditions and a 7-day forecast for a given city name or lat/lon coordinates, powered by Open-Meteo.","exampleAgentPrompt":"What's the current weather and 7-day forecast for Berlin? Search by city name.","exampleUseCases":null,"resultDescription":"Returns current weather conditions (temperature, weather code, wind speed, etc.) and a 7-day daily forecast for the requested location, sourced from the Open-Meteo API.","failureModes":["City name not found or ambiguous — returns an error or empty result","Missing both city and coordinates — validation error due to no location provided","Invalid coordinate values (out of range) — may return an error or unexpected result","Open-Meteo upstream unavailable — service may return a 5xx error"],"whenToPreferThis":"Use this endpoint when you need current conditions plus a 7-day forecast by city name or coordinates, especially when you want Open-Meteo data without managing API keys or CORS — and when you can pay per-call via x402 microtransaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":37,"lastUsedAt":"2026-08-12T21:46:28.040Z","lastSuccessfullyRanAt":"2026-08-12T21:46:28.040Z","lastHealthCheckAt":"2026-09-14T00:57:41.587Z","isFirstParty":false}