# AIMarket Air Quality Now

> AIMarket Air Quality Now is a paid API for AI agents from modelmarket.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Returns current PM2.5, PM10, US AQI, and European AQI for a given location (by coordinates or city name), sourced from Copernicus CAMS via Open-Meteo, with a signed receipt.

## Facts

- Endpoint: POST https://modelmarket.dev/x402/air-quality-now?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aimarket-air-quality-now-5836c169
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I8y5hoySUE8QS_ogM5aog

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 aimarket-air-quality-now-5836c169 -d '<json body>'
```

Example prompt: What's the current air quality in Seoul right now — give me the PM2.5, PM10, and both the US and European AQI scores.

## When to prefer this

Choose this endpoint when you need real-time, point-in-time air quality data (PM2.5, PM10, US AQI, European AQI) for a specific location and want a cryptographically signed receipt as provenance proof. It is ideal for health-safety checks, regulatory compliance records, or any workflow where verifiable environmental data is required. Prefer it over generic weather APIs when particulate matter and AQI — not just temperature or wind — are the primary concern.

## Known failure modes

- Invalid or out-of-range latitude/longitude values return a validation error
- Unrecognized city names may return a geocoding failure or no-data response
- Copernicus CAMS data temporarily unavailable for a region results in a service error
- Payment not processed (x402 protocol failure) returns a 402 Payment Required response
- Request missing both city and coordinates returns an input validation error

## How this service works

Current air quality at a place: PM2.5 and PM10 (µg/m³), US and European AQI, from Copernicus CAMS via Open-Meteo, with a signed receipt. Send latitude and longitude, or a city.

## Output

Returns current particulate matter concentrations (PM2.5 and PM10 in µg/m³), the US AQI index value, and the European AQI index value for the requested location, along with a cryptographically signed receipt confirming the data provenance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "city": {
   "type": "string",
   "description": "a city instead of coordinates, e.g. Tokyo"
  },
  "latitude": {
   "type": "number",
   "description": "latitude in degrees (-90..90)"
  },
  "longitude": {
   "type": "number",
   "description": "longitude in degrees (-180..180)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "status": "ok",
  "receipt": {},
  "service": "air-quality-now",
  "capability_id": "gaia.air.read@v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aimarket-air-quality-now-5836c169/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modelmarket.dev](https://www.zero.xyz/host/modelmarket.dev/llms.txt)
