Skip to main content

Air quality

GET /AirQuality returns the current air quality forecast for London, including pollution index levels and health advice for sensitive groups.

Operation

MethodGET
Path/AirQuality
Base URLhttps://api.tfl.gov.uk

Parameters

None. The endpoint returns the current forecast without any required input.

Responses

CodeDescription
200Success — JSON object with forecast periods and pollutant levels.
429Rate limited — slow down; see Authentication.
500Server error — retry with backoff.

Example request

curl "https://api.tfl.gov.uk/AirQuality"

Example response (abbreviated)

{
"updatePeriod": "daily",
"forecastURL": "https://www.londonair.org.uk/forecast",
"currentForecast": [
{
"forecastType": "Current",
"forecastID": "low",
"forecastBand": "Low",
"forecastSummary": "Low air pollution forecast valid...",
"nO2Band": "Low",
"o3Band": "Low",
"pM10Band": "Low",
"pM25Band": "Low",
"sO2Band": "Low"
}
]
}

Forecast band values are typically Low, Moderate, High, or Very High. Parse defensively — additional properties may be present.