# IQAir API on SandBase

> Read IQAir air quality data: world and city air quality, live city rankings and station map data.

Source: https://www.sandbase.ai/apis/iqair

- Endpoints: 4
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [IQAir City Air Quality](https://www.sandbase.ai/apis/iqair/city-air-quality.md): $0.01 per call
  Full air quality details for a specific city including current conditions, pollutant breakdown with concentrations, hourly and daily forecasts, weather data, pollen indices, and health recommendations...
- [IQAir Live City Ranking](https://www.sandbase.ai/apis/iqair/live-city-ranking.md): $0.01 per call
  Real-time global city air quality rankings sorted by AQI descending. Returns up to 122 major cities with current AQI values, geographic metadata, and follower counts.
- [IQAir Map Data](https://www.sandbase.ai/apis/iqair/map-data.md): $0.01 per call
  Air quality station clusters for map visualization. Returns geographic clusters with aggregated AQI values and station counts within the specified bounding box.
- [IQAir World Air Quality](https://www.sandbase.ai/apis/iqair/world-air-quality.md): $0.01 per call
  Global air quality overview returning the top 15 most polluted and top 15 cleanest major cities worldwide. Each city entry includes current AQI, geographic identifiers, and a URL slug path usable with...

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
