API Key
The OpenAQ API uses API keys to authenticate requests and manage access. These keys help control usage and enforce rate limits, ensuring that the service remains available and responsive for all users.
Managing Your API Key
Sign up at the explore.openaq.org/account to get your API key. You can access and rotate your key from the OpenAQ Explorer account settings page explore.openaq.org/account .
Using Your API Key
Include your API key in the X-API-Key
header of each request. For example:
Replace YOUR-OPENAQ-API-KEY
with your actual key. This key verifies your
requests and ensures they are processed.