# Air Quality API API

> Air Quality API API on Apizie: 4 endpoints (The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a…, Returns air quality forecast for a specific location for a given time range., Returns air quality history for a specific location for a given time range., Returns a bytes array containing the data of the tile PNG image.) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/dev-tools:google-airquality/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `dev-tools:google-airquality`
- Category: Dev Tools
- Status: byok
- Source: https://developers.google.com/maps/documentation/air-quality
- Page: https://zieapi.vercel.app/api/dev-tools/google-airquality
- OpenAPI: https://zieapi.vercel.app/api/dev-tools/google-airquality/openapi.json

The Air Quality API.

## Endpoints

### The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a…
`POST https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-current-conditions-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Returns air quality forecast for a specific location for a given time range.
`POST https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-forecast-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Returns air quality history for a specific location for a given time range.
`POST https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-history-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Returns a bytes array containing the data of the tile PNG image.
`GET https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-map-types-heatmap-tiles-lookup-heatmap-tile` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| mapType | string | yes | Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: -… |
| x | integer | yes | Required. Defines the east-west point in the requested tile. |
| y | integer | yes | Required. Defines the north-south point in the requested tile. |
| zoom | integer | yes | 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… |

## Example
```
curl "https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-current-conditions-lookup" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Air Quality API API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/dev-tools:google-airquality/airquality-current-conditions-lookup with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Air Quality API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Air Quality API itself also needs your own key from googleapis.com.

### Can AI agents use the Air Quality API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key dev-tools:google-airquality.

### What is the status of the Air Quality API API?
Needs your own provider key (bring your own key)
