YouTube Video Scraper API — Metadata & Stats avatar

YouTube Video Scraper API — Metadata & Stats

Pricing

from $3.00 / 1,000 url scrapes

Go to Apify Store
YouTube Video Scraper API — Metadata & Stats

YouTube Video Scraper API — Metadata & Stats

Get YouTube video data by URL without login or API key. Returns the raw ytInitialPlayerResponse JSON (title, author, views, duration, captions, streaming info) plus a light summary.

Pricing

from $3.00 / 1,000 url scrapes

Rating

0.0

(0)

Developer

RD.Galih Rakasiwi

RD.Galih Rakasiwi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

YouTube Video by URL — No Login, No API Key

Stateless API that returns YouTube video data by URL without login or API key.

It fetches the video watch page and extracts the embedded ytInitialPlayerResponse JSON — the same data YouTube's own player uses. This includes title, author, view count, duration, keywords, captions, and streaming formats.

Why raw output?

YouTube changes its page structure often. Instead of over-parsing into a fixed schema (which breaks), the actor returns the raw ytInitialPlayerResponse plus a light summary of the most common fields. You always get the full data and can extract whatever you need.

Endpoints

  • POST /scrape — body {"url": "https://www.youtube.com/watch?v=..."}
  • GET /scrape?url=... — convenience GET
  • GET /health — health check

Example

curl -X POST http://localhost:8000/scrape \
-H "Content-Type: application/json" \
-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'

Response:

{
"platform": "youtube",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"video_id": "dQw4w9WgXcQ",
"summary": {
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"view_count": 1822845880,
"length_seconds": 213
},
"raw": { "...full ytInitialPlayerResponse..." },
"scraped_at": "2026-10-04T..."
}

No storage

The actor is fully stateless — every request fetches fresh data from YouTube. No database, no cache, no Redis.