# API

**URL:** https://community.purpleair.com/c/data/api/18.md?page=1

[Latest](https://community.purpleair.com/latest.md) · [Categories](https://community.purpleair.com/categories.md)

**Page:** 2

---

## [Sensor Indexes and Read Keys](https://community.purpleair.com/t/sensor-indexes-and-read-keys/4000)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 0\
**Last updated:** [March 28, 2023, 9:32pm UTC](https://community.purpleair.com/t/sensor-indexes-and-read-keys/4000 "2023-03-28T21:32:00Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out About the PurpleAir API to get started. What are Sensor Indexes and Read Keys? The sensor index is an identifying number unique to…

---

## [Using the API Dashboard](https://community.purpleair.com/t/using-the-api-dashboard/3981)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 6:13pm UTC](https://community.purpleair.com/t/using-the-api-dashboard/3981 "2023-03-23T18:13:00Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our About the PurpleAir API page to get started. Develop.purpleair.com allows users to edit, create, and manage their API keys an…

---

## [Extracting sensors with API using lat-lon box outputs the same sensors no matter the coordinates](https://community.purpleair.com/t/extracting-sensors-with-api-using-lat-lon-box-outputs-the-same-sensors-no-matter-the-coordinates/10415)

<div class="topic-metadata">

**Author:** [@asmarcheva](https://community.purpleair.com/u/asmarcheva)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 1:46pm UTC](https://community.purpleair.com/t/extracting-sensors-with-api-using-lat-lon-box-outputs-the-same-sensors-no-matter-the-coordinates/10415 "2024-10-08T13:46:47Z")

</div>

I have been trying to extract sensors with the PurpleAir API using a bounding box, which is allowed. However, when I try using different bounding boxes, the same sensors are returned. Specifically, I am using the Purple…

---

## [Loop API Calls for Historical Data](https://community.purpleair.com/t/loop-api-calls-for-historical-data/4623)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 0\
**Last updated:** [May 23, 2023, 8:46pm UTC](https://community.purpleair.com/t/loop-api-calls-for-historical-data/4623 "2023-05-23T20:46:00Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. The historical API can be used to download PurpleAir data from any date range. However, there…

---

## [Data Integration: Purple Air and Google Earth Engine](https://community.purpleair.com/t/data-integration-purple-air-and-google-earth-engine/10163)

<div class="topic-metadata">

**Author:** [@Newton\_Coelho\_Montei](https://community.purpleair.com/u/Newton_Coelho_Montei)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 6:36pm UTC](https://community.purpleair.com/t/data-integration-purple-air-and-google-earth-engine/10163 "2024-09-04T18:36:56Z")

</div>

Dear Purple Air team, I would like to inquire about any plans to integrate Purple Air’s air quality sensor data into Google Earth Engine. Such integration would be invaluable to researchers and enthusiasts seeking to ana…

---

## [Fetching PurpleAir Data to Thingspeak](https://community.purpleair.com/t/fetching-purpleair-data-to-thingspeak/9700)

<div class="topic-metadata">

**Author:** [@Oluwapemiisin\_Akingb](https://community.purpleair.com/u/Oluwapemiisin_Akingb)\
**Replies:** 1\
**Last updated:** [August 9, 2024, 6:17pm UTC](https://community.purpleair.com/t/fetching-purpleair-data-to-thingspeak/9700 "2024-08-09T18:17:55Z")

</div>

I want to fetch data from my PurpleAir to Tningspeak using a Matlab code. I have the read API key and the sensor index that I have used to generate a Get URL request. When I use this URL on the Matlab code, the server re…

---

## [Creating API Keys](https://community.purpleair.com/t/creating-api-keys/3951)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 2\
**Last updated:** [July 7, 2024, 7:39pm UTC](https://community.purpleair.com/t/creating-api-keys/3951 "2024-07-07T19:39:41Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. This article will go over how to create API keys and navigate the API portal. You will need …

---

## [Meaing of negative remaining points](https://community.purpleair.com/t/meaing-of-negative-remaining-points/8743)

<div class="topic-metadata">

**Author:** [@jcothran](https://community.purpleair.com/u/jcothran)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 9:46pm UTC](https://community.purpleair.com/t/meaing-of-negative-remaining-points/8743 "2024-05-30T21:46:51Z")

</div>

What do negative remaining points mean? I had several air monitors setup and reading data regularly before API data charges started in 2023, I first checked the developer site a month back and the value was negative and …

---

## [Adding users](https://community.purpleair.com/t/adding-users/8742)

<div class="topic-metadata">

**Author:** [@jcothran](https://community.purpleair.com/u/jcothran)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 9:37pm UTC](https://community.purpleair.com/t/adding-users/8742 "2024-05-30T21:37:38Z")

</div>

I am the only user for a set of purple air monitors and trying to figure out how I can add additional users(for managing other project keys or as a backup) but don’t see a way when logged in through the developer site ho…

---

## [How to Tell When A Sensor Produced Data](https://community.purpleair.com/t/how-to-tell-when-a-sensor-produced-data/5775)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 0\
**Last updated:** [July 27, 2023, 8:37pm UTC](https://community.purpleair.com/t/how-to-tell-when-a-sensor-produced-data/5775 "2023-07-27T20:37:00Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. Empty Files Downloaded From the API Sometimes when downloading data from the API, either dire…

---

## [API Use Guidelines](https://community.purpleair.com/t/api-use-guidelines/1589)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 0\
**Last updated:** [October 31, 2022, 6:21pm UTC](https://community.purpleair.com/t/api-use-guidelines/1589 "2022-10-31T18:21:00Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. We ask that you limit your API requests to as few as possible to increase efficiency, decre…

---

## [Making API Calls in Other Programming Languages](https://community.purpleair.com/t/making-api-calls-in-other-programming-languages/181)

<div class="topic-metadata">

**Author:** [@Ethan](https://community.purpleair.com/u/Ethan)\
**Replies:** 0\
**Last updated:** [November 22, 2021, 10:12pm UTC](https://community.purpleair.com/t/making-api-calls-in-other-programming-languages/181 "2021-11-22T22:12:20Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. This topic will demonstrate how to make API calls using the PurpleAir API in different prog…

---

## [Obtaining PurpleAir location data (lat/long) for California](https://community.purpleair.com/t/obtaining-purpleair-location-data-lat-long-for-california/3171)

<div class="topic-metadata">

**Author:** [@emmsage](https://community.purpleair.com/u/emmsage)\
**Replies:** 7\
**Last updated:** [May 28, 2024, 4:29pm UTC](https://community.purpleair.com/t/obtaining-purpleair-location-data-lat-long-for-california/3171 "2024-05-28T16:29:59Z")

</div>

Hi everyone, I am new to programming and using the PurpleAir API, and would really appreciate guidance on how to best download location data for all PurpleAir sensors in California (it doesn’t need to be historical data…

---

## [Stations with readings of 0](https://community.purpleair.com/t/stations-with-readings-of-0/8518)

<div class="topic-metadata">

**Author:** [@Bat](https://community.purpleair.com/u/Bat)\
**Replies:** 1\
**Last updated:** [April 27, 2024, 7:55pm UTC](https://community.purpleair.com/t/stations-with-readings-of-0/8518 "2024-04-27T19:55:55Z")

</div>

Hi! I’m relatively new here. Our team uses purple air APIs to fetch AQ data in the Mongolian region. We see some readings on the real time map that display 0 and after checking out individual sensor readings in the stat…

---

## [Payment Required Error](https://community.purpleair.com/t/payment-required-error/8202)

<div class="topic-metadata">

**Author:** [@Salman\_Alam](https://community.purpleair.com/u/Salman_Alam)\
**Replies:** 3\
**Last updated:** [March 25, 2024, 3:18pm UTC](https://community.purpleair.com/t/payment-required-error/8202 "2024-03-25T15:18:05Z")

</div>

I have installed purple air PA-II device and had tried number of times to download the data but all the times it is giving the error code (402), and the request is aborted, can someone help me how to fix this issue. …

---

## [Unable to Purchase Developer API Points - console error "Payment data cannot be validated with security hash key"](https://community.purpleair.com/t/unable-to-purchase-developer-api-points-console-error-payment-data-cannot-be-validated-with-security-hash-key/8213)

<div class="topic-metadata">

**Author:** [@Airjustinfo](https://community.purpleair.com/u/Airjustinfo)\
**Replies:** 1\
**Last updated:** [March 14, 2024, 2:59am UTC](https://community.purpleair.com/t/unable-to-purchase-developer-api-points-console-error-payment-data-cannot-be-validated-with-security-hash-key/8213 "2024-03-14T02:59:48Z")

</div>

Hi - I cannot make a successful transaction after using multiple credit cards. I am confident it isn’t my card, as I can purchase it from other sites. It seems to stop before the transaction is attempted. After I inspe…

---

## [Can we transfer unused Purple Air credits in my account to someone else?](https://community.purpleair.com/t/can-we-transfer-unused-purple-air-credits-in-my-account-to-someone-else/7879)

<div class="topic-metadata">

**Author:** [@jonathanlevine](https://community.purpleair.com/u/jonathanlevine)\
**Replies:** 2\
**Last updated:** [January 31, 2024, 3:31am UTC](https://community.purpleair.com/t/can-we-transfer-unused-purple-air-credits-in-my-account-to-someone-else/7879 "2024-01-31T03:31:18Z")

</div>

According to this post API Pricing every user gets 1 million points to start, I believe this applies when a user purchases a Purple Air sensor, they then get 1 million points to start. Purple Air can you please confirm t…

---

## [Can Purple Air Indoor and Outdoor Sensor be connected to Home Hubs?](https://community.purpleair.com/t/can-purple-air-indoor-and-outdoor-sensor-be-connected-to-home-hubs/7852)

<div class="topic-metadata">

**Author:** [@Charlyn\_Rosario](https://community.purpleair.com/u/Charlyn_Rosario)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 9:04pm UTC](https://community.purpleair.com/t/can-purple-air-indoor-and-outdoor-sensor-be-connected-to-home-hubs/7852 "2024-01-29T21:04:56Z")

</div>

Hi, I’m new here. My boss is planning to purchase a Purple Air sensor, and we have a few questions: Are Purple Air indoor and outdoor sensors compatible and can they be connected to home hubs? If so, which home hubs are…

---

## [What are Sensor Indexes and Sensor Read Keys?](https://community.purpleair.com/t/what-are-sensor-indexes-and-sensor-read-keys/7820)

<div class="topic-metadata">

**Author:** [@Dr\_Justus\_Kamara\_Ana](https://community.purpleair.com/u/Dr_Justus_Kamara_Ana)\
**Replies:** 7\
**Last updated:** [January 26, 2024, 9:45am UTC](https://community.purpleair.com/t/what-are-sensor-indexes-and-sensor-read-keys/7820 "2024-01-26T09:45:16Z")

</div>

what is Sensor Indexes and Sensor Read Keys and how do i get these parameter?

---

## [Lost API Key](https://community.purpleair.com/t/lost-api-key/4647)

<div class="topic-metadata">

**Author:** [@Mengistu](https://community.purpleair.com/u/Mengistu)\
**Replies:** 6\
**Last updated:** [January 20, 2024, 10:12am UTC](https://community.purpleair.com/t/lost-api-key/4647 "2024-01-20T10:12:01Z")

</div>

I have the API adresse but I lose it .how create new or how to recover

---

## [So many names in the api](https://community.purpleair.com/t/so-many-names-in-the-api/7728)

<div class="topic-metadata">

**Author:** [@JerryN](https://community.purpleair.com/u/JerryN)\
**Replies:** 9\
**Last updated:** [January 13, 2024, 12:44am UTC](https://community.purpleair.com/t/so-many-names-in-the-api/7728 "2024-01-13T00:44:39Z")

</div>

Here’s a list of the names and their meanings, as I understand it. Please let me know if these are correct. device\_id - printed on the sensor, doesn’t seem to be used in the api. It looks like a MAC id. sensor\_id and s…

---

## [Not able to delete a member](https://community.purpleair.com/t/not-able-to-delete-a-member/7484)

<div class="topic-metadata">

**Author:** [@londoso](https://community.purpleair.com/u/londoso)\
**Replies:** 2\
**Last updated:** [December 10, 2023, 4:35pm UTC](https://community.purpleair.com/t/not-able-to-delete-a-member/7484 "2023-12-10T16:35:59Z")

</div>

Hello, I’m trying to delete a member from my group via API and it seems not to be deleted. Is there some dalay or am I doing something wrong ? When a member is deleted I got a “1” as result but when i check the grou…

---

## [Error in Data download](https://community.purpleair.com/t/error-in-data-download/7470)

<div class="topic-metadata">

**Author:** [@alexano](https://community.purpleair.com/u/alexano)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 9:37pm UTC](https://community.purpleair.com/t/error-in-data-download/7470 "2023-12-07T21:37:26Z")

</div>

No requests are currently being made. Come back while making a request to see its progress. Progress Logs: Starting requests for sensor 57321. Making request 1. Error Code: 403 Error: ApiKeyInvalidError Description…

---

## [I think the field sensor index is missing](https://community.purpleair.com/t/i-think-the-field-sensor-index-is-missing/3013)

<div class="topic-metadata">

**Author:** [@JGielen](https://community.purpleair.com/u/JGielen)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 1:09am UTC](https://community.purpleair.com/t/i-think-the-field-sensor-index-is-missing/3013 "2023-12-06T01:09:49Z")

</div>

---

## [CSV file data readings are nul](https://community.purpleair.com/t/csv-file-data-readings-are-nul/7393)

<div class="topic-metadata">

**Author:** [@JGielen](https://community.purpleair.com/u/JGielen)\
**Replies:** 3\
**Last updated:** [December 5, 2023, 10:12pm UTC](https://community.purpleair.com/t/csv-file-data-readings-are-nul/7393 "2023-12-05T22:12:50Z")

</div>

Does anyone know how that happens? api\_version time\_stamp time\_stamp\_human data\_time\_stamp data\_time\_stamp\_human last\_seen\_human sensor\_index last\_modified date\_created V1.0.11-0.0.49 1701212403 20231129-000003 n…

---

## [Purple Air API charges](https://community.purpleair.com/t/purple-air-api-charges/7443)

<div class="topic-metadata">

**Author:** [@Kenneth\_Beck](https://community.purpleair.com/u/Kenneth_Beck)\
**Replies:** 5\
**Last updated:** [December 5, 2023, 8:31pm UTC](https://community.purpleair.com/t/purple-air-api-charges/7443 "2023-12-05T20:31:22Z")

</div>

As I understand things, we are now being charged for purple air data downloads using our API key. Can someone tell me where I can track how many points I have used and how much I will be charged? Second question: we so f…

---

## [I didn't get the API key](https://community.purpleair.com/t/i-didnt-get-the-api-key/3217)

<div class="topic-metadata">

**Author:** [@raize](https://community.purpleair.com/u/raize)\
**Replies:** 4\
**Last updated:** [November 29, 2023, 10:00pm UTC](https://community.purpleair.com/t/i-didnt-get-the-api-key/3217 "2023-11-29T22:00:37Z")

</div>

I mailed to support@purple air but didn’t get any reply for the api key

---

## [Finding Large Amounts of Sensor Indexes (Bounding Box API Call)](https://community.purpleair.com/t/finding-large-amounts-of-sensor-indexes-bounding-box-api-call/5688)

<div class="topic-metadata">

**Author:** [@PurpleAir](https://community.purpleair.com/u/PurpleAir)\
**Replies:** 19\
**Last updated:** [November 17, 2023, 9:47pm UTC](https://community.purpleair.com/t/finding-large-amounts-of-sensor-indexes-bounding-box-api-call/5688 "2023-11-17T21:47:34Z")

</div>

This article is related to the PurpleAir API. If you are unfamiliar with it, check out our API Landing Page to get started. Requesting data from the API requires using a device’s sensor index. You can find a sensor in…

---

## [AQI location bound list of sensors limited?](https://community.purpleair.com/t/aqi-location-bound-list-of-sensors-limited/3343)

<div class="topic-metadata">

**Author:** [@epcw](https://community.purpleair.com/u/epcw)\
**Replies:** 15\
**Last updated:** [November 17, 2023, 5:08pm UTC](https://community.purpleair.com/t/aqi-location-bound-list-of-sensors-limited/3343 "2023-11-17T17:08:07Z")

</div>

Hi! I’m trying to pull a list of sensors within a given lat/lon bounding box (Puget Sound, to be specific), and while the code (Python) runs fine and I’m getting a 200 response with data from the server, the list is sus…

---

## [API for Tidbyt](https://community.purpleair.com/t/api-for-tidbyt/7126)

<div class="topic-metadata">

**Author:** [@fire3916](https://community.purpleair.com/u/fire3916)\
**Replies:** 3\
**Last updated:** [November 9, 2023, 11:56pm UTC](https://community.purpleair.com/t/api-for-tidbyt/7126 "2023-11-09T23:56:05Z")

</div>

Can someone please walk me through how to get an API key and sensor ID to work on the recent Tidbyt update? Using an API key is foreign to me. Thanks

[Previous page](https://community.purpleair.com/c/data/api/18.md)

[Next page](https://community.purpleair.com/c/data/api/18.md?page=2)
