# Sensor history limited by time intervals

**URL:** <https://community.purpleair.com/t/sensor-history-limited-by-time-intervals/2930>\
**Category:** API\
**Created:** [December 9, 2022, 2:27pm UTC](https://community.purpleair.com/t/sensor-history-limited-by-time-intervals/2930 "2022-12-09T14:27:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BCHomestudy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/bchomestudy/32/1897_2.png) [@BCHomestudy](https://community.purpleair.com/u/BCHomestudy)\
**Post date:** [December 9, 2022, 2:27pm UTC](https://community.purpleair.com/t/sensor-history-limited-by-time-intervals/2930/1 "2022-12-09T14:27:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/andrew/32/1211_2.png) [@Andrew](https://community.purpleair.com/u/Andrew)\
**Post date:** [June 8, 2023, 5:02pm UTC](https://community.purpleair.com/t/sensor-history-limited-by-time-intervals/2930/2 "2023-06-08T17:02:27Z")

</div>

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](https://community.purpleair.com/t/purpleair-data-download-tool/3787) does this in the background for you, making the process much easier for our non-programmer users.
