Google Maps Platform Air Quality MapTypes API

The Air Quality MapTypes API from Google Maps Platform — 1 operation(s) for air quality maptypes.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y} Get an air quality heatmap map tile · Lookup heatmap tile heatmapTiles #
Ask an LLM
“Can I show an air quality heatmap layer on our map?”
“Which air quality map types can I draw as tiles?”
Tell an agent
Get the {mapType} air quality tile at zoom {zoom}, x {x}, y {y}.
Fetch air quality heatmap tile {x},{y} at zoom {zoom} for {mapType}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-air-quality-maptypes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-air-quality-maptypes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Air Quality API MapTypes Air Quality MapTypes API
  version: v1
  description: Generated from Google's published Discovery document for Air Quality API (airquality v1, revision 20261111). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://airquality.googleapis.com
tags:
- name: Air Quality MapTypes
paths:
  /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}:
    get:
      operationId: airquality.mapTypes.heatmapTiles.lookupHeatmapTile
      summary: Lookup heatmap tile heatmapTiles
      description: Returns a bytes array containing the data of the tile PNG image.
      parameters:
      - name: mapType
        in: path
        required: true
        description: 'Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: - UAQI_RED_GREEN (UAQI, red-green palette) - UAQI_INDIGO_PERSIAN (UAQI, indigo-persian palette) - PM25_INDIGO_PERSIAN - GBR_DEFRA - DEU_UBA - CAN_EC - FRA_ATMO - US_AQI'
        schema:
          enum:
          - MAP_TYPE_UNSPECIFIED
          - UAQI_RED_GREEN
          - UAQI_INDIGO_PERSIAN
          - PM25_INDIGO_PERSIAN
          - GBR_DEFRA
          - DEU_UBA
          - CAN_EC
          - FRA_ATMO
          - US_AQI
          type: string
      - name: zoom
        in: path
        required: true
        description: 'Required. The map''s zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16'
        schema:
          format: int32
          type: integer
      - name: x
        in: path
        required: true
        description: Required. Defines the east-west point in the requested tile.
        schema:
          format: int32
          type: integer
      - name: y
        in: path
        required: true
        description: Required. Defines the north-south point in the requested tile.
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpBody'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Air Quality MapTypes
components:
  schemas:
    HttpBody:
      properties:
        contentType:
          description: The HTTP Content-Type header value specifying the content type of the body.
          type: string
        extensions:
          items:
            type: object
            additionalProperties:
              description: Properties of the object. Contains field @type with type URL.
          type: array
          description: Application specific response metadata. Must be set in the first response for streaming APIs.
        data:
          description: The HTTP request/response body as raw binary.
          format: byte
          type: string
      type: object
      description: 'Message that represents an arbitrary HTTP body. It should only be used for payload formats that can''t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.'
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
externalDocs:
  url: https://developers.google.com/maps/documentation/air-quality
x-provenance:
  method: harvested
  publisher: Google
  source: https://airquality.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)