YouTube Metadata Scraper
Pricing
from $5.00 / 1,000 video metadata
YouTube Metadata Scraper
Look up YouTube videos by ID or URL and export title, views, likes, channel, description, duration, and upload date.
Pricing
from $5.00 / 1,000 video metadata
Rating
0.0
(0)
Developer
datacortex
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Look up any public YouTube video by ID or URL and export title, views, likes, channel, description, duration, thumbnail, and upload date.
Built for Apify Console, API, MCP agents, and integrations (Make, Zapier, n8n). One dataset row per video — ready for CSV, Excel, or JSON export.
What you get
| Field | Example |
|---|---|
title | Never Gonna Give You Up |
url | https://www.youtube.com/watch?v=tIgIF5lve8U |
videoId | tIgIF5lve8U |
channelName | Rick Astley |
channelUrl | https://www.youtube.com/channel/UC… |
views | 1600000000 |
likes | 18000000 |
duration | 3:33 |
publishedAt | 2009-10-25 |
thumbnailUrl | https://i.ytimg.com/vi/…/hq720.jpg |
This Actor reads one video per input. It does not search YouTube, download files, or pull transcripts.
How to run
- Open the Actor in Apify Console.
- Paste video IDs or watch / Shorts / youtu.be URLs, one per line.
- Optional: set a max-results cap.
- Click Start. Open the Output tab when the run finishes.
Example input
{"videoIds": ["tIgIF5lve8U","https://www.youtube.com/watch?v=tIgIF5lve8U"],"maxResults": 10}
Duplicate IDs (including the same video as ID and URL) are fetched once.
API
curl -X POST "https://api.apify.com/v2/acts/datacortex~youtube-metadata-scraper/runs?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"videoIds":["tIgIF5lve8U"]}'
Replace YOUR_TOKEN with an Apify API token.
Use with MCP / agents
This is a normal Apify Actor. Agents call it through Apify MCP — you do not run a separate MCP process.
Pin this Actor as a tool (after it is public):
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=datacortex/youtube-metadata-scraper"}}}
The agent should fetch-actor-details on datacortex/youtube-metadata-scraper, then run it with the same JSON as Example input above. Running Actors requires an Apify token (OAuth in the client, or Authorization: Bearer <APIFY_TOKEN>).
Pricing
$5.00 per 1,000 videos + $0.001 per run.
Each input is one vendor lookup and one dataset row. That is not the same product as a search scraper ($0.50 / 1,000), which returns many rows per query.
| Event | When it fires | Price |
|---|---|---|
apify-actor-start | Once when the run starts | $0.001 |
apify-default-dataset-item | Once per dataset row (one video) | $0.005 ($5.00 / 1,000) |
| Job | Rows | You pay |
|---|---|---|
| 1 video | 1 | $0.001 + $0.005 = $0.006 |
| 10 videos | 10 | $0.001 + $0.050 = $0.051 |
| 100 videos | 100 | $0.001 + $0.500 = $0.501 |
| 1,000 videos | 1,000 | $0.001 + $5.000 = $5.001 |
Set a max total charge per run so a long list cannot overrun budget. The Actor stops when that limit is reached.
Input reference
| Field | Required | Default | Notes |
|---|---|---|---|
videoIds | yes | — | IDs or URLs, max 1,000, duplicates skipped |
maxResults | no | all | Hard cap across the list |
Limitations
- Public video metadata only. Private, deleted, members-only, and some live or geo-blocked videos return an
errorrow. - This Actor does not download video files, transcripts, comments, or channel subscriber lists.
- Likes and comment counts are omitted when YouTube hides them.
- Failed lookups write one
type: "error"row so you can see which ID failed.
Local development
python3 -m venv .venv && source .venv/bin/activatepip install -r requirements.txtcp .env.example .envapify run --input-file=apify_input.json --purge
Changelog
See CHANGELOG.md.