AirTrack
AirTrack
AirTrack API
Programmatic access to AirTrack's air-quality intelligence — score a point, forecast a day, or enrich and plan routes. Every endpoint except pairing-code redemption is authenticated with a connection bearer token (Authorization: Bearer aapk_…). Endpoints that compute air quality draw from a shared monthly credit pool; redeeming a pairing code, reading GET /v1/quota and polling for a route-plan result are all free. See the Authentication guide to obtain a token.
Tags
air-quality
Score a location, forecast a day's air quality, or enrich a route you supply. Responses speak the AirTrack Clean Air Score (100 = cleanest, 0 = worst) and — for routes — the AirTrack Air Quality Health Index (AAL AQHI) and inhaled dose, alongside raw pollutant concentrations in µg/m³.
route-planning
Plan lower-exposure walking, running and cycling routes between two points. Planning is asynchronous: submit a request, then poll for the optimised alternatives, each carrying per-waypoint measures and an exposure summary.
connections
Exchange a pairing code for a connection token. The AirTrack user generates a short-lived 6-digit code in the app and enters it into your client; your client redeems it here for a long-lived
aapk_ bearer token carrying exactly the capabilities the user granted. This is the only unauthenticated endpoint. Redeeming a code draws no credits. Managing a connection afterwards — listing, renaming, revoking — is done by its owner in the AirTrack app, not through this API.quota
Check the shared API credit pool — the single balance every credit-drawing endpoint spends from. Any valid connection token can read its own monthly pool and daily burst usage; the read itself is free.

