Search
K

Historical Measurements

Welcome to the Historical Measurements API, your gateway to accessing past air quality data. This page is designed to guide you through the process of retrieving historical measurements based on diffe

Endpoint Overview

Explore the diverse endpoints tailored to your historical data needs:

1. Site Historical Measurements

Retrieve historical measurements for a specific site using the site ID.
get
https://api.airqo.net
/api/v2/devices/measurements/sites/{SITE_ID}/historical
Get Historical Measurements by Site ID

2. Device Historical Measurements

Access historical measurements for a particular device using the device ID.
get
https://api.airqo.net
/api/v2/devices/measurements/devices/{DEVICE_ID}/historical
Get Historical measurements by Device ID

3. Grid Historical Measurements

Retrieve historical measurements for a designated grid using the grid ID.
get
https://api.airqo.net
/api/v2/devices/measurements/grids/{GRID_ID}/historical
Get Historical Measurements by Grid ID

4. Cohort Historical Measurements

Access historical measurements for a specific cohort using the cohort ID.
get
https://api.airqo.net
/api/v2/devices/measurements/cohorts/{COHORT_ID}/historical
Get Historical Measurements by Cohort ID

Usage Instructions

Follow the guidelines in each section to craft your API requests based on the entity ID of interest. Our API is designed to provide you with accurate historical air quality measurements, ensuring a seamless experience as you explore past data trends.