OpenAQ API guide

openaq.org

Find nearby air quality monitors with OpenAQ, inspect their sensors, and read recent pollutant measurements in the original units.

Actions and inputs

nearest

Find monitoring locations near a coordinate pair.

Inputs Latitude, longitude; OpenAQ API key required

location

View a monitoring location and its sensors.

Inputs Location ID; OpenAQ API key required

current

Read recent pollutant measurements near a coordinate pair in their original units.

Inputs Latitude, longitude; OpenAQ API key required

history

Read a sensor's recent measurements in their original units.

Inputs Sensor ID, number of days; OpenAQ API key required

Saved sensor list for OpenAQ in Smith

Create

Save a list of OpenAQ sensors in Smith.

Inputs List name, sensor IDs

Read

View the saved OpenAQ sensor list in Smith.

Inputs List ID

Update

Rename the list or change its saved sensors in Smith.

Inputs List ID, new name or sensor IDs

Delete

Delete the saved OpenAQ sensor list from Smith.

Inputs List ID