API · x402

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

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

by airscout.scalpstream.com · discovered, not yet claimed by its owner · updated 2026-09-01

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/15483.json for the price and payment options.
  3. Pay. Call GET https://airscout.scalpstream.com/air. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Arbitrum One, Polygon, xrpl:0, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Arbitrum One, Polygon, xrpl:0
Calls (30d)
1 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010xD0f5d2E48e67A265174593aCe2cd540337C1564a60s
exactArbitrum One
eip155:42161
USDC$0.010xD0f5d2E48e67A265174593aCe2cd540337C1564a60s
exactPolygon
eip155:137
USDC100000xD0f5d2E48e67A265174593aCe2cd540337C1564a60s
exactxrpl:0
xrpl:0
XRP7430rwV5T9Gnr5EBH9rJ2G4NABc4bun2XEkHaD60s
exactxrpl:0
xrpl:0
RLUSD0.01rwV5T9Gnr5EBH9rJ2G4NABc4bun2XEkHaD60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xD0f5d2E48e67A265174593aCe2cd540337C1564a",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0xD0f5d2E48e67A265174593aCe2cd540337C1564a",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0xD0f5d2E48e67A265174593aCe2cd540337C1564a",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cc03d5c3359",
    "amount": "10000",
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "payTo": "rwV5T9Gnr5EBH9rJ2G4NABc4bun2XEkHaD",
    "asset": "XRP",
    "amount": "7430",
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "payTo": "rwV5T9Gnr5EBH9rJ2G4NABc4bun2XEkHaD",
    "asset": "RLUSD",
    "amount": "0.01",
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "description": "Air-quality query for any coordinates worldwide: current US AQI and dominant pollutant, an EPA-based verdict on outdoor exertion, and the cleanest contiguous window in the forecast ahead.",
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {
          "duration": "2",
          "hours": "24",
          "lat": "47.6588",
          "lon": "-117.4260"
        },
        "type": "http"
      },
      "output": {
        "example": {
          "best_window": {
            "aqi": 28,
            "end": "2026-08-06T21:00Z",
            "start": "2026-08-06T19:00Z"
          },
          "current": {
            "aqi": 42,
            "category": "Good",
            "dominant": "pm2_5"
          },
          "disclaimer": "Air quality is modelled (Copernicus CAMS via Open-Meteo), not a reading from a sensor at your exact location; local conditions near fires, traffic or industry can differ sharply. Activity guidance follows US EPA AirNow categories and is general public-health information, not medical advice — if you have a heart or lung condition, follow your clinician's advice.",
          "place": "Spokane",
          "price_usd": "0.01",
          "service": "AirScout",
          "source": "Open-Meteo Air Quality API (CC-BY-4.0), based on Copernicus Atmosphere Monitoring Service (CAMS) models",
          "verdict": "Good — no restrictions on outdoor exertion."
        },
        "format": "application/json",
        "type": "json"
      }
    },
    "schema": {
      "properties": {
        "best_window": {
          "properties": {
            "aqi": {
              "type": "integer"
            },
            "end": {
              "type": "string"
            },
            "start": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "current": {
          "properties": {
            "aqi": {
              "type": "integer"
            },
            "category": {
              "type": "string"
            },
            "dominant": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "disclaimer": {
          "type": "string"
        },
        "place": {
          "type": "string"
        },
        "price_usd": {
          "type": "string"
        },
        "service": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "verdict": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://airscout.scalpstream.com/air"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://airscout.scalpstream.com/air");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://airscout.scalpstream.com/air")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
airscout.scalpstream.com
Endpoint
https://airscout.scalpstream.com/air
Machine-readable
/resources/15483.json