v0.2 - 2018/10/25

API - Forecast data of allergenic pollen and spores in Catalonia

This API allows access to the (current) week forecast data of allergenic pollen and spores in Catalonia, publicly available at: https://lap.uab.cat/aerobiologia/en/forecast/catalunya

Information includes:

  • Names of the taxons, present in the forecast.
  • Forecast table keys.
  • Information about the aerobiological station.
  • Forecast date (start, end).
  • Current levels values.
  • Forecast values.

License and Terms of Use



  • License: CC BY-NC-SA 4.0
  • Attribution: Include a link to the PIA website, where the forecast information is displayed, if your design allows it. Otherwise, in a place dedicated to recognize authorship.
  • If you use our data in your project, we ask you to let us know at aerobiologia.pia@uab.cat. In order to be able to show that the data that PIA produces is useful for society, and to be able to continue producing this data.
  • For uses of forecast data, beyond the license CC BY-NC-SA 4.0, uses of real data of pollens and spores, etc. We are open to collaborative agreements. Contact us: aerobiologia.pia@uab.cat



Use and parameters

Web API URL: https://lap.uab.cat/api/v0/forecast/[locality]/[lang]/xml

  • [locality] is one of the following options: "barcelona", "bellaterra", "girona", "lleida", "manresa", "roquetes", "tarragona", "vielha", "son"
    "catalunya" for all stations
  • [lang] is one of the following options: "ca", "es" o "en" (the absence of the parameter, returns in Catalan by default)



  • Query by geographic coordinates (as an alternative to location name).


For problems, comments, doubts, suggestions, requests, etc. related to the API, send us a message to aerobiologia.pia@uab.cat