# ClimatePulse Air Quality Index

> ClimatePulse Air Quality Index is a paid API for AI agents from climatepulse-six.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the current Air Quality Index (AQI) for a given location along with health guidance and recommended protective measures for outdoor activity.

## Facts

- Endpoint: GET https://climatepulse-six.vercel.app/api/climate/air
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/climatepulse-air-quality-index-3c0875ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WbQFGyafsIQqvUA9FjKs3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability climatepulse-air-quality-index-3c0875ee
```

Example prompt: What's the current air quality index in Denver, Colorado, and is it safe to go for a long outdoor run or should I take precautions?

## When to prefer this

Choose this endpoint when you need current AQI data paired with actionable health guidance and protective measure recommendations — not just raw pollution numbers. Ideal for health-focused agents, outdoor activity planners, or scenarios involving sensitive populations (children, elderly, respiratory conditions). Prefer over a generic weather endpoint when air quality specifically drives the decision. For wildfire smoke specifically, a sibling smoke-tracker endpoint may be more appropriate.

## Known failure modes

- Location not found or ambiguous — returns error indicating unresolvable location
- Air quality data unavailable for the requested region — returns data gap error
- Invalid coordinates or malformed location parameter — returns 400-level validation error
- Service unavailable or upstream data source down — returns 5xx error
- Payment not processed — returns 402 Payment Required

## How this service works

Global climate and weather intelligence API. Open-Meteo real-time weather + AI synthesis. Severe weather assessment, air quality monitoring, wildfire smoke tracking, agricultural grow-day modeling, climate comparison, event weather planning, and hyper-local forecasts. Covers 195 countries with 1km resolution weather data. Serves individuals, agricultural operators, event planners, outdoor recreation agents, and climate-sensitive businesses. Emergency preparedness, air purifier, solar energy, and outdoor gear affiliates included. All endpoints support any language via ?lang=. Pricing: $0.05–$0.10 USDC/call via x402 micropayment.

## Output

Returns the current AQI value and category (e.g., Good, Moderate, Unhealthy) for the requested location, along with health guidance explaining risks for different population groups and specific protective measures or activity recommendations based on current air quality conditions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "lang": {
   "type": "string",
   "description": "Response language code (e.g. es, fr, de); defaults to English"
  },
  "location": {
   "type": "string",
   "description": "City, address, or lat,lon to check air quality for"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "location": "Los Angeles, CA",
  "aqi_trend": "stable",
  "affiliates": {
   "n95_masks": "https://www.amazon.com/s?k=n95+mask",
   "air_purifier": "https://www.amazon.com/s?k=hepa+air+purifier"
  },
  "disclaimer": "General environmental guidance, not personalized medical advice.",
  "current_aqi": 92,
  "smoke_notes": null,
  "aqi_category": "Moderate",
  "generated_at": "2026-07-03T12:00:00.000Z",
  "health_message": "Air quality is acceptable for most people; sensitive groups should reduce prolonged or heavy outdoor exertion this afternoon.",
  "data_source_note": "Synthesized from current regional air-quality reporting",
  "activity_guidance": {
   "general_public": "No restrictions",
   "children_outdoor": "Normal outdoor play is fine",
   "outdoor_exercise": "Fine for most; sensitive individuals should shorten prolonged, high-intensity outdoor exercise",
   "sensitive_groups": "Asthma/COPD/heart disease: reduce prolonged exertion, especially mid-afternoon when ozone peaks",
   "sports_activities": "Proceed as planned; move strenuous drills to morning if possible"
  },
  "primary_pollutant": "Ozone",
  "protective_measures": [
   "Exercise before noon to avoid peak ozone",
   "Sensitive groups keep rescue inhaler on hand"
  ],
  "pollen_and_allergens": {
   "tree_pollen_season": "Not in season this time of year in this region"
  },
  "indoor_recommendations": [
   "Windows can stay open; no purifier needed at this level"
  ],
  "wildfire_smoke_present": false,
  "best_time_to_exercise_today": "Before 11 AM, ahead of the afternoon ozone peak",
  "health_condition_specific_guidance": {
   "asthma": "Keep rescue inhaler accessible; no restriction needed below AQI 100"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/climatepulse-air-quality-index-3c0875ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from climatepulse-six.vercel.app](https://www.zero.xyz/host/climatepulse-six.vercel.app/llms.txt)
