View our privacy statement for more information and how to manage them.
Developers can access a simple open-data JSON web-service which provides a dynamically generated JSON feed for the Air Quality Index for Health. Developers might be interested in using this JSON feed in software and web applications they are currently developing or working with. As long as you acknowledge the EPA as the source of this data, you may use this freely.
The JSON web-service can be accessed at http://erc.epa.ie/real-time-air/www/aqindex/aqih_json.php
How often is this JSON web-service updated?
If you access the JSON web-service using the link above you will always access the most up-to-date Air Quality Index for Health data. We recalcuate the AQIH approximately every hour on a continuing basis.
Parsing or consuming the output JSON data.
Parsing the output JSON data should be straight-forward. The regions are provided in the variable "aqih-region" while the actual Air Quality Index for Health value (AQIH) for that region is provided in the variable "aqih". The variable "aqih" is a string with a comma delimiter. The first value in this string is the AQIH value as an integer (1..10) while the second value in this string is the AQIH as a word term (Very Good, Good, Fair, Poor, Very Poor). You are encouraged to consult the pages explaining the AQIH on this website for more information.
Email us with your feedback, suggestions and questions. We would be delighted to hear how you are using our data. We want to make air quality information accessible to the public and other stakeholders and welcome collaborations with others who want to do the same.
This data is open data and is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
This means you are free to: Share — copy and redistribute the data in any medium or format; Adapt — remix, transform, and build upon the data for any purpose, even commercially. However you MUST provide Attribution for use of this data. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the EPA endorses you or your use of this data. You can read more about Creative Commons Attribution 4.0 International License (CC BY 4.0) at the website.
PO Box 3000 Johnstown Castle Estate Wexford, Y35 W821 053-916 0600Other EPA locations
© EPA 2016