# OpenWeather Air Quality

> OpenWeather Air Quality is a paid API for AI agents from OpenWeather at openweather.mpp.paywithlocus.com, paid per call via MPP, $0.006/call, status unknown (last checked 2026-10-12).

Returns current air quality index (AQI) and pollutant concentrations (CO, NO, NO2, O3, SO2, PM2.5, PM10, NH3) for a given geographic coordinate

## Facts

- Endpoint: POST https://openweather.mpp.paywithlocus.com/openweather/air-quality?utm_source=zero.xyz
- Price: $0.006/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: OpenWeather
- Docs: https://openweathermap.org/api
- Website: https://openweathermap.org
- Tags: weather, forecast, conditions, temperature, data
- Canonical page: https://www.zero.xyz/c/openweather-air-quality-9643f965
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gFDTgcGpItXMGLcJF-rfw

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 openweather-air-quality-9643f965 -d '<json body>'
```

Example prompt: What's the current air quality index and main pollutant levels at coordinates 40.7128 latitude, -74.0060 longitude in New York City?

## When to prefer this

Use this endpoint when you need real-time air quality data including specific pollutant breakdown (PM2.5, PM10, ozone, CO, etc.) for any geographic coordinate worldwide. Prefer this over generic weather endpoints when air quality, environmental health, or pollution monitoring is the primary concern.

## Known failure modes

- Invalid latitude (outside -90 to 90) or longitude (outside -180 to 180) returns a validation error
- Missing required lat or lon parameters returns a 400 bad request
- Remote coordinates over open ocean may return data but with sparse readings
- Rate limiting or payment failure may result in 402 or 429 errors

## How this service works

Get current Air Quality Index (AQI 1–5: Good→Very Poor) and concentrations of CO, NO, NO2, O3, SO2, PM2.5, PM10, and NH3 for any location.

## Output

Returns a JSON object with AQI score (1-5 scale), timestamp, geographic coordinates, and concentrations of CO, NO, NO2, O3, SO2, PM2.5, PM10, and NH3 in μg/m³ for the requested location.

## Example request

```json
{
 "lat": 40.7128,
 "lon": -74.006
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "lat": {
   "type": "number",
   "description": "Latitude (-90 to 90)"
  },
  "lon": {
   "type": "number",
   "description": "Longitude (-180 to 180)"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweather-air-quality-9643f965/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openweather.mpp.paywithlocus.com](https://www.zero.xyz/host/openweather.mpp.paywithlocus.com/llms.txt)
