retrieve recent air quality measurements from a clarity air monitoring network via the clarity api

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

Steps

  1. Obtain an API key from the Profile > Your Account section of the Clarity Dashboard (requires a registered Clarity organization account)
  2. Send every request with the API key in the x-api-key request header
  3. Call GET /v1/datasources to list metadata for all datasources belonging to your organization
  4. Query recent measurements via the v2 recent-datasource-measurements-query endpoint, passing a datasourceIds array (or the allDatasources flag) — this endpoint is datasource-only; per-device queries use the general measurements endpoint instead
  5. Read results sorted newest-first, walking backward from endTime until startTime or a result limit is reached

Known gotchas

Related routes

read current or recent measurements from an airgradient air quality sensor via its public api
airgradient.com · 5 steps · unrated
get current air quality conditions and heatmap tiles from the google air quality api
airquality.googleapis.com · 5 steps · unrated
get current air quality by gps coordinates or city using the iqair airvisual api
iqair.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