{"uid":"cap_CPiQ9E_bLNU950Hf7hseP","slug":"scrapemole-youtube-video-details-api-fa9df6bf","name":"ScrapeMole YouTube Video Details API","description":"Pay-per-call public web data for agents: Google Trends, YouTube transcripts, YouTube search, YouTube channel videos, YouTube video details, YouTube comments, YouTube playlists. Pay per successful call in USDC with x402; errors are never charged. No accounts, no API keys.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the scrape and settled only when the response is 200. Terms: https://scrapemole-api-mainnet.scrapemole.workers.dev/terms","url":"https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/video?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","required":["video"],"properties":{"lang":{"type":"string","examples":["en"],"description":"Interface language (hl), e.g. en, de."},"video":{"type":"string","examples":["aircAruvnKk"],"description":"YouTube video URL or 11-character video ID."},"country":{"type":"string","examples":["US"],"description":"Country (gl), e.g. US, GB."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://www.youtube.com/watch?v=aircAruvnKk","title":"But what is a neural network? | Deep learning chapter 1","isLive":false,"videoId":"aircAruvnKk","category":"Education","keywords":["neural networks","deep learning"],"channelId":"UCYO_jab_esuFRV4b17AJtAw","likeCount":400000,"viewCount":21000000,"channelName":"3Blue1Brown","publishDate":"2017-10-05","commentCount":9000,"channelHandle":"@3blue1brown","durationSeconds":1118}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GNqw6pbA_xHbuCExSU2v0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches detailed metadata for a YouTube video by URL or video ID, including title, view/like/comment counts, channel info, publish date, and more","exampleAgentPrompt":"Can you pull up the details for this YouTube video — how many views, likes, and comments it has, who uploaded it, and when it was published? The video ID is aircAruvnKk.","exampleUseCases":[{"title":"Track viral video performance","prompt":"I want to know how many views, likes, and comments the video at https://www.youtube.com/watch?v=dQw4w9WgXcQ has right now — also tell me the channel name and when it was posted."},{"title":"Research competitor YouTube content","prompt":"Look up the details for YouTube video ID 9bZkp7q19f0 — I need the title, view count, category, keywords, and channel handle so I can analyze it for our content strategy."},{"title":"Verify video metadata for content moderation","prompt":"Fetch the video details for youtube.com/watch?v=JGwWNGJdvx8 and tell me the title, publish date, duration in seconds, and whether it's currently a live stream."}],"resultDescription":"A JSON object containing: video URL, title, videoId, isLive flag, category, keywords array, channelId, channelName, channelHandle, likeCount, viewCount, commentCount, publishDate (YYYY-MM-DD), and durationSeconds. Only returned on HTTP 200; failed/errored requests are not charged.","failureModes":["Invalid or non-existent video ID returns an error (not charged)","Private or deleted videos cannot be scraped","Payment verification failure blocks the request","Rate limits or YouTube-side blocks may cause transient errors","Malformed video URL that cannot be parsed to a valid ID"],"whenToPreferThis":"Choose this endpoint when you need rich, structured metadata for a specific YouTube video without setting up API keys or YouTube Data API quotas. Ideal for agents that need pay-per-use pricing with no account setup, especially when pulling occasional video stats, verifying content details, or enriching data pipelines with YouTube metadata. Prefer over YouTube Data API when avoiding OAuth and quota management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T20:35:36.237Z","isFirstParty":false,"canonicalSlug":"scrapemole-youtube-video-details-api-fa9df6bf"}