{"uid":"cap_o6ksFgch4cxT1j412Ex01","slug":"air-quality-shanghai-60aa014a","name":"air-quality-shanghai","description":"Air quality in Shanghai right now: European and US AQI, PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide and carbon monoxide with a health label, from Open-Meteo Air Quality (CAMS). Outdoor-activity and health decisions for Shanghai. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/air-quality/shanghai?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ta1wBX5AgYwiWAGcH7v3V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current air quality data for Shanghai including European and US AQI, PM2.5, PM10, ozone, NO2, SO2, CO, and a health label","exampleAgentPrompt":"What's the air quality in Shanghai right now — give me the AQI, PM2.5, and whether it's safe to be outside?","exampleUseCases":[{"title":"Outdoor exercise safety check","prompt":"Is it safe to go for a run outside in Shanghai today? What's the current AQI and PM2.5 level, and what does the health label say?"},{"title":"Travel health advisory for Shanghai","prompt":"I'm flying into Shanghai tomorrow and have asthma — what are the current air pollution levels there, including PM2.5, ozone, and the health rating?"},{"title":"Real-time pollution dashboard update","prompt":"Pull the latest air quality readings for Shanghai, including both the European and US AQI, PM10, nitrogen dioxide, sulphur dioxide, and carbon monoxide levels."}],"resultDescription":"Returns current air quality metrics for Shanghai: European AQI, US AQI, PM2.5, PM10, ozone, nitrogen dioxide (NO2), sulphur dioxide (SO2), carbon monoxide (CO), and a human-readable health label indicating the risk level of outdoor exposure.","failureModes":["Upstream CAMS/Open-Meteo data unavailable — may return stale or empty data","Network timeout if the data source is slow to respond","Payment validation failure if x402 payment header is missing or incorrect","Invalid response if the endpoint is temporarily overloaded"],"whenToPreferThis":"Use this endpoint when you need real-time, multi-pollutant air quality data specifically for Shanghai, covering both European and US AQI standards alongside individual pollutant concentrations and a health advisory label. Prefer this over generic weather APIs that only report basic AQI, or over forecast-only endpoints when current conditions are what matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:36:31.329Z","isFirstParty":false,"canonicalSlug":"air-quality-shanghai-60aa014a"}