{"uid":"cap_lYSAo_aB8SsYeOtSs4kq2","slug":"otto-ai-weather-forecast-x402-6019a944","name":"Otto AI Weather Forecast","description":"Live weather for any city or lat/lon worldwide. Returns current conditions — temperature, feels-like, humidity, wind and sky — plus a 5-day forecast with daily highs/lows and precipitation probability. City names auto-geocode (no coordinates needed). Refreshed hourly with transparent freshness metadata. Keyless, pay-per-call, agent-ready JSON.","url":"https://x402.ottoai.services/weather","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["location"],"properties":{"location":{"type":"string","description":"City name (e.g. \"Tokyo\", \"São Paulo\") or a \"lat,lon\" pair (e.g. \"51.5,-0.12\")"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status"],"properties":{"data":{},"meta":{"type":"object"},"reason":{"type":"string","description":"status=unavailable only; every >=400 is UNCHARGED"},"status":{"enum":["success","unavailable"],"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"lat":51.50853,"lon":-0.12574,"daily":[{"date":"2026-06-24","maxC":21.4,"minC":12.1,"conditions":"Partly cloudy","precipProbPct":10},{"date":"2026-06-25","maxC":23,"minC":13.5,"conditions":"Clear sky","precipProbPct":5}],"country":"United Kingdom","current":{"tempC":18.2,"windKph":14,"conditions":"Partly cloudy","feelsLikeC":17.6,"observedAt":"2026-06-24T15:00","humidityPct":63},"location":"london","generatedAt":"2026-06-24T15:05:00.000Z","resolvedName":"London"},"meta":{"degraded":false,"validUntil":"","generatedAt":"","stalenessSec":0},"status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_U6QLBDxWQbqiB9YXOOKiG","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 conditions and daily forecast for any city or lat/lon coordinate via a pay-per-call x402 endpoint","exampleAgentPrompt":"What's the current weather and 5-day forecast for London — give me temperature, wind, humidity, and chance of rain each day?","exampleUseCases":null,"resultDescription":"Returns a JSON object with current conditions (temperature in Celsius, feels-like, wind speed in kph, humidity percentage, conditions string, observation timestamp) and a daily forecast array with high/low temps, conditions, and precipitation probability percentage for upcoming days, plus resolved location name, country, lat/lon, and freshness metadata.","failureModes":["Unknown or misspelled city name returns an error or empty data","Invalid lat/lon format causes a 400 bad request","Payment not included or insufficient USDC causes a 402 Payment Required response","Network timeout or upstream weather provider outage returns degraded or stale data","Location string ambiguity may resolve to wrong city"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time weather data (current conditions + short-range daily forecast) for any global city or coordinate, especially when operating in an x402 micropayment context on Base, Polygon, or Solana. At $0.001 per call it is extremely cost-effective for one-off lookups. Prefer over scraping or free-tier APIs when you need structured JSON output with freshness metadata and reliability guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:02.031Z","isFirstParty":false}