# UAE Weather

Current conditions and a daily forecast for any emirate capital, through the same open weather models as the global forecast.

- Method: `GET`
- Path: `/v1/weather/uae`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `city` | string | optional | One of the seven emirate capitals, or `al-ain`. |
| `days` | integer | optional | How many forecast days to return, `1`-`16`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/weather/uae \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "city": { "slug": "dubai", "name": "Dubai" },
    "latitude": 25.25,
    "longitude": 55.3125,
    "timezone": "Asia/Dubai",
    "elevation_m": 5,
    "current": {
      "time": "2026-08-21T14:15",
      "temperature_c": 41.2,
      "humidity_pct": 48,
      "weather_code": 0,
      "wind_speed_kmh": 14
    },
    "daily": [
      { "date": "2026-08-21", "weather_code": 0, "temp_max_c": 43.1, "temp_min_c": 31.5, "precipitation_probability_pct": 0 },
      { "date": "2026-08-22", "weather_code": 1, "temp_max_c": 42.6, "temp_min_c": 31.2, "precipitation_probability_pct": 0 },
      { "date": "2026-08-23", "weather_code": 0, "temp_max_c": 43.0, "temp_min_c": 31.8, "precipitation_probability_pct": 0 }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-21T10:15:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-21T10:30:00.000Z"
  }
}
```