# AirScout Air Quality Query

> AirScout Air Quality Query is a paid API for AI agents from airscout.scalpstream.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current AQI, EPA activity verdict, and the cleanest upcoming air-quality window for a given place

## Facts

- Endpoint: GET https://airscout.scalpstream.com/air
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/airscout-air-quality-query-9efca873
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hI25V1eX6Uc5EeEyZqq8X

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 airscout-air-quality-query-9efca873
```

Example prompt: What's the current air quality in San Francisco — is it safe to go for a run outside, and when is the cleanest window today?

## When to prefer this

Choose this endpoint when you need a quick, structured air quality lookup for a named place that includes not just the raw AQI but also EPA activity guidance and an optimized outdoor window recommendation — ideal for agents helping users plan outdoor activities, exercise, or travel with health-conscious decisions.

## Known failure modes

- Unrecognized or ambiguous place name may return no results or incorrect location
- External AQI data source outage may cause stale or missing readings
- Rate limiting or payment failure may block the request
- Very small or rural localities may lack monitoring station data

## How this service works

AirScout air-quality query (current AQI, EPA activity verdict, and the cleanest window ahead)

## Output

Returns a JSON object with the place name, current AQI integer, air quality category label (e.g. 'Good', 'Unhealthy'), dominant pollutant, an EPA-based activity verdict (e.g. safe or cautionary guidance), the best upcoming time window for outdoor activity with its start/end times and AQI, the service name, price in USD, and a disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "place": {
   "type": "string"
  },
  "source": {
   "type": "string"
  },
  "current": {
   "type": "object",
   "properties": {
    "aqi": {
     "type": "integer"
    },
    "category": {
     "type": "string"
    },
    "dominant": {
     "type": "string"
    }
   }
  },
  "service": {
   "type": "string"
  },
  "verdict": {
   "type": "string"
  },
  "price_usd": {
   "type": "string"
  },
  "disclaimer": {
   "type": "string"
  },
  "best_window": {
   "type": "object",
   "properties": {
    "aqi": {
     "type": "integer"
    },
    "end": {
     "type": "string"
    },
    "start": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/airscout-air-quality-query-9efca873/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from airscout.scalpstream.com](https://www.zero.xyz/host/airscout.scalpstream.com/llms.txt)
