Skip to main content
Scrape a YouTube link and the result comes back with the page’s data in a defined structure: a video’s views, likes, transcript and top comments, a channel’s stats and videos, a playlist, or search results. Send "output": "json" to get just that data, or add a prompt or schema to shape it your own way (how results come back). Each link costs 1 credit, and a link that can’t be read costs nothing.

Example

The item’s result, shortened:

Fields

Video: id, url, title, description, channel (name, id, handle, url, subscribers, verified, isOfficialArtist, avatar), views, likes, commentsCount, publishDate, uploadDate, dateText, duration, durationSeconds, keywords, hashtags, category, isShort, isLive, wasLive, isUpcoming, isAgeRestricted, isFamilySafe, isUnlisted, availability, thumbnail, thumbnails, embedUrl, chapters, captionLanguages, transcript (language, isAutoGenerated, timed segments, full text), comments (id, url, text, author, likes, replyCount, publishedText, isEdited, isPinned, isHearted) and relatedVideos. Channel: id, url, handle, name, description, verified, subscribers, videoCount, views, joinedDate, country, links, keywords, avatar, banner, rssUrl, tabs, and items (each with id, url, title, views, publishedText, duration, durationSeconds, isLive, thumbnail). Search: query, estimatedResults, resultCount, resultCounts (by type), and results, each with a position and the same fields as a channel item.

Options

  • Transcript language: add YouTube’s own cc_lang_pref parameter to the link, such as watch?v=...&cc_lang_pref=es. Without it, Spidra picks English, then the video’s own language, and human captions before auto-generated ones.
  • Search filters: keep YouTube’s sp= parameter from a filtered search link (upload date, type, duration).

Limits

  • Public videos only. Age-restricted videos return their details with a note that comments and captions need a YouTube account. Private and members-only videos fail and cost nothing.
  • No captions, no transcript. Videos without captions return transcript: null with a note in transcriptNote.
  • Not available: video or audio files, live chat, dislikes, and poll vote counts.
  • Live streams show chat instead of comments, so comments are empty with a note.

Templates

Ready-made templates for YouTube: video transcripts, video details, video comments, channel videos (Shorts and streams too), channel stats, playlist videos and search results.
Check YouTube’s terms before you collect data from it. You’re responsible for how you use what you collect.