Air Quality Index (AQI) API - PM2.5 PM10 avatar

Air Quality Index (AQI) API - PM2.5 PM10

Pricing

from $0.00005 / actor start

Go to Apify Store
Air Quality Index (AQI) API - PM2.5 PM10

Air Quality Index (AQI) API - PM2.5 PM10

Real-time Air Quality Index (AQI) API actor with PM2.5, PM10, CO, weather metrics, and AI health recommendations for outdoor activities.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Air Quality Index (AQI) API | PM2.5, PM10, CO + Health Recommendations

Get real-time AQI data and AI-powered health guidance for outdoor activity planning.
This Apify actor returns live air pollution metrics (AQI, PM2.5, PM10, CO, temperature, humidity, wind speed) and personalized recommendations based on activity and medical conditions.

Users do not need to provide a Mistral API key. The actor uses a maintainer-managed key.

Why This AQI API

  • Real-time air quality insights for city-level checks
  • Pollution + weather metrics in one response
  • AI recommendations for asthma/allergy-sensitive users
  • Structured output for apps, dashboards, and automations
  • Built-in pricing transparency per run

Target Use Cases

  • Fitness and outdoor activity apps
  • Travel and route planning platforms
  • Health and wellness assistants
  • Smart-city and environmental dashboards
  • Alerting workflows based on pollution thresholds

SEO Keywords

Air Quality Index API, AQI API, PM2.5 API, PM10 API, CO pollution API, real-time AQI, air pollution data API, Delhi AQI API, asthma air quality recommendations, outdoor safety API.

Input Parameters

ParameterTypeRequiredDescriptionDefault
citystringYesCity name for AQI lookupDelhi
statestringNoState/region nameDelhi
countrystringNoCountry nameIndia
plannedActivitystringYesPlanned outdoor activitymorning walk for 30 minutes
medicalConditionsstringNoHealth conditions (e.g., asthma, allergies)asthma

Input Example

{
"city": "Delhi",
"state": "Delhi",
"country": "India",
"plannedActivity": "morning walk",
"medicalConditions": "asthma"
}

Output Fields

FieldTypeDescription
successbooleanRun status
locationobjectCity/state/country
aqi_dataobjectAQI + pollution + weather metrics
recommendationsstringAI-generated health guidance
chargesarrayCharge breakdown by event
total_pricenumberTotal run price
errorstringError details when run fails

Output Example

{
"success": true,
"location": {
"city": "Delhi",
"state": "Delhi",
"country": "India"
},
"aqi_data": {
"aqi": 135,
"temperature": 31.4,
"humidity": 41.0,
"wind_speed": 16.6,
"pm25": 51.0,
"pm10": 65.0,
"co": 312.0
},
"recommendations": "Personalized health recommendations...",
"charges": [
{ "event": "aqi_data_fetch", "price": 0.005 },
{ "event": "health_recommendation", "price": 0.005 }
],
"total_price": 0.01
}

Data Source and Reliability

  • AQI data is sourced from aqi.in through resilient scraping logic
  • Multiple route patterns and extraction fallbacks are used
  • In rare cases, source layout changes can temporarily affect some metrics

Pricing

Pay-Per-Event pricing via .actor/ppe.json:

EventPrice
AQI Data Fetch$0.005
Health Recommendation$0.005
Total$0.01/run

FAQ

Do users need to enter an API key?
No. Mistral credentials are managed by the actor owner.

Is this for medical diagnosis?
No. It provides informational guidance and should not replace professional medical advice.

Why might AQI values occasionally be zero?
This can happen if the upstream source page changes or a specific location route is temporarily unavailable.