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 a Google account to sign in (doesn’t need to be an “@gmail.com” email address). You can learn more here: Sign in to your Google Account with another email address – Google Account Help
If you want to use the PurpleAir API, you can create your own API keys here: https://develop.purpleair.com/dashboards/keys.
Please review our article about the API Online Dashboard.
Create API Keys
- After signing in, click “API Keys” on the top bar.
- Then click the “+ API Key” button in the top right corner of the screen.
- You will see an auto-populated project name, which you can rename anytime. You can have several projects and API keys. If you already have multiple projects, be sure to select the appropriate project.
- Select “Read” for the “Type,” select “Enabled” under “Status,” and leave the fields “Label,” “Host restrictions,” and “Referer restrictions” blank.
- Click “Create.”
- To create a “Write” key, repeat the process but select “Write” under “Type.”
When creating a new key, you will have the option to create a “Read” or “Write” key. Typically, a Read key will be used to pull data and a Write key will be used to update information on the API, such as creating a group.
Manage Projects
- On the top bar, click on “Projects.” Here you can edit and add projects, view each project’s usage, and archive projects.
- To add a project, click “+ Project” in the top right-hand corner of the page. Choose a project name, and click “Create.”
- To edit a project name, click the three dots to the right of the project name and select “Edit Project.”
- To archive a project, do the same as above and select “archive.”
- To check usage, click on the project name.
Manage Users
- Select “Users” on the top bar. Here you can edit the name of a user.
Manage Organizations
- Select “Organization” on the top bar. Here you can edit the organization’s name and view the organization’s usage.
- The “Purchase Points” button will allow you to add points to your account. Points are used to make API calls.
Learn More
PurpleAir API
API Use Guidelines
Making calls with the PurpleAir API