About the API

OpenAQ provides a REST API for programmatic access to the OpenAQ database.


The OpenAQ API is currently available in two versions:

  • Legacy version 1 - only includes reference/government sources, i.e. does not include low-cost sensors

  • Current version 2 - includes full OpenAQ dataset and additional query features compared to version 1

Interactive reference documentation of both versions of the REST API is available in the reference section.