Sensor history limited by time intervals

Hi all,

I am using the API to retrieve historical data for a large group of sensors. I believe that the current limits on historical Get requests are:

Real-time: 2 days
10 Minute : 3 days
30 minute: 7 days
1 hr: 14 days
6hr: 90 days
1 day: 1 year

I was wondering if anyone knows why these limits are in place. It would be great to be able to query over longer time periods instead of making multiple get requests and concatenating the data. Is there a reason why the time is so limited? Is there any plan to change these limitations?

Thanks,
M

2 Likes

This is the full list:

  • Real-time: 2 days
  • 10-minute: 3 days
  • 30-minute: 7 days
  • 1-hour: 14 days
  • 6-hour: 90 days
  • 1-day: 1 year
  • 1-week: 5 years
  • 1-month: 20 years
  • 1-year: 100 years

These limits were put in place to control the size of historical API calls, which helps to improve bandwidth. You can still set up your code to loop calls through a date range and get all of the data you need. Our PurpleAir Data Download Tool does this in the background for you, making the process much easier for our non-programmer users.

1 Like