# New Version of the PurpleAir API on July 18th

**URL:** <https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251>\
**Category:** API\
**Created:** [July 14, 2022, 6:44pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251 "2022-07-14T18:44:11Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![ronswanson](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@ronswanson](https://community.purpleair.com/u/ronswanson)\
**Post date:** [August 8, 2022, 1:57pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/23 "2022-08-08T13:57:44Z")

</div>

I’m getting an error when making API calls for sensor history all of a sudden.

```auto
  "api_version" : "V1.0.11-0.0.34",
  "time_stamp" : 1659966366,
  "error" : "ApiDisabledError",
  "description" : "API calls to this endpoint (get_sensor_history) have been restricted. Please try again later or contact PurpleAir for more information."

```

I’ve tried both the june2022.api.purpleair and the api.purpleair urls and they both give me the error.

---

<div class="post-metadata">

**Author:** ![joerg](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@joerg](https://community.purpleair.com/u/joerg)\
**Post date:** [August 8, 2022, 2:44pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/24 "2022-08-08T14:44:23Z")

</div>

I am having the same problem on my end.

---

<div class="post-metadata">

**Author:** ![Kevin\_Edmiston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/kevin_edmiston/32/559_2.png) [@Kevin\_Edmiston](https://community.purpleair.com/u/Kevin_Edmiston)\
**Post date:** [August 8, 2022, 3:50pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/25 "2022-08-08T15:50:25Z")

</div>

I am also getting this error the last few days now.  
“api\_version” : “V1.0.11-0.0.34”,  
“time\_stamp” : 1659971831,  
“error” : “ApiDisabledError”,  
“description” : "API calls to this endpoint (get\_sensor\_history) have been restricted.

---

<div class="post-metadata">

**Author:** ![r1yk](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@r1yk](https://community.purpleair.com/u/r1yk)\
**Post date:** [August 9, 2022, 1:01pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/26 "2022-08-09T13:01:03Z")

</div>

I’m also getting the ApiDisabledError on “Get Sensor History” as of Monday August 8th. @Bruno22 if these errors also match what you’re getting, there might not be anything to be done until PurpleAir can address it.

---

<div class="post-metadata">

**Author:** ![Ethan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/ethan/32/177_2.png) [@Ethan](https://community.purpleair.com/u/Ethan)\
**Post date:** [August 9, 2022, 8:16pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/28 "2022-08-09T20:16:10Z")

</div>

Hi @Jasmine_Bootman, I have been receiving information from the development team and working on a post. I am still waiting for a bit more information.

For context, I deleted a post just now that linked to an article I am working on. I’m not sure why it was visible, that may have been my mistake. I will link it here once it is completed.

Recently, the historical endpoints have become restricted due to extremely heavy use. To use the historical API, you will need to be granted access. You can email [contact@purpleair.com](mailto:contact@purpleair.com) with your API keys and a description of your API usage to be granted access.

---

<div class="post-metadata">

**Author:** ![Ethan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/ethan/32/177_2.png) [@Ethan](https://community.purpleair.com/u/Ethan)\
**Post date:** [August 10, 2022, 3:31pm UTC](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251/29 "2022-08-10T15:31:29Z")

</div>

The article is now listed, although it does not include much different information. You can read it here: [Historical API Endpoints are now Restricted](https://community.purpleair.com/t/historical-api-endpoints-are-now-restricted/1557).

[Previous page](https://community.purpleair.com/t/new-version-of-the-purpleair-api-on-july-18th/1251.md?page=1)
