Easiest way to download historic data for research

Hi Jalal, there are a couple of different ways to collect sensor data.

  1. Data can be downloaded online. The following link will give your more information: Download Sensor Data.

  2. You can use the historical API endpoints. Currently, only one sensor can be queried at a time for historical data. However, we ask that you keep requests low. This API is not intended for collecting large amounts of data from a high volume of sensors. EDIT: Larger amounts of data can now be collected through the historical endpoints without issue.

  3. We may be able to provide the data. If you need a very large data set (several thousands of sensors), it may be preferred that you contact us, and we provide the data. This will help maintain low usage of the API.

You can collect data from several sensors at once using the real-time API. Individual sensors can be added to a group, and then you can query that group to collect the data. You can also use a latitude and longitude bounding box and get the data for all sensors within that region.

You can query the real-time API every minute or so, then store that data in your own database. It is more cost-effective and less server intensive for PurpleAir to use the real-time API than the historical API. We recommend this strategy.

1 Like