Youtube + Tiktok + X/Twitter Video Extractor avatar

Youtube + Tiktok + X/Twitter Video Extractor

Pricing

from $10.00 / 1,000 video extractions

Go to Apify Store
Youtube + Tiktok + X/Twitter Video Extractor

Youtube + Tiktok + X/Twitter Video Extractor

Extract video metadata, stats, comments, and download videos from Youtube, Tiktok and X/Twitter. Batch support with parallel processing. Get views, likes, shares, retweets, bookmarks, saves, follower counts, creator info and comments, all in one actor.

Pricing

from $10.00 / 1,000 video extractions

Rating

0.0

(0)

Developer

Gabriel Onicala

Gabriel Onicala

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

3

Monthly active users

5 days ago

Last modified

Share

YouTube TikTok Twitter Video Metadata Scraper

Extract video metadata, engagement stats, comments, and MP4 downloads from YouTube, TikTok, and Twitter/X — all in one actor. No official API needed. Supports batch processing with parallel extraction.


What does this actor do?

This video metadata scraper lets you pass one or more video URLs from YouTube, TikTok, or Twitter/X and get back a rich, normalized JSON response for each video. Whether you need YouTube video stats, TikTok engagement data, or Twitter video metadata, this actor handles all three platforms in a single run.

For each URL you get:

  • Video metadata — title, description, duration, upload date, tags, thumbnail
  • Engagement stats — views, likes, comments count, shares (TikTok), retweets & bookmarks (Twitter/X), saves (TikTok)
  • Creator info — name, username, profile URL, follower count, avatar
  • Video download — MP4 videos downloaded and hosted for you (optional)
  • Comments — top-level comments with author info, text, likes, and timestamps

Supported platforms

PlatformMetadataStatsCommentsVideo Download
YouTubeViews, likes, comments, subscribers✅ Direct URL
TikTokViews, likes, shares, saves, comments, followers✅ Hosted MP4
Twitter/XViews, likes, retweets, bookmarks, comments, followers✅ Hosted MP4

YouTube

Extract YouTube video metadata and stats without the official YouTube Data API — no API key or quota limits required. Get video titles, descriptions, view counts, like counts, subscriber counts, tags, thumbnails, upload dates, and top comments. Optionally download the MP4 directly.

Common YouTube use cases:

  • Scrape YouTube video stats for competitive analysis
  • Extract YouTube engagement data for UGC research
  • Download YouTube videos for archival or processing
  • Build datasets of YouTube video metadata for ML pipelines

Supported YouTube URL formats:

https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
https://www.youtube.com/shorts/VIDEO_ID

TikTok

Extract TikTok video data including views, likes, shares, saves, follower counts, and comments. Download TikTok videos as MP4 files hosted on Apify's infrastructure. No TikTok API key needed.

Common TikTok use cases:

  • Extract TikTok video stats for influencer analysis
  • Scrape TikTok engagement metrics for brand campaigns
  • Download TikTok videos for content archival
  • Analyze TikTok creator performance across multiple videos

Supported TikTok URL formats:

https://www.tiktok.com/@username/video/VIDEO_ID

Twitter / X

Extract Twitter/X video metadata, engagement stats (retweets, bookmarks, likes, views), and creator info. Download Twitter videos as hosted MP4 files. Works with both x.com and twitter.com URLs.

Note: Twitter/X comment extraction requires authenticated session cookies due to platform restrictions.

Common Twitter/X use cases:

  • Scrape Twitter video stats for social listening
  • Extract X video engagement data for trend analysis
  • Download Twitter videos before they're deleted
  • Monitor creator stats across Twitter accounts

Supported Twitter/X URL formats:

https://x.com/username/status/TWEET_ID
https://twitter.com/username/status/TWEET_ID

Input

FieldTypeRequiredDescription
urlsstring[]YesOne or more video URLs (YouTube, TikTok, Twitter/X)
commentsintegerNoNumber of comments per video (0–100, default: 5)
downloadVideosbooleanNoDownload and host MP4 files. Default: on for single URL, off for batch

Single URL example

{
"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"comments": 10
}

Batch example (mixed platforms)

{
"urls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.tiktok.com/@username/video/7123456789012345678",
"https://x.com/username/status/1234567890123456789"
],
"comments": 5,
"downloadVideos": true
}

Batch URLs are processed 3 at a time in parallel. Each URL succeeds or fails independently — one failed URL won't stop the rest.


Output

Each URL produces one JSON object in the default dataset:

