[3-LEG] Local three-leg environment chain, one location (?loc=): leading air quality (AQI)
[3-LEG] Local three-leg environment chain, one location (?loc=): leading air quality (AQI) -> current precipitation, rain and 30-day dry-wet -> realized nearest river stage and streamflow (confirmation gate). A chain, not one reading: confidence = how many legs are lit, in order. Sources: EPA/CAMS, ERA5, USGS. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. $0.25 per call.
250000 (raw units)
price
26
calls / 30d
2
unique payers
2026-09-07
updated
Provider
api.truthbear.co · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2d16a243ba9facc6ac85519d5efad2149dc4c6c3",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "250000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8qEn3Y3GPXdQ28LHshPa4UYeD8V38Lq9b4jCRirQAY3n",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "250000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"input": {
"example": {
"format": "thin",
"loc": "us-stlouis"
},
"exampleRequest": "/gauge/region?loc=us-stlouis&format=thin",
"method": "GET",
"queryParams": {
"loc": "required - location id; full list at free /gauge/preview"
},
"type": "http"
},
"output": {
"example": {
"grade": "screening-level, not decision-grade",
"legs": {
"air": {
"airquality.aqi": {
"band": "below_moderate",
"record_hash": "sha256:614778264bba65021acbc1bf522d5f2b4f22599190614bed03c2139a96bd7a31",
"source_ref": "https://open-meteo.com/en/docs/air-quality-api(Copernicus CAMS)"
},
"airquality.pm25": {
"band": "below_moderate",
"record_hash": "sha256:2df3210c2a75ac7b1e5652c45649b7d1d3014400338096edd32d3f0afe1e330d",
"source_ref": "https://open-meteo.com/en/docs/air-quality-api(Copernicus CAMS)"
}
},
"precipitation": {
"precipitation.daily": {
"band": "below_moderate",
"record_hash": "sha256:011f2bf5882fc9bdef3eb11a4ad2fadb13e99edc45e1628efed88d899715cb53",
"source_ref": "https://open-meteo.com/en/docs(ECMWF / archive ERA5)"
},
"precipitation.wetness30d": {
"band": "unrated",
"record_hash": "sha256:cecdb2c3f4fe8e3c7bbf73b735b99d0396fb19564cbe6c80cb09dde3ef3fa1f8",
"source_ref": "https://open-meteo.com/en/docs(ECMWF / archive ERA5)"
}
},
"river": {
"band": "below_action",
"record_hash": "sha256:a3986d8689a1d9f6e8b4b92c2318d5af64291cdedbdbd3d706e0049e16fcb42e",
"source_ref": "https://waterdata.usgs.gov/monitoring-location/07010000/"
}
},
"location": "us-stlouis",
"name": "St. Louis, MO",
"nature": "This API supplies data organisation and trend description only. It is not a recommendation to act; the decision is yours. Purely descriptive - no judgement, no prediction. Official source plus record_hash; verify with the free /gauge/verify.",
"provenance": {
"age_hours_now": 15,
"freshness": "fresh",
"freshness_basis": "cadence=default; fresh<=24h; recent<=192h; dead_source>1440h; age_basis=request-time(now minus observed_at)"
},
"scope": {
"full": "https://api.truthbear.co/scope/v1",
"intelligence_not_command": true,
"monitoring_not_forecast": true,
"verifiability": "unknown"
}
},
"type": "json"
}
},
"outputSchemaRef": "/manifest",
"priceUsd": "$0.25",
"priceUsdNumber": 0.25,
"routeTemplate": "/gauge/region",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"loc": {
"description": "required - location id; full list at free /gauge/preview",
"examples": [
"us-stlouis",
"us-memphis",
"us-losangeles",
"us-fresno",
"us-phoenix",
"us-denver"
],
"type": "string",
"x-accepted-values": {
"all": "https://api.truthbear.co/schemas/gauge-region.input.json",
"shown": 6,
"total": 12
}
}
},
"required": [
"loc"
],
"type": "object"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"const": "json"
}
},
"required": [
"type"
],
"type": "object"
}
}
}
}
}Use it
curl
curl "https://api.truthbear.co/gauge/region" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.truthbear.co/gauge/region");
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://api.truthbear.co/gauge/region")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4401.json, and this resource appears in /discovery/resources and /discovery/search.