Air Quality Open Data Platform
API Token Confirmation



Sorry, something wrong happened :-(

Invalid internal ticket ID

Getting started with the API

Initial setup

first step is to make sure to acquire your own token for all API access.
You can get your token from the data-platform token page.

Map tile API

The map tile API can be used to show the real-time Air Quality index on a google, bing or openstreet map.
Read more about the Map tile API description and examples

Widget API

The widget API can be used to integrate the real-time Air Quality index on any web page.

Read more about the Widget API description.

There is also a non-programmatic API for an easy integration with word-press, which can generate any of the widget below. For more information, go to your city page (eg aqicn.org/city/auckland), scroll-down until you find the "Download the real-time Air Quality Index Widget" and click on the "Wordpress & Blogger" logo.

JSON API

 $ curl -i "http://api.waqi.info/feed/shanghai/?token=demo"

The JSON API can be used for advanced programmatic integration:

  • Access to more than 11000 station-level and 1000 city-level data
  • Geo-location query (based on latitude/longitude or IP address)
  • Individual AQI for all pollutants (PM2.5, PM10, NO2, CO, SO2, Ozone)
  • Station name and coordinates
  • Originating EPA name and link
  • Current weather conditions
  • Stations within a map lat/lng bounds
  • Search stations by name
  • Air Quality forecast (for 3~8 days)

For more information, you can use the on-line API documentation or refer to the sample javascript code / web demo.

Note that more functionality will be added during the coming weeks:

  • Weather forecast (for 8 days)
  • World ranking and trend
  • Neighbor stations AQI
  • Historical Data
  • Pollutant raw concentration (for usage with different scales)
  • PubSub notification service

We may change, delete, add to, or otherwise amend information contained on this website without notice.

Under no circumstances will the World Air Quality Index project team or its agents be liable in contract, tort or otherwise for any loss, injury or damage arising directly or indirectly from the supply of this data.

Term of Service

The usage of the programmatic API are subjected to a "acceptable usage" policy:

API Usage

  • All the APIs are provided for free.
  • A valid key must be used for accessing the API.
  • All the API are subjected to quota.

The default quota is 1,000 (one thousand) requests per second.
(Yes, that's a lot, and that's thanks to the support from our colleagues at the UNEP).

Data usage

  • The data can not be sold or included in sold packages.
  • The data can not be used in paid applications or services.
  • The data can not be redistributed as cached or archived data.

(where data refers to the data obtained from the APIs)
For the historical data, check the data platform page.

App usage

  • Attribution to the World Air Quality Index Project as well as originating EPA is mandatory.
  • Public usage by for-profit corporations requires explicit agreement wit the World Air Quality Index team.
  • Public usage by non-profit organization requires prior notification (by email) to the World Air Quality Index team.

(where app refers to any application, services which make use of the above mentioned data)


--

If the above policy does not fulfill your needs, or if you need larger quota, then please contact us first.

Please note that the we reserve the right to change the term of service at any time and without prior notice.

Warranty

All reasonable measures have been taken to ensure the quality and accuracy of the Data provided by the above APIs. However:

  • We do not make warranty, express or implied, nor assume any legal liability or responsibility for the accuracy, correctness, completeness of the information.
  • We do not assume any legal liability or responsibility for any damage or loss that may directly or indirectly result from any information contained on this website or any actions taken as a result of the content of this website;

ກ່ຽວກັບການວັດແທກຄຸນນະພາບອາກາດ ແລະມົນລະພິດ:

ກ່ຽວກັບລະດັບຄຸນນະພາບອາກາດ

- ດັດຊະນີຄຸນນະພາບອາກາດ (AQI) ຄ່າLevels of Health Concern
0 - 50 ດີ ຄຸນນະພາບທາງອາກາດຖືກພິຈາລະນາເປັນທີ່ພໍໃຈ, ແລະມົນລະພິດທາງອາກາດກໍ່ມີຄວາມສ່ຽງຫນ້ອຍຫຼືບໍ່ມີຄວາມສ່ຽງ
51 -100 ປານກາງ ຄຸນນະພາບທາງອາກາດແມ່ນການຮັບຮອງ; ຢ່າງໃດກໍ່ຕາມ, ສໍາລັບບາງມົນລະພິດອາດມີຄວາມກັງວົນກ່ຽວກັບສຸຂະພາບໃນລະດັບປານກາງສໍາລັບຈໍານວນຜູ້ທີ່ມີຄວາມເຄັ່ງຕຶງທີ່ຜິດປົກກະຕິກັບການມົນລະພິດທາງອາກາດ.
101-150 Unhealthy
for sensitive groups
ສະມາຊິກຂອງກຸ່ມທີ່ມີຄວາມອ່ອນໄຫວອາດຈະມີຜົນກະທົບຕໍ່ສຸຂະພາບ ປະຊາຊົນທົ່ວໄປບໍ່ໄດ້ຮັບຜົນກະທົບ.
151-200 ບໍ່ມີສຸຂະພາບດີ ທຸກໆຄົນອາດຈະເລີ່ມປະສົບຜົນກະທົບດ້ານສຸຂະພາບ; ສະມາຊິກຂອງກຸ່ມທີ່ມີຄວາມອ່ອນໄຫວອາດຈະມີຜົນກະທົບດ້ານສຸຂະພາບທີ່ຮ້າຍແຮງຫຼາຍ
201-300 Very
Unhealthy
ການເຕືອນໄພດ້ານສຸຂະພາບຂອງສະພາບສຸກເສີນ. ປະຊາກອນທັງຫມົດແມ່ນມັກຈະໄດ້ຮັບຜົນກະທົບ.
300+ ອັນຕະລາຍ ເຕືອນດ້ານສຸຂະພາບ: ທຸກໆຄົນອາດຈະມີຜົນກະທົບທາງສຸຂະພາບທີ່ຮ້າຍແຮງກວ່າເກົ່າ

ເພື່ອຮູ້ເພີ່ມເຕີມກ່ຽວກັບຄຸນນະພາບອາກາດ ແລະມົນລະພິດ, ໃຫ້ກວດເບິ່ງ ຫົວຂໍ້ຄຸນນະພາບອາກາດຂອງ wikipedia ຫຼື ຄູ່ມື airnow ກ່ຽວກັບຄຸນນະພາບອາກາດ ແລະສຸຂະພາບຂອງເຈົ້າ .

ສໍາລັບຄໍາແນະນໍາດ້ານສຸຂະພາບທີ່ເປັນປະໂຫຍດຫຼາຍຂອງທ່ານຫມໍປັກກິ່ງ Richard Saint Cyr MD, ກວດເບິ່ງ blog www.myhealthbeijing.com .


ແຈ້ງການນໍາໃຊ້: ຂໍ້ມູນຄຸນນະພາບອາກາດທັງຫມົດແມ່ນບໍ່ຖືກຕ້ອງໃນເວລາທີ່ພິມເຜີຍແຜ່, ແລະເນື່ອງຈາກການຮັບປະກັນຄຸນນະພາບຂອງຂໍ້ມູນເຫຼົ່ານີ້ອາດຈະຖືກປັບປຸງ, ໂດຍບໍ່ມີຂໍ້ສັງເກດ, ໃນທຸກເວລາ. ໂຄງການດັດຊະນີທາງອາກາດໂລກໄດ້ໃຊ້ທັກສະແລະການດູແລທີ່ສົມເຫດສົມຜົນທັງຫມົດໃນການລວບລວມເນື້ອໃນຂອງຂໍ້ມູນນີ້ແລະພາຍໃຕ້ສະພາບການໃດກໍ່ຕາມທີມງານຂອງໂຄງການໂລກຂອງອາກາດທາງໂລກຫຼືຕົວແທນຂອງມັນຈະຮັບຜິດຊອບໃນສັນຍາ, ຄວາມເສຍຫາຍຫຼືຄວາມເສຍຫາຍໃດໆ, ເກີດຂື້ນໂດຍກົງຫຼືໂດຍທາງອ້ອມຈາກການສະຫນອງຂໍ້ມູນນີ້.



Settings


Language Settings:


Temperature unit:
Celcius