Canonical: https://weaveos.com/reference/openweather/get-current-weather

1. [Software capabilities](https://weaveos.com/reference)
2. /[OpenWeather](https://weaveos.com/reference/openweather)
3. /How to get current weather from OpenWeather

[OOpenWeather](https://weaveos.com/reference/openweather)

# How to get current weather from OpenWeather

Use the Current Weather API for conditions at a set of coordinates. If your application subscribes to One Call, its version 4.0 current endpoint also returns details such as dew point and UV index.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /data/2.5/weather](https://weaveos.com/reference/openweather/get-current-weather#method-1)
2. [2API: GET /data/4.0/onecall/current](https://weaveos.com/reference/openweather/get-current-weather#method-2)

API

### GET /data/2.5/weather

Retrieve current conditions for coordinates with optional units and language.

[Read source: OpenWeather Current Weather Data](https://openweathermap.org/api/current)

- Requirements

  An OpenWeather API key supplied as appid. Latitude and longitude identify the location.

- Limitations

  The endpoint returns one current-condition object. Temperature defaults to Kelvin. Set units=metric for Celsius or units=imperial for Fahrenheit.

Example shell

Copy

```
curl --fail --get 'https://api.openweathermap.org/data/2.5/weather' \
  --data-urlencode 'lat=44.34' \
  --data-urlencode 'lon=10.99' \
  --data-urlencode 'units=metric' \
  --data-urlencode "appid=$OPENWEATHER_API_KEY"
```

API

### GET /data/4.0/onecall/current

Retrieve one current-conditions record from One Call 4.0 for coordinates.

[Read source: OpenWeather One Call API 4.0](https://openweathermap.org/api/one-call-4)

- Requirements

  An OpenWeather API key supplied as appid, plus latitude and longitude. One Call 4.0 access requires the separate One Call API subscription.

- Limitations

  The current endpoint returns one record per request. The subscription includes 1,000 free calls per day and starts with a daily request cap of 2,000.

Example shell

Copy

```
curl --fail --get 'https://api.openweathermap.org/data/4.0/onecall/current' \
  --data-urlencode 'lat=52.2297' \
  --data-urlencode 'lon=21.0122' \
  --data-urlencode 'units=metric' \
  --data-urlencode "appid=$OPENWEATHER_API_KEY"
```

## More from OpenWeather

[View all 1 OpenWeather tasks](https://weaveos.com/reference/openweather)
