{"slug":"x402-agentutility-ai-weather-current-city-b41530","title":"Returns current weather for any city or place name, no coordinates needed","host":"x402.agentutility.ai","method":"POST","resource":"https://x402.agentutility.ai/weather-current-city","category":"code","description":"Returns current weather for any city or place name, no coordinates needed. Geocodes the name with Open-Meteo, chooses the best match with optional country_code, then returns current temperature, feels-like, humidity, wind, precipitation, WMO weather code, timezone, and optional daily/hourly forecast","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"city":"San Francisco","country_code":"US","forecast_days":3,"units":"imperial"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"city":{"description":"City or place name, e.g. 'Paris', 'San Francisco', or 'Springfield'.","type":"string"},"country_code":{"description":"Optional two-letter ISO country code to disambiguate, e.g. 'US', 'FR', 'JP'.","type":"string"},"forecast_days":{"description":"Daily forecast days to include, 1-7. Default 1.","type":"number"},"hourly":{"description":"If true, include hourly temperature, precipitation, and weather code arrays.","type":"boolean"},"query":{"description":"Alias for city.","type":"string"},"units":{"description":"Metric or imperial output units. Default metric.","enum":["metric","imperial"],"type":"string"}},"required":["city"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"current":{"properties":{"apparent_temperature":{"type":"integer"},"humidity_pct":{"type":"integer"},"temperature":{"type":"integer"},"weather_code":{"type":"integer"},"wind_speed":{"type":"integer"}},"type":"object"},"query":{"type":"string"},"resolved_location":{"properties":{"admin1":{"type":"string"},"country_code":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"name":{"type":"string"}},"type":"object"},"source":{"properties":{"forecast":{"type":"string"},"geocoding":{"type":"string"}},"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Returns current weather for any city or place name, no coordinates needed. Geocodes the name with Open-Meteo, chooses the best match with optional country_code, then returns current temperature, feels-like, humidity, wind, precipitation, WMO weather code, timezone, and optional daily/hourly forecast from Open-Meteo. Use it as a city weather API or instant weather lookup by place name.","last_updated":"2026-09-22T06:23:46.807Z","schemes":["exact"]}