{"uid":"cap_YhUmSQO9coWsiApivtQrt","slug":"beggar-bot-air-quality-lookup-cc36d8c8","name":"Beggar Bot Air Quality Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/airquality?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":{"lat":{"type":"string","description":"latitude"},"lon":{"type":"string","description":"longitude"},"place":{"type":"string","description":"city name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"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_sOsLaq5HyakcW6-ZA1tXH","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 air quality data for a given location by latitude/longitude or city name, priced at $0.02 USDC per call via x402 on Base mainnet.","exampleAgentPrompt":"What's the current air quality in London? I want to know if it's safe to go for a run outside today.","exampleUseCases":[{"title":"Pre-outdoor activity air check","prompt":"Can you check the air quality in Los Angeles right now? I'm planning to go cycling and want to know if the AQI is safe."},{"title":"City air quality comparison","prompt":"What's the air quality index in Tokyo at latitude 35.6762, longitude 139.6503? I want to compare it to other cities."},{"title":"Travel destination health check","prompt":"Look up the current air quality for Beijing — I'm traveling there next week and want to know how polluted it typically is."}],"resultDescription":"Returns a JSON response containing real-time air quality data for the requested location, including air quality index (AQI) and pollution metrics. The response is specific to the queried coordinates or city name.","failureModes":["Missing required location parameter (no lat/lon or place provided) — returns 400 or error JSON","Insufficient USDC payment or missing x402 payment header — returns 402 Payment Required","Invalid or unrecognized city name — may return empty or error response","Network timeout from upstream air quality data source","Coordinates outside supported coverage area — may return null or error data"],"whenToPreferThis":"Use this endpoint when you need a pay-per-call air quality lookup without subscription commitment, billed in USDC via x402 on Base mainnet. It supports both coordinate-based and city-name queries, making it flexible for location-aware agents. Prefer this over subscription-based AQI services when usage is infrequent or cost-per-call model is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:16.435Z","isFirstParty":false,"canonicalSlug":"beggar-bot-air-quality-lookup-cc36d8c8"}