{"uid":"cap_GAtYekvNOj9Ax5JD2xyhG","slug":"x402-weather-api-current-conditions-9d7e0ab4","name":"x402 Weather API – Current Conditions","description":"Current weather conditions for any global location — temperature, feels-like, humidity, precipitation, wind, and human-readable weather description.","url":"https://x402-weather-api-production-04c4.up.railway.app/current?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"latitude":{"type":["number","null"],"description":"Optional latitude override (decimal degrees, -90 to 90)."},"location":{"type":"string","description":"City or place name to fetch weather for (e.g. 'London', 'New York')."},"longitude":{"type":["number","null"],"description":"Optional longitude override (decimal degrees, -180 to 180)."}}},"responseSchema":null,"example":{"request":{"latitude":null,"location":"London","longitude":null},"response":{"cached":false,"current":{"time":"2026-06-08T05:30","rain_mm":0,"timezone":"Europe/London","feels_like_c":13.2,"humidity_pct":83,"weather_code":3,"temperature_c":14.4,"wind_speed_kmh":12.2,"precipitation_mm":0,"wind_direction_deg":195,"weather_description":"Overcast"},"location":{"name":"London","country":"United Kingdom","latitude":51.50853,"longitude":-0.12574}}},"exampleRequest":{"latitude":null,"location":"London","longitude":null},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.33","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jRd65r4C2Sk_ks20Giud-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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, precipitation, feels-like, and human-readable description) for any global location by city name or coordinates.","exampleAgentPrompt":"What are the current weather conditions in Amsterdam — temperature, how it feels outside, humidity, and whether it's raining?","exampleUseCases":[{"title":"Live weather check for travelers","prompt":"What's the weather like in Tokyo right now — temperature, how it feels outside, humidity, and is there any rain?"},{"title":"Real-time wind and conditions lookup","prompt":"Can you tell me the current wind speed, temperature, and overall weather conditions in Chicago at this moment?"},{"title":"Current heat check for outdoor plans","prompt":"How hot is it in Dubai right now, and what does it actually feel like outside? Also let me know if there's any precipitation."}],"resultDescription":"A structured response containing current temperature, feels-like temperature, humidity percentage, precipitation amount, wind speed and direction, and a human-readable weather description (e.g. 'Partly cloudy with light winds') for the requested location.","failureModes":["Unknown or misspelled city name returns an error or empty result","Latitude/longitude out of valid range (-90 to 90, -180 to 180) causes a validation error","Missing both location and coordinates results in a bad request error","Payment of 0.001 USDC not provided or rejected causes a 402 Payment Required response","Upstream weather data provider outage returns a 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need real-time current weather conditions (not a forecast) for a specific city or geographic coordinate. Ideal for single-location lookups where you want temperature, humidity, wind, and a plain-language summary in one call. Prefer this over forecast APIs when only the present moment matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":5,"lastUsedAt":"2026-07-18T00:25:55.840Z","lastSuccessfullyRanAt":"2026-06-10T18:31:26.175Z","lastHealthCheckAt":"2026-11-03T09:09:00.758Z","isFirstParty":false,"canonicalSlug":"x402-weather-api-current-conditions-9d7e0ab4"}