{"uid":"cap_0_kTFwXQowXb9EdKMLX5j","slug":"truthbear-air-quality-gauge-76561661","name":"TruthBear Air Quality Gauge","description":"Add-on, air quality for one location: US AQI category and PM2.5 reading from EPA and CAMS official feeds. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. Every record carries an offline-recomputable record_hash. $0.0050 per call.","url":"https://api.truthbear.co/gauge/air","method":"GET","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["loc"],"properties":{"loc":{"type":"string","examples":["us-stlouis","us-memphis","us-losangeles","us-fresno","us-phoenix","us-denver"],"description":"required - location id; full list at free /gauge/preview","x-accepted-values":{"all":"https://api.truthbear.co/schemas/gauge-air.input.json","shown":6,"total":12}}},"additionalProperties":false}}},"output":{"type":"object","required":["type"],"properties":{"type":{"const":"json"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t2qw6FiT7jw1HZ85DIZlg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current US AQI category and PM2.5 reading for a specified US location, sourced from EPA and CAMS official feeds.","exampleAgentPrompt":"What's the current air quality in Los Angeles right now — give me the AQI category and the PM2.5 reading from official EPA sources?","exampleUseCases":[{"title":"Outdoor event air quality check","prompt":"Can you check the current air quality index and PM2.5 level in Denver before my outdoor event this afternoon?"},{"title":"Asthma patient city monitoring","prompt":"What's the EPA AQI category and PM2.5 reading for Fresno right now? I need to know if it's safe to go outside."},{"title":"Agent environmental data enrichment","prompt":"Pull the official air quality data for Phoenix — I need the AQI category and PM2.5 number from EPA and CAMS feeds."}],"resultDescription":"Returns a JSON object containing the US AQI category (e.g. Good, Moderate, Unhealthy) and the current PM2.5 particulate reading for the requested location, sourced from EPA and CAMS official feeds. Each record includes an offline-recomputable record_hash for data integrity verification. Returns a 422 no_charge error (not billed) if no data is available for the location.","failureModes":["422 no_charge: No air quality data available for the requested location — not billed","Invalid loc parameter: location ID not recognized or not in the supported list — check /gauge/preview for valid IDs","Network or upstream feed unavailability from EPA or CAMS sources"],"whenToPreferThis":"Use this endpoint when you need current, official US AQI category and PM2.5 readings for a specific US city, backed by EPA and CAMS feeds with cryptographic record integrity. Prefer this over generic weather APIs when you need authoritative air quality data with a verifiable hash. Best suited for point-in-time lookups; not suitable for forecasting, health advice, or non-US locations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:25.912Z","isFirstParty":false}