Get Current Weather
PythonDataPOST api.upapi.io/weather-current.getCurrent temperature, humidity, wind, precipitation, and condition code at the given lat/long via Open-Meteo (free, no auth). Metric or imperial units.
weatheropen-meteopython
AuthAPI key
Cost1 unit
Timeout12s
Cache600s
Request schema
| Field | Type | Description |
|---|---|---|
units | string | metric: °C, km/h; imperial: °F, mph· default: "metric" |
latitudereq | number | Decimal latitude |
longitudereq | number | Decimal longitude |
Response schema
| Field | Type | Description |
|---|---|---|
isDayreq | boolean | |
unitsreq | string | |
humidityreq | integer | |
latitudereq | number | |
fetchedAtreq | string | |
longitudereq | number | |
windSpeedreq | number | |
cloudCoverreq | integer | |
observedAtreq | string | |
temperaturereq | number | |
weatherCodereq | integer | |
precipitationreq | number | |
windDirectionreq | integer | |
weatherDescriptionreq | string | |
apparentTemperaturereq | number |
Try it
Try it
Decimal latitude
Decimal longitude
metric: °C, km/h; imperial: °F, mph
Run this endpoint live
Jump in as a guest — no signup — and run weather-current.get with your own inputs. Create a free account anytime to get your own API key.
Code examples
curl -X POST https://api.upapi.io/weather-current.get \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "units": "metric", "latitude": 43.65, "longitude": -79.38 }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.