{"uid":"cap_xtLPiLQ-Q6KEGEtz9wcST","slug":"losbeto-weather-pay-per-call-current-weather-by-city-dfa55b06","name":"Losbeto Weather — Pay-Per-Call Current Weather by City","description":"OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.","url":"https://losbeto-production-dd7c.up.railway.app/weather?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["city"],"properties":{"city":{"type":"string","description":"city parameter"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ts":{"type":"integer"},"units":{"type":"object","properties":{"wind":{"type":"string"},"pressure":{"type":"string"},"temperature":{"type":"string"},"precipitation":{"type":"string"}}},"source":{"type":"string"},"current":{"type":"object","properties":{"is_day":{"type":"integer"},"temp_c":{"type":"number"},"wind_kmh":{"type":"number"},"wmo_code":{"type":"integer"},"condition":{"type":"string"},"precip_mm":{"type":"number"},"observed_at":{"type":"string"},"feels_like_c":{"type":"number"},"humidity_pct":{"type":"integer"},"pressure_hpa":{"type":"number"},"wind_dir_deg":{"type":"integer"},"cloud_cover_pct":{"type":"integer"}}},"version":{"type":"string"},"location":{"type":"object","properties":{"query":{},"latitude":{"type":"number"},"resolved":{"type":"string"},"timezone":{"type":"string"},"longitude":{"type":"number"}}},"provider":{"type":"string"}}}}}}},"responseSchema":{"type":"json"},"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_1zPErz0Wh_LC7hpjPXVO5","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 current weather conditions for a given city, paid via USDC micropayment (x402), no API key required.","exampleAgentPrompt":"What's the current weather in São Paulo — temperature, humidity, wind, and whether it's daytime?","exampleUseCases":[{"title":"Real-time city weather check","prompt":"Can you tell me the current temperature, humidity, and weather conditions in Tokyo right now?"},{"title":"Travel packing decision","prompt":"What's the weather like in London today — is it raining, what's the wind speed, and what does it feel like outside?"},{"title":"Automated weather monitoring for a city","prompt":"Pull the latest weather conditions for Buenos Aires — I need temperature in Celsius, pressure, cloud cover, and whether it's day or night."}],"resultDescription":"A JSON object with current weather conditions including temperature (°C), feels-like temperature, humidity percentage, wind speed (km/h), wind direction (degrees), precipitation (mm), atmospheric pressure (hPa), cloud cover percentage, WMO weather code, human-readable condition string, is_day flag, observed timestamp, plus resolved location details (latitude, longitude, timezone, resolved name).","failureModes":["Unrecognized or misspelled city name may return an error or fall back to a best-guess geocode result","x402 payment failure (insufficient USDC balance or unsupported chain) blocks the response","Rate or service downtime on the upstream weather provider may result in stale or unavailable data","Missing required 'city' query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need real-time, pay-per-call weather data for any city without API key registration, and you're operating in a USDC-compatible (Base, Solana, Algorand, or Polygon) payment context via the x402 protocol. Ideal for AI agents that require zero-setup weather lookups billed as micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T18:34:33.375Z","isFirstParty":false,"canonicalSlug":"losbeto-weather-pay-per-call-current-weather-by-city-dfa55b06"}