# Get Current Weather API

> Current temperature, humidity, wind, precipitation, and condition code at the given lat/long via Open-Meteo (free, no auth). Metric or imperial units.

Category: [Data APIs](https://upapi.io/apis/data) · Last updated 2026-06-12

## What is the current weather API on upAPI?

The current weather API on upAPI returns current conditions for a latitude and longitude as JSON: temperature, humidity, wind, precipitation, cloud cover and a text description, in metric or imperial units. No Open-Meteo key of your own is needed, only one upAPI key. The Free plan includes 1,000 weighted units a month.

## How to call it

- Endpoint: `POST https://api.upapi.io/weather-current.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 12 seconds.
- Cache: identical requests are served from cache for 600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/weather-current.get

```bash
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 }'
```

## Request parameters

- `units` (string) — metric: °C, km/h; imperial: °F, mph
- `latitude` (number, required) — Decimal latitude
- `longitude` (number, required) — Decimal longitude

## Response fields

- `isDay` (boolean, required)
- `units` (string, required)
- `humidity` (integer, required)
- `latitude` (number, required)
- `fetchedAt` (string, required)
- `longitude` (number, required)
- `windSpeed` (number, required)
- `cloudCover` (integer, required)
- `observedAt` (string, required)
- `temperature` (number, required)
- `weatherCode` (integer, required)
- `precipitation` (number, required)
- `windDirection` (integer, required)
- `weatherDescription` (string, required)
- `apparentTemperature` (number, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "units": "metric",
  "latitude": 43.65,
  "longitude": -79.38
}
```

```json
{
  "isDay": false,
  "units": "example",
  "humidity": 1,
  "latitude": 43.65,
  "fetchedAt": "example",
  "longitude": -79.38,
  "windSpeed": 1,
  "cloudCover": 1,
  "observedAt": "example",
  "temperature": 1,
  "weatherCode": 1,
  "precipitation": 1,
  "windDirection": 1,
  "weatherDescription": "example",
  "apparentTemperature": 1
}
```

## Frequently asked questions

### How much does the Get Current Weather API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Get Current Weather API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Get Current Weather API responses cached?

Yes — identical requests are served from cache for 600 seconds, and a cache hit is not billed.

## More Data APIs

- [Get Wikipedia Article Summary](https://upapi.io/apis/data/wikipedia-article)
- [Look Up Timezone](https://upapi.io/apis/data/timezone-lookup)
- [Wayback Machine Lookup](https://upapi.io/apis/data/archive-wayback)
- [Geolocate IP Address](https://upapi.io/apis/data/ip-geolocation)
- [Get BBC News Headlines](https://upapi.io/apis/data/bbc-news)
