{"uid":"cap_FDgqutZJYTM0DR2DXXBUE","slug":"count-audio-elements-on-page-b9b5d083","name":"Count Audio Elements on Page","description":"How many <audio> elements does the page have? Fetches the URL and counts audio tags (plus, where relevant, how many have alt/src/href/type attributes), and the page's total element count for scale. Structural audits and template comparisons in one number. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/count/audio?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_zTYsJjP0HE8vi5x4w5w2W","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":"Fetches a web page and counts the number of <audio> HTML elements, including attribute presence stats and total element count for context.","exampleAgentPrompt":"How many audio elements are on the page at https://example.com/podcast? I want to know the total count and how many have src or type attributes set.","exampleUseCases":[{"title":"Accessibility audit for audio tags","prompt":"Can you check how many audio elements are on https://mysite.com/episodes and tell me how many of them have proper attributes like src and type? I'm doing an accessibility review."},{"title":"Template comparison for CMS pages","prompt":"I'm comparing two page templates — can you count the audio elements on https://store.example.com/product/123 so I can see how many audio tags that template generates and how they compare to our baseline?"},{"title":"Detecting embedded audio on competitor page","prompt":"How many audio elements does https://competitor.com/features have? I want to know if they're embedding audio players and how many are on the page."}],"resultDescription":"Returns the count of <audio> HTML elements found on the fetched page, alongside counts of how many have alt, src, href, and type attributes, plus the total number of HTML elements on the page for proportional context.","failureModes":["URL is unreachable or returns a non-200 status — count may be zero or an error is returned","Page uses dynamically injected audio elements via JavaScript — those may not be counted since fetching is likely static","Page blocks crawlers with bot-detection — fetch may fail or return a non-representative page","Invalid or malformed URL input — request fails with validation error","Very large pages may increase latency or cause timeouts"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap structural count of audio elements on a specific web page, especially for accessibility audits, CMS template comparisons, or detecting whether a page embeds audio content. It is ideal for single-page spot checks rather than bulk crawls, and when you need attribute-level detail (src, type, href) alongside the raw count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:36:07.601Z","isFirstParty":false,"canonicalSlug":"count-audio-elements-on-page-b9b5d083"}