{
"platform": "youtube",
"video": {
"id": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up",
"description": "The official video for...",
"duration": "3:33",
"duration_seconds": 213,
"views": 1500000000,
"likes": 16000000,
"total_comments": 3200000,
"thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"download_url": "https://...",
"upload_date": "2009-10-25",
"tags": ["rick astley", "never gonna give you up"]
},
"creator": {
"name": "Rick Astley",
"username": "@RickAstleyYT",
"profile_url": "https://www.youtube.com/@RickAstleyYT",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"subscribers": 8400000,
"avatar": null
},
"comments": [
{
"author": "@username",
"author_url": "https://www.youtube.com/@username",
"author_thumbnail": "https://...",
"text": "This song never gets old!",
"likes": 42,
"is_favorited": false,
"parent": "root",
"timestamp": "2024-01-15T12:00:00.000Z"
}
],
"_meta": {
"extracted_at": "2026-02-24T17:31:30.418Z",
"source_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"extractor": "youtube",
"comments_requested": 10,
"comments_returned": 10
}
}

Platform-specific fields

  • TikTok only: video.shares, video.saves
  • Twitter/X only: video.retweets, video.bookmarks, video.has_video, creator.handle

Video downloads

When downloadVideos is enabled:

  • YouTube: download_url is a direct MP4 link (works in any browser)
  • TikTok & Twitter/X: Videos are downloaded and stored in Apify's key-value store. download_url points to the hosted file

Performance

Batch sizeEstimated time
1 URL~4–8 seconds
3 URLs~5–10 seconds (parallel)
10 URLs~15–25 seconds

Use cases

  • UGC analysis — evaluate user-generated content across YouTube, TikTok, and Twitter for ad campaign potential
  • Social media monitoring — track video engagement metrics and creator stats across all major platforms
  • Influencer research — compare follower counts, view rates, and engagement across creators
  • Content archival — save video metadata and MP4 downloads before content is removed
  • Competitive analysis — benchmark creator performance on YouTube, TikTok, and Twitter/X simultaneously
  • Dataset building — build labeled video metadata datasets for ML, NLP, or analytics
  • Comment sentiment analysis — extract comments from YouTube, TikTok, and Twitter videos at scale

Why use this instead of platform APIs?

The official YouTube Data API, TikTok Research API, and Twitter/X API all have strict rate limits, require approval processes, and charge for heavy usage. This actor simplifies data collection — no API keys, no quota worries, just pass in URLs and get data back.

It's also the only actor that extracts video metadata from YouTube, TikTok, and Twitter in a single unified call with a consistent output schema, which saves you from running and maintaining three separate scrapers.


Limitations

  • Twitter/X comment extraction requires authenticated session cookies
  • TikTok and Twitter/X download URLs are hosted temporarily in Apify's key-value store
  • YouTube download URLs are direct and expire after a few hours
  • Some platforms may rate-limit requests from the same IP under heavy load
  • Maximum video download size: 200MB

FAQ

Can I scrape YouTube video stats without the YouTube Data API? Yes. This actor extracts YouTube video metadata, view counts, likes, subscriber counts, and comments without requiring a YouTube API key or hitting any quota limits.

Does this work for TikTok videos? Yes. Pass any TikTok video URL and get back views, likes, shares, saves, follower count, comments, and an optional hosted MP4 download.

Can I download Twitter/X videos? Yes. When downloadVideos is enabled, Twitter/X videos are downloaded and stored as MP4 files in Apify's key-value store with a direct download URL.

Can I process YouTube, TikTok, and Twitter URLs in the same batch? Yes — that's the main advantage of this actor. Mix URLs from all three platforms in the urls array and get back a normalized JSON response for each, with platform-specific fields clearly labeled.

How is this different from a dedicated YouTube scraper or TikTok scraper? Dedicated scrapers only handle one platform. If you're doing cross-platform analysis (e.g. comparing the same creator's performance on YouTube vs TikTok vs Twitter), you'd normally need three separate actors. This one handles all three with a consistent output format.

Does it extract comments from TikTok and Twitter? Yes for TikTok. For Twitter/X, comment extraction requires you to provide authenticated session cookies due to platform login requirements.

What video URL formats are supported? YouTube: youtube.com/watch, youtu.be, and youtube.com/shorts links. TikTok: standard tiktok.com/@user/video/ID links. Twitter/X: both x.com and twitter.com status URLs.

Is there a free trial? New Apify users get a free platform credit on signup which you can use to test this actor before committing to a paid plan.