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.
Last updated
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.
Last updated
Explore the diverse endpoints tailored to your historical data needs:
GET
https://api.airqo.net/api/v2/devices/measurements/sites/{SITE_ID}/historical
Retrieve measurements for a specific site by providing the site ID
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.airqo.net/api/v2/devices/measurements/devices/{DEVICE_ID}/historical
Retrieve historical measurements for a specific device by providing the device ID.
GET
https://api.airqo.net/api/v2/devices/measurements/grids/{GRID_ID}/historical
Retrieve historical measurements for a specific Grid by providing the Grid ID
GET
https://api.airqo.net/api/v2/devices/measurements/cohorts/{COHORT_ID}/historical
Retrieve historical measurements for a specific Cohort by providing the Cohort ID
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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Site ID*
string
This is the Site's ID
startTime
string
The date in this format: YYYY-MM-DD or the UTC time format in case you would like to access data at specific times, eg: 2021-05-24T12:45:24.000Z
endTime
string
The date in this format: YYYY-MM-DD. or the UTC time format in case you would like to access data at specific times, example: 2021-05-24T12:45:24.000
token*
string
the security token
Device ID*
string
This is the Device's ID
token*
String
the token for your clients
startTime
String
The date in this format: YYYY-MM-DD or the UTC time format in case you would like to access data at specific times, eg: 2021-05-24T12:45:24.000Z
endTime
String
The date in this format: YYYY-MM-DD. or the UTC time format in case you would like to access data at specific times, example: 2021-05-24T12:45:24.000
Grid ID*
string
This is the Grid ID
startTime
string
The date in this format: YYYY-MM-DD or the UTC time format in case you would like to access data at specific times, eg: 2021-05-24T12:45:24.000Z
endTime
string
The date in this format: YYYY-MM-DD. or the UTC time format in case you would like to access data at specific times, example: 2021-05-24T12:45:24.000
token*
string
the security token
Cohort ID*
string
This is the Cohort ID
startTime
string
The date in this format: YYYY-MM-DD or the UTC time format in case you would like to access data at specific times, eg: 2021-05-24T12:45:24.000Z
endTime
string
The date in this format: YYYY-MM-DD. or the UTC time format in case you would like to access data at specific times, example: 2021-05-24T12:45:24.000
token*
string
the security token