{
  "x402Version": 2,
  "id": 27393,
  "slug": "27393",
  "resource": "https://x402-seller.onrender.com/air/quality",
  "description": "Current U.S. EPA Air Quality Index (AQI) and pollution levels for a specific location, given latitude/longitude — use to check smog, air pollution, or whether it's safe to be outside. Sourced from the EPA AirNow program (federal/state/local/tribal agencies); covers the US, Canada, and Mexico only. Data is preliminary and unvalidated per EPA data use guidelines — not for regulatory use.",
  "type": "http",
  "serviceName": "Data Lookup API",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "attribution": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "hour": {
            "type": "number"
          },
          "preliminary": {
            "type": "boolean"
          },
          "readings": {
            "type": "array"
          },
          "reportingArea": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "stateCode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "lat": "37.7749",
            "lng": "-122.4194"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": "Data owned by federal, state, local, and tribal air quality agencies, distributed via the U.S. EPA AirNow program.",
            "date": "2026-07-16",
            "hour": 14,
            "preliminary": true,
            "readings": [
              {
                "aqi": 42,
                "category": "Good",
                "pollutant": "PM2.5"
              },
              {
                "aqi": 38,
                "category": "Good",
                "pollutant": "O3"
              }
            ],
            "reportingArea": "San Francisco",
            "source": "U.S. EPA AirNow",
            "stateCode": "CA"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "lat": {
                    "description": "Latitude",
                    "type": "string"
                  },
                  "lng": {
                    "description": "Longitude",
                    "type": "string"
                  }
                },
                "required": [
                  "lat",
                  "lng"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "attribution": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "hour": {
                    "type": "number"
                  },
                  "preliminary": {
                    "type": "boolean"
                  },
                  "readings": {
                    "type": "array"
                  },
                  "reportingArea": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "stateCode": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "environment",
    "weather",
    "bazaar"
  ],
  "sourceHost": "x402-seller.onrender.com",
  "lastUpdated": "2026-09-25T09:39:08.654Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-25T09:39:08.515Z"
  },
  "metadata": {
    "serviceName": "Data Lookup API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "lat": "37.7749",
              "lng": "-122.4194"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "attribution": "Data owned by federal, state, local, and tribal air quality agencies, distributed via the U.S. EPA AirNow program.",
              "date": "2026-07-16",
              "hour": 14,
              "preliminary": true,
              "readings": [
                {
                  "aqi": 42,
                  "category": "Good",
                  "pollutant": "PM2.5"
                },
                {
                  "aqi": 38,
                  "category": "Good",
                  "pollutant": "O3"
                }
              ],
              "reportingArea": "San Francisco",
              "source": "U.S. EPA AirNow",
              "stateCode": "CA"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "lat": {
                      "description": "Latitude",
                      "type": "string"
                    },
                    "lng": {
                      "description": "Longitude",
                      "type": "string"
                    }
                  },
                  "required": [
                    "lat",
                    "lng"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "attribution": {
                      "type": "string"
                    },
                    "date": {
                      "type": "string"
                    },
                    "hour": {
                      "type": "number"
                    },
                    "preliminary": {
                      "type": "boolean"
                    },
                    "readings": {
                      "type": "array"
                    },
                    "reportingArea": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "stateCode": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-seller.onrender.com",
    "manifest_name": "x402-seller.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "attribution": "Data owned by federal, state, local, and tribal air quality agencies, distributed via the U.S. EPA AirNow program.",
    "date": "2026-07-16",
    "hour": 14,
    "preliminary": true,
    "readings": [
      {
        "aqi": 42,
        "category": "Good",
        "pollutant": "PM2.5"
      },
      {
        "aqi": 38,
        "category": "Good",
        "pollutant": "O3"
      }
    ],
    "reportingArea": "San Francisco",
    "source": "U.S. EPA AirNow",
    "stateCode": "CA"
  }
}