{"uid":"cap_pq7iNFVGOl_SH4Egyet2Z","slug":"x402-outpimp-com-live-weather-api-3aac2840","name":"x402.outpimp.com Live Weather API","description":"Live weather API. Returns real-time weather conditions, temperature, feels-like temperature, humidity, wind speed, precipitation, and UV index for any city worldwide — live external data an LLM cannot know on its own. Supports metric/imperial units, 74 languages, and optional 3-day forecast and sun/moon astronomy data.","url":"https://x402.outpimp.com/getWeather","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"city":{"type":"string","description":"City name, e.g. \"san-francisco\" or \"london\"."},"lang":{"type":"string","default":"en","description":"Language code for the weather conditions text, e.g. \"de\" or \"fr\". Passed through to the weather provider. Defaults to English."},"units":{"enum":["metric","imperial"],"type":"string","default":"metric","description":"Unit system for temperature and wind speed. Defaults to \"metric\"."},"includeForecast":{"type":"boolean","default":false,"description":"Include a 3-day forecast (min/max/avg temp, UV index, sun hours per day). Defaults to false."},"includeAstronomy":{"type":"boolean","default":false,"description":"Include today's sunrise, sunset, moonrise, moonset, and moon phase. Defaults to false."}}},"responseSchema":null,"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_HHvGkUs3wrmNXfJzpgmsx","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 real-time weather conditions including temperature, humidity, wind, precipitation, UV index, and optionally a 3-day forecast and astronomy data for any city worldwide.","exampleAgentPrompt":"What's the current weather in Barcelona right now — temperature, humidity, and wind speed in metric units, and also include today's sunrise and sunset times?","exampleUseCases":[{"title":"Travel packing decision support","prompt":"What's the weather like in Tokyo right now in metric units, including a 3-day forecast so I can plan what to pack?"},{"title":"Astronomy and stargazing planning","prompt":"Can you get me today's sunrise, sunset, moonrise, moonset, and moon phase for Reykjavik?"},{"title":"Localized weather report in native language","prompt":"Fetch the current weather conditions in Berlin and give me the results in German, using metric units."}],"resultDescription":"Returns a JSON object with real-time weather data including current temperature, feels-like temperature, humidity, wind speed, precipitation, and UV index for the requested city. Optionally includes a 3-day forecast (min/max/avg temperature, UV index, sun hours) and/or astronomy data (sunrise, sunset, moonrise, moonset, moon phase). Responds with HTTP 400 if the city parameter is missing.","failureModes":["Returns HTTP 400 if the city parameter is missing or empty","May return an error or empty result if the city name is unrecognized or misspelled","Network timeouts possible when fetching from live external weather data provider","Invalid language codes may fall back to English or return an error"],"whenToPreferThis":"Choose this endpoint when you need live, real-time weather data that an LLM cannot know on its own, including current conditions, multi-day forecasts, or astronomical data for any city worldwide. It supports 74 languages and both metric and imperial units, making it ideal for multilingual or international use cases. Prefer this over static or cached weather sources when freshness is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:57.482Z","isFirstParty":false}