GETFree API Key·CORS Ready·Verified 2026-12-02
OpenAQ Air Quality
Global open-data repository aggregating real-time PM2.5, ozone, and NO2 air quality measurements from government stations.
Live JSON Playground & Client Code
GETOpenAQ Air Quality
https://api.openaq.org/v3/locations?limit=5// Click "Send Live Request" to call this endpoint live from your browser:
// GET https://api.openaq.org/v3/locations?limit=5
// Auth: Free API Key | CORS: CORS Ready
// Rate limit: Free API key · 60 req/minLimit: Free API key · 60 req/minCommercial: Yes (CC-BY)
Production Integration Checklist
- Store your free API key in server-side environment variables or an edge Worker instead of client bundles.
- Browser CORS is enabled. Avoid unnecessary custom headers to skip extra OPTIONS preflight latency.
- Documented rate limit: "Free API key · 60 req/min". Always pair requests with an 8s timeout and shared HTTP caching to avoid 429 errors.
- Commercial license note: Yes (CC-BY). Verify attribution wording in official docs before production launch.