{"uid":"cap_BFK92dWqhwri6Ec7f96S2","slug":"aitoollab-weather-api-city-weather-lookup-20caf9ff","name":"AiToollab Weather API — City Weather Lookup","description":"AiToollab，普通人用AI做副业的实战平台。收录10+AI副业方向、50+提示词模板、真实赚钱案例。每周更新，找方向、找工具、找案例，一站搞定。","url":"https://api.aitoollab.top/api/weather/%7Bcity%7D?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","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"city":"{city}","humidity":65,"wind_speed":10.2,"temperature":22.5,"last_updated":"2026-04-27T00:00:00.000Z","weather_code":0,"weather_description":"Clear sky"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_aVMTZqEVAuyYZ2lxn0PdL","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 (temperature, humidity, wind speed, description) for a given city name.","exampleAgentPrompt":"What is the current weather in Tokyo — give me the temperature, humidity, wind speed, and a description of conditions?","exampleUseCases":null,"resultDescription":"A JSON object containing the city name, current temperature (numeric), humidity percentage, wind speed, a weather code, a human-readable weather description (e.g. 'Clear sky'), and a last-updated ISO timestamp.","failureModes":["City name not found or misspelled — likely returns empty or error response","Unrecognized city slug in URL path — may return 404 or malformed JSON","Network timeout — no response returned","Rate limiting or payment failure — 402 response if x402 payment not satisfied"],"whenToPreferThis":"Use this endpoint when you need a simple, low-cost per-call weather lookup by city name returning basic current conditions. Suitable for lightweight integrations where only current temperature, humidity, wind speed, and sky description are needed and a $0.01 USDC micropayment per call is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-07T00:45:17.118Z","isFirstParty":false,"canonicalSlug":"aitoollab-weather-api-city-weather-lookup-20caf9ff"}