{"uid":"cap_MOzoK4KoGul52JAQXDeWN","slug":"extract-youtube-ids-from-page-982a14ea","name":"extract-youtube-ids-from-page","description":"Extract youtube ids from a web page: fetches the URL and returns every youtube ids found in the page text and markup (deduplicated, with counts and up to 300 items), so an agent gets the values without parsing HTML. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/extract/youtube-ids?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_Loda759hkjsflchAx4VJY","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 URL and returns all YouTube video IDs found in the page text and markup, deduplicated with counts (up to 300 items).","exampleAgentPrompt":"Can you pull all the YouTube video IDs from this page for me — https://example.com/videos — and tell me how many times each one appears?","exampleUseCases":[{"title":"Audit a blog for embedded videos","prompt":"Fetch this blog post at https://myblog.com/top-tutorials and give me every YouTube video ID that appears in the page, with how many times each shows up."},{"title":"Inventory YouTube content on a brand page","prompt":"Go to https://brandsite.com/media and extract all the YouTube IDs you find — I want to know which videos they're featuring and if any are repeated."},{"title":"Research competitor video strategy","prompt":"Can you scrape https://competitor.com/resources and list out all the YouTube IDs embedded or linked there? I want to see which videos they're promoting."}],"resultDescription":"A deduplicated list of up to 300 YouTube video IDs found in the page text and HTML markup, each accompanied by an occurrence count indicating how many times it appeared on the page.","failureModes":["Page URL is unreachable or returns a non-200 HTTP status — no IDs returned","Page has no YouTube IDs in text or markup — returns empty list","Page is behind authentication or a JavaScript-only render wall — IDs in dynamic content may be missed","Rate limiting or timeout on the target URL — fetch may fail","More than 300 unique YouTube IDs on a page — only first 300 returned"],"whenToPreferThis":"Choose this endpoint when you need to quickly discover all YouTube video IDs embedded or linked on a specific web page without writing your own HTML parser. It is ideal for auditing content, researching video usage, or feeding downstream YouTube API lookups. Prefer it over generic scraping tools when the specific extraction target is YouTube IDs and you want deduplication and counts out of the box.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T22:32:13.250Z","isFirstParty":false,"canonicalSlug":"extract-youtube-ids-from-page-982a14ea"}