Integrate AQICN API

Air Quality Index Data for over 1000 cities.


Overview

AQICN provides comprehensive air quality monitoring data for over 1000 cities worldwide through its World Air Quality Index project. The service aggregates data from over 12,000 monitoring stations, offering real-time air quality measurements including PM2.5, PM10, Ozone, NO2, SO2, and CO levels. It features historical data analysis, pollution forecasting, and health recommendations based on current air quality conditions. The API also provides detailed information about pollution sources, weather conditions affecting air quality, and trends analysis, making it invaluable for environmental monitoring, health applications, and urban planning.

Example Queries

  • What's the air quality index in Beijing?
  • Is the air quality good for outdoor exercise in Delhi?
  • Show me PM2.5 levels in Shanghai

Integration Guide

How to integrate with OpenAssistantGPT

  1. Sign up for an API key from AQICN

    Visit the official documentation to create an account and obtain your API credentials.

  2. Configure the API in OpenAssistantGPT

    In your OpenAssistantGPT dashboard, navigate to the "API Integrations" section and add your AQICN API key.

  3. Create a custom tool for your chatbot

    Define the capabilities and parameters for your integration, specifying what data you want to retrieve from the AQICN API.

  4. Test your integration

    Use the testing environment to ensure your chatbot can successfully communicate with the AQICN API and return relevant information.

  5. Deploy to production

    Once testing is complete, deploy your enhanced chatbot with the new API integration to your production environment.

API Details

Category

Weather