API - Air Quality Programmatic APIs

Share: aqicn.org/api/pt/


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 avanced programatic 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
For more information, you can use the online documentation.
Note that more funtionality will be added durign the comming weeks:
  • Air Quality forecast (for 3~8 days)
  • Weather forecast (for 8 days)
  • World ranking and trend
  • Neighboor stations AQI
  • Pollutant raw concentration (for usage with different scales)
  • PubSub notification service


Term of Service

The usage of the programtic API are subjected to a "acceptable usage" policy:
  • All the API are provided for free.
  • A valid key must be used for accessing the API.
  • All the API are subjected to quota.
  • The data from the API can not be sold and included in sold packages.
  • The data from the API can not be used in paid application or service.
  • Attribution to the World Air Quality Index Project as well as originating EPA is mandatory.
  • Public usage by for-profit corporations requires explict agreement wit the World Air Quality Index team.
  • Public usage by non-profit organizatoin requires prior notification (by email) to the World Air Quality Index team.

If the above policy does not fullfill 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.

Waranty

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;
  • 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.



--

comments powered by Disqus

Sobre a medição da aualidade do ar e poluição

Sobre os níveis de qualidade do ar

- Valores do índice de qualidade do ar (IQA).Níveis de preocupação com a saúde
0 - 50 Boa 0-50: Boa - A qualidade do ar é considerada satisfatória, a poluição do ar representa pouco ou nenhum risco
51 -100 Moderado A Qualidade do ar é aceitável; no entanto, para alguns poluentes pode haver uma preocupação de saúde moderada para um número muito pequeno de pessoas que são especialmente sensíveis à poluição atmosférica.
101-150 Insalubre para grupos sensíveis Membros de grupos sensíveis podem experimentar efeitos na a saúde. O público em geral não é susceptível de ser afetado.
151-200 Insalubre 150-200: Insalubre - Todo mundo pode começar a sentir os efeitos na saúde; membros de grupos sensíveis podem apresentar efeitos mais sérios de saúde.
201-300 Muito Insalubre Advertências relativas à saúde das condições de emergência. Toda a população tende a ser afetada.
300+ Perigoso 300+: Perigoso - alerta de saúde: todos podem experimentar efeitos mais graves para a saúde

Para saber mais sobre Qualidade do Ar e Poluição, verifique o wikipedia Qualidade do Ar tópico ou o guia AIRNow a Qualidade do Ar e sua saúde.

Para conselhos úteis de saúde do dr. Richard Saint Cyr, de Pequim, confira o blog www.myhealthbeijing.com .


Usage Notice: All the Air Quality data are unvalidated at the time of publication, and due to quality assurance these data may be amended, without notice, at any time. The World Air Quality Index project has exercised all reasonable skill and care in compiling the contents of this information and 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.



Configurações


Configurações de linguagem:


Temperature unit:
Celcius