{"uid":"cap_pDJq3NeZikS24XNQE-jjK","slug":"youtube-scraper-api-x402-pay-per-call-766632ef","name":"YouTube Scraper API (x402 Pay-per-call)","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://x402.186-241-26-229.sslip.io/v1/youtube?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":100,"minimum":0,"description":"Hard cap across all sources. Zero has no total cap."},"startUrls":{"type":"array","default":[],"description":"Public video, channel, playlist, Shorts, or search result URLs. Both URLs and search terms are processed."},"maxResults":{"type":"integer","default":50,"minimum":0,"description":"Maximum videos per search term, channel, playlist, or search URL. Zero collects available results up to the page safety limit."},"searchQueries":{"type":"array","description":"Search YouTube for each term and collect video results."},"includeVideoDetails":{"type":"boolean","default":false,"description":"Visit each video page for its full description, exact publication date, current views, likes when available, comments count, and subscriber count. Slower than listing-only mode."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"id":null,"url":null,"title":null,"channelId":null,"fromYTUrl":null,"channelUrl":null,"channelName":null,"thumbnailUrl":null}],"product":"youtube"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gF-Jp0giEh8k-jqCglGqc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes structured YouTube video, channel, playlist, and search result data via pay-per-call with USDC micropayments, only charging for successful non-empty results.","exampleAgentPrompt":"Search YouTube for 'best espresso machines 2024', collect up to 30 results per search, and give me back each video's title, URL, channel name, and thumbnail — including full details like view count and publish date for each one.","exampleUseCases":[{"title":"Channel video inventory export","prompt":"Grab all the videos from the YouTube channel at youtube.com/c/MkBHD — up to 100 videos — and return me a list with each video's title, URL, and thumbnail URL."},{"title":"Competitor YouTube research","prompt":"Search YouTube for 'cold brew coffee tutorial' and 'french press guide', get up to 20 results each, and include full details like view counts, likes, and publish dates so I can see which content is performing best."},{"title":"Playlist content extraction","prompt":"Pull structured data from this YouTube playlist: youtube.com/playlist?list=PLbpi6ZahtOH6Ar_3GPy3workzN3PX7 — I need the title, channel name, and video URL for every video in it, capped at 50 items total."}],"resultDescription":"Returns a JSON object with a count field and an items array where each item includes the video ID, URL, title, channel ID, channel URL, channel name, and thumbnail URL. When includeVideoDetails is true, items also include full description, exact publication date, current view count, likes, comment count, and subscriber count.","failureModes":["Empty or private YouTube URLs return no items and are not charged","Invalid or malformed URLs may return an empty items array","Rate limits or YouTube blocking may cause partial results","Network timeouts on large playlists may truncate results","Search queries with no matching videos return empty items array"],"whenToPreferThis":"Choose this endpoint when you need structured YouTube metadata at scale without managing YouTube API quotas or OAuth credentials. It is ideal for agent workflows that require pay-only-on-success pricing, support USDC micropayments via x402, and need to scrape channels, playlists, search results, or individual videos without a Google API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:13.568Z","isFirstParty":false,"canonicalSlug":"youtube-scraper-api-x402-pay-per-call-766632ef"}