AQICN

AQICN — free tier with API key

🌦 WeatherON SCHEDULE
AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL ?

AQICN exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

REACHABILITY SCORE ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET http://api.waqi.info/feed/shanghai/?token=demo

{
  "status": "ok",
  "data": {
    "aqi": 55,
    "idx": 1437,
    "attributions": [
      {
        "url": "https://sthj.sh.gov.cn/",
        "name": "Shanghai Environment Monitoring Center(上海市环境监测中心)"
      },
      {
        "url": "http://106.37.208.233:20035/emcpublish/",
        "name": "China National Urban air quality real-time publishing platform (全国城市空气质量实时发布平台)"
      }
    ],
    "city": {
      "geo": [
        31.2047372,
        121.4489017
      ],
      "name": "Shanghai (上海)",
      "url": "https://aqicn.org/city/shanghai",
      "location": ""
    },
    "dominentpol": "pm25",
    "iaqi": {
      "co": {
        "v": 4.6
      },
      "h": {
        "v": 85.5
      },
      "no2": {
        "v": 9.2
      },
      "o3": {
        "v": 16.3
      },
      "p": {
        "v": 1004
      },
      "pm10": {
        "v": 20
      },
      "pm25": {
        "v": 55
      },
      "so2": {
        "v": 4.1
      }
    },
    "time": {
      "s": "2026-07-06 02:00:00",
      "tz": "+08:00",
      "v": 1783303200,
      "iso": "2026-07-06T02:00:00+08:00"
    },
    "forecast": {
      "daily": {
        "o3": [
          {
            "avg": 1,
            "day": "2025-04-05",
            "max": 1,
            "min": 1
          }
        ],
        "pm10": [
          {
            "avg": 67,
            "day": "2026-07-05",
            "max": 123,
            "min": 42
          },
          {
            "avg": 94,
            "day": "2026-07-06",
            "max": 123,
            "min": 42
          }
        ],
        "pm25": [
          {
            "avg": 168,
            "day": "2026-07-05",
            "max": 252,
            "min": 127
          },
          {
            "avg": 205,
            "day": "2026-07-06",
            "max": 252,
            "min": 138
          }
        ],
        "uvi": [
          {
            "avg": 1,
            "day": "2026-07-05",
            "max": 7,
            "min": 0
          },
          {
            "avg": 2,
            "day": "2026-07-06",
            "max": 8,
            "min": 0
          }
        ]
      }
    }
  }
}
Call itcurl · fetch · python
curl "http://api.waqi.info/feed/shanghai/?token=demo"
const res = await fetch("http://api.waqi.info/feed/shanghai/?token=demo");
const data = await res.json();
console.log(data);
import requests

res = requests.get("http://api.waqi.info/feed/shanghai/?token=demo")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 6On scheduleFULL DOCS ↗
On schedule — auth-wall reachability checks pending
GET/feed/shanghai/?token=demoPROBED

AQICN — free tier with API key

GET/feed

Activity or news feed.

GET/feed/1

Feed details by ID (example: 1).

GET/feed?limit=10

Activity or news feed.

GET/feed/search?q=test

Search by query parameters.

GET/feed/shanghai/?limit=5

Activity or news feed.

Machine-readable spec

We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

AQICN: common questions

Is AQICN free to use?

Yes — AQICN is a free weather API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does AQICN need an API key?

Yes — AQICN needs a free API key, which you pass on each request. Rate limits: Unpublished.

Can I call AQICN from the browser?

Not directly — AQICN doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is AQICN up right now?

AQICN is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.