# UK Property Data API – Air Quality by Location

> UK Property Data API – Air Quality by Location is a paid API for AI agents from property.payapi.market, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Returns real-time air quality data (NO2, PM10, PM2.5, ozone, AQI category) for a given UK city or place name.

## Facts

- Endpoint: POST https://property.payapi.market/air-quality?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-property-data-api-air-quality-by-location-8bb7a32b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hKbJPOZv464KqcrOk-717

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 uk-property-data-api-air-quality-by-location-8bb7a32b -d '<json body>'
```

Example prompt: What's the current air quality in Birmingham — can you pull the AQI, NO2, and PM2.5 levels for me?

## When to prefer this

Choose this endpoint when you need structured air quality metrics for UK locations as part of a property research, environmental assessment, or public health workflow — especially when already using other endpoints on property.payapi.market (e.g. flood risk, EPC ratings, crime stats) to build a comprehensive neighbourhood profile. Payment is micro-billed per call via x402, making it cost-effective for single lookups within agent pipelines.

## Known failure modes

- Unrecognised or ambiguous location name returns an error or empty result
- Non-UK locations may return no data if coverage is limited to UK
- Payment failure via x402 protocol if USDC balance is insufficient
- Network timeout if upstream air quality data source is unavailable
- Misspelled city names may fail to resolve

## How this service works

Production API for UK sold prices, rental yields, and stamp duty. Paid via x402 protocol. Designed for AI agent consumption.

## Output

Returns a JSON object with the resolved location (name, country, latitude, longitude) and air quality metrics including NO2, PM10, PM2.5, ozone readings in µg/m³, the European AQI integer score, and a human-readable category label such as 'Good', 'Moderate', or 'Poor'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "location": {
   "type": "string",
   "description": "City or place name."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "location": {
   "name": "Birmingham",
   "country": "United Kingdom",
   "latitude": 52.4862,
   "longitude": -1.8904
  },
  "air_quality": {
   "no2": 11.7,
   "pm10": 13.1,
   "ozone": 64.2,
   "pm2_5": 8.4,
   "category": "Good",
   "european_aqi": 31
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-property-data-api-air-quality-by-location-8bb7a32b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from property.payapi.market](https://www.zero.xyz/host/property.payapi.market/llms.txt)
