read current or recent measurements from an airgradient air quality sensor via its public api

domain: airgradient.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable API access in the AirGradient dashboard (General Settings > Connectivity) to obtain an API token
  2. Find the target locationId on the dashboard's Locations Administration page
  3. GET https://api.airgradient.com/public/api/v1/locations/{locationId}/measures/current?token={API token} for the latest reading from one location, or omit the locationId segment to list current measures for all your locations
  4. Read fields like pm02, pm10, rco2, atmp, rhum, tvocIndex, and noxIndex depending on the sensor model
  5. Consult the Swagger UI at api.airgradient.com/public/docs/api/v1/ for history/place-ID endpoints returning historical data

Known gotchas

Related routes

retrieve recent air quality measurements from a clarity air monitoring network via the clarity api
clarity.io · 5 steps · unrated
get current air quality conditions and heatmap tiles from the google air quality api
airquality.googleapis.com · 5 steps · unrated
Retrieve current or historical PM2.5 sensor readings from the PurpleAir API for a sensor or bounding box
api.purpleair.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans