Live data · IQAir

City Air Quality

Paste an IQAir city link to read the live AQI, main pollutant and concentrations, weather and the hourly and daily air quality forecast.

  • Free daily quota
  • Live data
  • No IQAir account
  • Raw JSON included

Live data · IQAir

One record, every public field

The record laid out as a profile, with every scalar field the API returns. Every run also returns the raw API response and a JSON export.

How it works

  1. 01

    Enter a page, place or date

    A URL to scrape, a city, an airport, or nothing at all for national data.

  2. 02

    One live API call

    SandBase calls the SandBase API on your account; scraping APIs render the page first.

  3. 03

    Read or copy the data

    Markdown, a table or a record, plus the raw response.

Who uses it

  • RunnersPick a clean-air hour.
  • ParentsCheck before school pickup.
  • TravelersCompare cities.

IQAir data with an API

This tool calls one SandBase API. Call the same API from your code or Agent with your SandBase key, billed per call ($0.01 list price).

curl -X POST https://api.sandbase.ai/v1/api/iqair/city-air-quality \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "country": "usa",
  "state": "new-york",
  "city": "new-york-city"
}'

Frequently asked questions

Which link do I paste?
Search the city on iqair.com and copy the address, such as iqair.com/usa/new-york/new-york-city.
What AQI scale is used?
The US EPA AQI: 0–50 good, 51–100 moderate, above 150 unhealthy.
Is City Air Quality free?
It needs a SandBase account. This API is in the SandBase daily free quota (100 calls per organization per day, shared, reset at 00:00 UTC); after that each run costs about $0.01 on your SandBase account.
Can I call this API directly?
Yes. This page calls iqair/city-air-quality on SandBase. Call POST /v1/api/iqair/city-air-quality with your SandBase API key; the request example is above.

More Search & web data tools