{"uid":"cap_lUZTW1dv2_3jk0ZGV7dEa","slug":"synapse-air-quality-api-546c2bd4","name":"Synapse Air Quality API","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/air-quality?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"current":{"pm10":11.4,"pm2_5":7.3,"us_aqi":53},"latitude":52.5,"longitude":13.4}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dQDlOaKMtCr760XGLv-2P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 metrics (PM2.5, PM10, US AQI) for a geographic location, paid per call via x402/USDC with no API key required.","exampleAgentPrompt":"What's the current air quality at latitude 52.5, longitude 13.4 in Berlin — give me the PM2.5, PM10, and US AQI readings?","exampleUseCases":[{"title":"Outdoor exercise safety check","prompt":"Is the air quality good enough to go for a run in Berlin right now? Give me the PM2.5, PM10, and US AQI for latitude 52.5, longitude 13.4."},{"title":"Travel destination air quality check","prompt":"I'm planning to visit Paris next week — can you check the current air quality there? The coordinates are latitude 48.85, longitude 2.35. I want to know the AQI and particulate levels."},{"title":"Environmental health dashboard feed","prompt":"Pull the current air quality readings for our monitoring station at latitude 40.71, longitude -74.01 in New York — I need PM2.5, PM10, and the US AQI score."}],"resultDescription":"Returns a JSON object with current air quality data including PM10 (μg/m³), PM2.5 (μg/m³), and US AQI index value, along with the latitude and longitude of the queried location.","failureModes":["Missing or invalid coordinates result in an error response","Location outside supported geographic coverage may return null or error","Payment failure (insufficient USDC balance) blocks the request with HTTP 402","Network timeout if the upstream weather/air-quality provider is slow","No query parameters provided returns a schema or default-location response"],"whenToPreferThis":"Choose this endpoint when you need real-time air quality data (PM2.5, PM10, US AQI) for any global coordinate without setting up an API account or managing API keys — ideal for agents making one-off or infrequent calls paid in USDC via x402 on Base. Prefer alternatives if you need historical air quality time series, forecasted AQI, or if you require pollutants beyond PM2.5/PM10 such as ozone or NO2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:01.528Z","isFirstParty":false,"canonicalSlug":"synapse-air-quality-api-546c2bd4"}