# Saylor Innovations Air Quality API

> Saylor Innovations Air Quality API is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns US and European AQI, per-pollutant breakdowns (PM2.5, PM10, NO2, SO2, CO, ozone), UV index, pollen counts, and 24-hour peak forecast for any lat/lon coordinate

## Facts

- Endpoint: GET https://saylorinnovations.com/api/air/quality?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-air-quality-api-871afa39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sy085iqr-NN2RadVrG0Ec

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 saylor-innovations-air-quality-api-871afa39
```

Example prompt: What's the air quality right now at latitude 40.71, longitude -74.01 — give me the US AQI, the dominant pollutant, and whether pollen or UV levels are a concern today?

## When to prefer this

Choose this endpoint when you need comprehensive air quality data — including both US and European AQI standards, individual pollutant concentrations, UV index, pollen counts, and a 24-hour forecast — all from a single call for any lat/lon on Earth. Prefer it over weather APIs that only include AQI as a side field, or over government APIs that are region-locked (US-only or EU-only). Especially useful when you need cross-standard AQI comparison or when building health advisories that require multiple environmental signals simultaneously.

## Known failure modes

- Missing lat or lon parameters returns an error — both are required
- Invalid or out-of-range coordinate values may return null fields or an error
- No observational data available for remote or ocean coordinates — fields may return null
- Third-party data source unavailability may result in null values for some pollutants
- Rate limiting or payment failure returns a 402 or 4xx HTTP error

## How this service works

Air quality index by location - US and European AQI, dominant pollutant, per-pollutant AQI, PM2.5, PM10, ozone, NO2, SO2, CO, UV, pollen and the next 24 hours peak for any latitude and longitude

## Output

A JSON object with US AQI value and category, European AQI, the dominant pollutant, individual pollutant concentrations in µg/m³ (PM2.5, PM10, NO2, SO2, CO, ozone), UV index, pollen grain count, a health note, a pollen note, the observation timestamp, the check timestamp, the data source, and a next-24-hour peak forecast summary for the given coordinates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees, e.g. 40.71"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees, e.g. -74.01"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "us_aqi",
      "pollutants_ugm3"
     ],
     "properties": {
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source the values come from"
      },
      "us_aqi": {
       "type": [
        "number",
        "null"
       ],
       "description": "Us aqi"
      },
      "location": {
       "description": "Place the data refers to"
      },
      "next_24h": {
       "description": "Forecast summary for the next 24 hours"
      },
      "uv_index": {
       "type": [
        "number",
        "null"
       ],
       "description": "Uv index"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "health_note": {
       "type": [
        "string",
        "null"
       ],
       "description": "Health note"
      },
      "observed_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time of the observation (UTC)"
      },
      "pollen_note": {
       "type": [
        "string",
        "null"
       ],
       "description": "Pollen note"
      },
      "european_aqi": {
       "type": [
        "number",
        "null"
       ],
       "description": "European aqi"
      },
      "pollutants_ugm3": {
       "type": "object",
       "description": "Pollutants ugm3"
      },
      "us_aqi_category": {
       "type": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-air-quality-api-871afa39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
