API - Air Quality Programmatic APIs

Share: aqicn.org/api/kr/

Initial setup

The 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-progammatic 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 9000 station level and 600 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
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:
  • Air Quality forecast (for 3~8 days)
  • 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 max 1000 (one thousand) requests per minute (~16RPS) and with burst up to 60 requests.

    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;



    --

    Read or publish comments (they rely on Disqus)

    대기질 및 환경 오염 측정에 관하여 :

    대기질 지수 단계에 대하여

    AQI지수구분구간의미
    0 - 50 좋음 대기오염 관련 질환자군에서도 영향이 유발되지 않을 수준
    51 -100 보통 환자군에게 만성 노출시 경미한 영향이 유발될 수 있는 수준
    101-150 민감군영향 환자군 및 민감군에게 유해한 영향이 유발될 수 있는 수준
    151-200 나쁨 환자군 및 민감군(어린이, 노약자 등)에게 유해한 영향 유발, 일반인도 건강상 불쾌감을 경험할 수 있는 수준
    201-300 매우나쁨 환자군 및 민감군에게 급성 노출시 심각한 영향 유발, 일반인도 약한 영향이 유발될 수 있는 수준
    300+ 위험 환자군 및 민감군에게 응급 조치가 발생되거나, 일반인에게 유해한 영향이 유발될 수 있는 수준
    (Reference: see airkorea.or.kr)

    대기질과 오염에 대해 더 많은 것을 알아보려면 위키피디아의 대기질 문서(영어)을 보거나 대기질과 건강에 대한 AirNow 가이드(영어)를 참조해보세요.

    매우 유용한 베이징의 의학박사 Richard Saint Cyr MD의 건강 관련 팁을 보려면 www.myhealthbeijing.com 의 블로그를 확인하세요.


    사용안내: 모든 대기 질 데이터는 발행 당시에 검증되지 않았으며, 품질 보증으로 인해 이러한 데이터는 예고없이 언제든지 수정 될 수 있습니다. 세계 대기 품질 지수 프로젝트는이 정보의 내용을 편집함에있어 합당한 기술과 관심을 행사했으며 어떤 상황에서도 세계 대기 품질 지수 (World Air Quality Index) 프로젝트 팀 또는 그 대리인은이 데이터의 공급으로 인해 직접 또는 간접적으로 발생하는 손실, 상해 또는 손해에 대해 계약, 불법 행위 또는 기타의 책임을지지 않습니다.



    설정


    언어 설정 :


    Temperature unit:
    Celcius