METEOCAT Weather Data API (Catalonia)

The Meteorological Service of Catalonia API offers developers an easy and secure way to access the meteorological data that it produces and stores.


With the aim of facilitating and increasing the consumption of meteorological data, we have designed a REST API that satisfies a wide range of situations and user requirements:

  • Integration of weather data into mobile or desktop applications,
  • Integration into a website, or simply
  • Download at regular time intervals


These tasks can be easily performed using the API, as shown in the examples section.


Note: Several pieces of documentation associated with data are written in the Catalan language.

Data and Resources

Field Value
catalogTarget ckan
cndp WSTC
dataAuthType public
lang cat
lastUpdateDate 2026-10-01
ndp_creator_md5 29d304491fe8a7fb0a3960ed85790ca6
pocEmail api.meteocat@gencat.cat
pocName METEOCAT API Team
pocWebsite https://apidocs.meteocat.gencat.cat/documentacio/acces-ciutada-i-administracio/
publisherType org
serviceAccessMethod Go through the applicable registration process to create an account in order to use the REST API: https://apidocs.meteocat.gencat.cat/section/informacio-general/plans-i-registre/.
serviceAudience Geospatial Researchers, International Weather Researchers, Climatologists
serviceDesc <h2><span style="color: rgb(80, 113, 146);">What do I need to use the API?</span></h2><p>You need&nbsp;<a href="https://apidocs.meteocat.gencat.cat/documentacio/proces-de-registre/" rel="noopener noreferrer" target="_blank" style="color: rgb(80, 113, 146);">to register</a>&nbsp;as a customer, and register an application subscribed to at least one of our data plans.</p><p><br></p><h2><span style="color: rgb(54, 61, 64);">What types of applications can consume the API?</span></h2><p>Currently, the API supports server-side applications, that is, it cannot be consumed directly from a browser.</p><p>This increases security since the API KEY is not exposed to the application's clients, and also prevents consumption from growing depending on the number of users of the application, as long as the server implements a caching system (which is highly recommended).</p><p><br></p><h2><span style="color: rgb(54, 61, 64);">Why authentication and quota control?</span></h2><p>The infrastructure required for the API is complex and expensive to maintain. Therefore, it has been decided to implement an authentication and consumption control system to guarantee its proper use.</p><p><br></p><h2><span style="color: rgb(80, 113, 146);">What date format does the API use?</span></h2><p>Some of the API resources use a standard notation for dates, defined by ISO&nbsp;<strong>8601.</strong>&nbsp;According to this, they must be represented with the format&nbsp;<strong>yyyy-mm-ddThh:mmZ</strong>&nbsp;, where the Z indicates that they are always represented in UTC (Coordinated Universal Time). For example, on January 30, 2017 at 12:30 local time in Catalonia, it would be represented as 2017-01-30T11:30Z.</p>
servicePurchaseMethod For those who are not citizens of Catalonia, please review the guidance at this link to learn how to purchase credits to interface with the REST API: https://apidocs.meteocat.gencat.cat/documentacio/acces-professionals/. For those who are citizens of Catalonia, the following link can be used to determine the plans that work best for you: https://apidocs.meteocat.gencat.cat/documentacio/acces-ciutada-i-administracio/.
status submitted
uploadType service
Tags
  • catalan
  • catalonia
  • international-weather
  • rest-api
  • weather-api
  • weather-measurements
isopen False
metadata_created 2026-10-30T16:19:50.672170
metadata_modified 2026-10-30T16:19:50.672175
notes <p>The&nbsp;<a href="http://www.meteo.cat/" rel="noopener noreferrer" target="_blank" style="color: rgb(80, 113, 146);">Meteorological Service of Catalonia</a>&nbsp;API&nbsp;offers developers an easy and secure way to access the meteorological data that it produces and stores.</p><p><br></p><p>With the aim of facilitating and increasing the consumption of meteorological data, we have designed a REST API that satisfies a wide range of situations and user requirements:</p><ul><li>Integration of weather data into mobile or desktop applications,</li><li>Integration into a website, or simply</li><li>Download at regular time intervals</li></ul><p><br></p><p>These tasks can be easily performed using the API, as shown in the&nbsp;<a href="https://apidocs.meteocat.gencat.cat/section/referencia-tecnica/exemples/" rel="noopener noreferrer" target="_blank" style="color: rgb(80, 113, 146);">examples section</a>.</p><p><br></p><p><em style="color: rgb(0, 22, 66);"><u>Note</u>:&nbsp;</em><strong style="color: rgb(0, 22, 66);"><em>Several pieces of documentation</em></strong><em style="color: rgb(0, 22, 66);">&nbsp;associated with data are written in the&nbsp;</em><strong style="color: rgb(0, 22, 66);"><em>Catalan language</em></strong><em style="color: rgb(0, 22, 66);">.</em></p>
num_resources 1
num_tags 6
title METEOCAT Weather Data API (Catalonia)