---
title: "Predicción CCAA hoy. Archivo."
method: GET
path: "/api/prediccion/ccaa/hoy/{ccaa}/elaboracion/{fecha}"
tags: ["predicciones-normalizadas-texto"]
---

# Predicción CCAA hoy. Archivo.

`GET /api/prediccion/ccaa/hoy/{ccaa}/elaboracion/{fecha}`

## Request

- Base URL: `https://opendata.aemet.es/opendata`
- URL: `https://opendata.aemet.es/opendata/api/prediccion/ccaa/hoy/{ccaa}/elaboracion/{fecha}`
- Auth: API key in header `api_key`
- TypeScript: <https://skmtc.dev/aemet/apis/aemet-opendata/docs/api/prediccion/ccaa/hoy/:ccaa/elaboracion/:fecha/get.ts> (a function with typed inputs; its response is checked against the schema)

Predicción para la comunidad autónoma que se pasa como parámetro (ccaa) con validez para el día de fecha de elaboración que se pasa como parámetro (fecha). Periodicidad de actualización: continuamente.

## Path parameters

- `ccaa` string, required
- `fecha` string, required

## Response `200`

respuesta con éxito

- 200
  - `descripcion` string, required
  - `estado` integer, required
  - `datos` string, required
  - `metadatos` string, required

## Other responses

- `400`: petición incorrecta
- `401`: petición no autorizada
- `403`: acceso denegado
- `404`: petición sin datos
- `429`: petición que sobrepasa los límites del servicio

## Changes

- **2026-09-02** `2e5deaf5f149`: 2 info
  - added the non-success response with the status `400`
  - the `descripcion` response's property default value changed from `Unauthorized` to `Forbidden` for the status `403`
- **2026-08-06** `11e81d8ddea0`: 1 info
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/aemet/apis/aemet-opendata/changes/api/prediccion/ccaa/hoy/:ccaa/elaboracion/:fecha/get.md)

---

[API](https://skmtc.dev/aemet/apis/aemet-opendata.md) - [All operations](https://skmtc.dev/aemet/apis/aemet-opendata/llms.txt) - [OpenAPI document](https://skmtc.dev/aemet/apis/aemet-opendata/revisions/2e5deaf5f149?raw)
