# AQI by Coordinates (x402.forgemesh.io)

> AQI by Coordinates (x402.forgemesh.io) is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns air quality index and pollutant breakdown (PM2.5, PM10, ozone, NO2) for any latitude/longitude on Earth, refreshed every 15 minutes.

## Facts

- Endpoint: POST https://x402.forgemesh.io/aqi-by-coordinates
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aqi-by-coordinates-x402-forgemesh-io-5e79b85b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D-I0ySbkJhWEMlG4xuVlH

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 aqi-by-coordinates-x402-forgemesh-io-5e79b85b -d '<json body>'
```

Example prompt: What's the current air quality index and pollutant breakdown at latitude 29.76, longitude -95.36? I want to know if it's safe for sensitive groups to be outside.

## When to prefer this

Choose this endpoint when you need a global, coordinate-based AQI lookup with granular pollutant breakdown (PM2.5, PM10, ozone, NO2) refreshed at 15-minute intervals — especially for health advisories, travel checks, or automated alerts for sensitive groups. Prefer this over weather APIs that only include a basic AQI score without pollutant-level detail.

## Known failure modes

- Missing or invalid latitude/longitude returns a 400 error
- Coordinates over land far from monitoring stations may return sparse or estimated data
- Payment failure (insufficient USDC balance) returns a 402 error
- Coordinates in extreme polar regions may have limited data coverage
- Service outage returns a 5xx error

## How this service works

Air quality index and pollutant breakdown (PM2.5, PM10, ozone, NO2) for any point on the globe by latitude/longitude. Use it to power health advisories, travel-planning checks, or automated alerts when conditions turn unhealthy for sensitive groups. Data refreshes on a 15-minute cycle and carries a CC BY 4.0 attribution.

## Output

Returns the current AQI score along with individual pollutant concentrations (PM2.5, PM10, ozone, NO2) for the specified coordinates, with data refreshed on a 15-minute cycle and licensed CC BY 4.0.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latitude": {
   "type": "string",
   "description": "Latitude, e.g. 29.76"
  },
  "longitude": {
   "type": "string",
   "description": "Longitude, e.g. -95.36"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "current": {
    "pm2_5": 12.1,
    "us_aqi": 58
   }
  },
  "attribution": "Open-Meteo.com (CC BY 4.0)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aqi-by-coordinates-x402-forgemesh-io-5e79b85b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
