{"uid":"cap_CLT26AxVO1ywuz414ySh-","slug":"dopaminedesk-air-quality-api-34101a11","name":"DopamineDesk Air Quality API","description":"Fetch current US AQI, European AQI, particulate, carbon monoxide, nitrogen dioxide, and ozone values for a geocoded location.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/air_quality","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","required":["city"],"properties":{"city":{"type":"string","description":"City name or location coordinates."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","fetched_at","location","current","units","marketplace_metadata"],"properties":{"units":{"type":"string"},"source":{"type":"string"},"current":{"type":"string"},"success":{"type":"boolean"},"location":{"type":"string"},"fetched_at":{"type":"string"},"marketplace_metadata":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"units":"[object with keys: time, interval, us_aqi, european_aqi, pm2_5, pm10; full example in /openapi.json]","source":"Open-Meteo Air Quality API","current":"[object with keys: time, interval, us_aqi, european_aqi, pm2_5, pm10; full example in /openapi.json]","success":true,"location":"[object with keys: name, admin1, country, latitude, longitude; full example in /openapi.json]","fetched_at":"2026-08-07T07:32:46.555Z","marketplace_metadata":"[object with keys: data_mode, billable, availability, source; full example in /openapi.json]"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ien6dDx9kWBWIUKDEuWql","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time AQI, pollutant concentrations, category, and health recommendations for a given city or location","exampleAgentPrompt":"What's the current air quality in Beijing — give me the AQI, what the main pollutant is, and whether it's safe to be outside?","exampleUseCases":[{"title":"Pre-trip outdoor safety check","prompt":"I'm heading to Delhi next week and planning to go jogging every morning — can you check the current air quality there and tell me if it's safe for outdoor exercise?"},{"title":"Real-time pollution alert for a city","prompt":"What's the air quality index in Los Angeles right now, and what's the primary pollutant causing it?"},{"title":"Health advisory for vulnerable residents","prompt":"My mom has asthma and lives in Shanghai — can you look up today's air quality and tell me if there are any health warnings she should know about?"}],"resultDescription":"Returns a JSON object containing the location name, integer AQI score, air quality category (e.g. 'Unhealthy'), the primary pollutant, individual pollutant concentrations for PM2.5, PM10, and O3 with their units, and a plain-English health recommendation tailored to the air quality level.","failureModes":["Unknown or misspelled city name returns an error or empty result","Location coordinates outside supported regions may return no data","Temporary upstream data provider outage may cause stale or missing readings","Rate limiting or payment failure (x402) prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when an agent needs real-time AQI data with health context for a specific city, especially when the use case requires pollutant-level breakdowns (PM2.5, PM10, O3) and actionable health recommendations. It is pay-per-use via USDC x402, making it cost-effective for sporadic queries without subscription overhead. Prefer it over weather APIs that only provide a surface-level AQI indicator without pollutant detail or health advice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:53:18.154Z","isFirstParty":false}