Air Quality API

The Air Quality API.

Service: airquality.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://airquality.googleapis.com

REST Resource: v1.currentConditions

Methods
lookup POST /v1/currentConditions:lookup
The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a 500 x 500 meters resolution.

REST Resource: v1.forecast

Methods
lookup POST /v1/forecast:lookup
Returns air quality forecast for a specific location for a given time range.

REST Resource: v1.history

Methods
lookup POST /v1/history:lookup
Returns air quality history for a specific location for a given time range.

REST Resource: v1.mapTypes.heatmapTiles

Methods
lookupHeatmapTile GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}
Returns a bytes array containing the data of the tile PNG image.