{"uid":"cap_ahCYuU1J_nglLL7nGEtfb","slug":"swedata-weather-api-30165501","name":"SweData Weather API","description":"Swedish open data and crypto/DePIN market intelligence for AI agents – weather (SMHI), jobs (Arbetsförmedlingen), and curated compute/AI-DePIN sector data","url":"https://api.swedata.org/weather","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"city":{"type":"string","description":"Swedish city name, e.g. Stockholm, Gothenburg, Malmö"}}},"responseSchema":{"type":"object","properties":{"city":{"type":"string"},"paid":{"type":"boolean"},"source":{"type":"string"},"weather":{"type":"object","properties":{"humidity_pct":{"type":"number"},"temperature_c":{"type":"number"},"visibility_km":{"type":"number"},"wind_speed_ms":{"type":"number"},"thunder_probability_pct":{"type":"number"}}},"timestamp":{"type":"string","format":"date-time"},"coordinates":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jlgEou-V5Kkl0pKCYViaH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 for a Swedish city including temperature, humidity, wind speed, visibility, and thunder probability","exampleAgentPrompt":"What's the current weather in Stockholm — temperature, wind speed, and any chance of thunder?","exampleUseCases":null,"resultDescription":"A JSON object containing the city name, coordinates (lat/lon), timestamp, and a weather sub-object with temperature in Celsius, humidity percentage, wind speed in m/s, visibility in km, and thunder probability percentage, plus a source field and payment confirmation flag.","failureModes":["City name not recognized or not a Swedish city — may return an error or empty weather data","Network timeout if the upstream Swedish weather data source is unavailable","Invalid input schema (missing city field) — likely 400 Bad Request","Payment failure if x402 micropayment is not completed — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need real-time weather data specifically for cities in Sweden and want structured numeric output (temperature in Celsius, wind in m/s, thunder probability). Prefer this over generic global weather APIs when the target location is Swedish and you need thunder probability alongside standard conditions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:55.287Z","isFirstParty":false}