YouTube Video scraper

Social Media · YouTube Scraper

YouTube Video Scraper API

Pull a single YouTube video from its URL: title, description, views, likes, comment count, channel and publish date. No headless browsers, no captchas, proxies included.

$3.00per 1k callsJSONevery response1required parameter

// YouTube · Video

curl -H "X-API-Key: hpx_your_key_here" \

"https://hproxy.com/api/v1/scrape/youtube/video?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ"

// → { "data": { … }, "records": 1, "costUsd": … }

From Request to Clean JSON

You write one line. We do everything between the request and the data.

01

You send

One API call

GET the YouTube endpoint with your key. That's all your code does.

02

We handle

Proxies · captchas · parsing

Residential exit, anti-bot walls, JS rendering and extraction, all server-side, on us.

03

You get

Clean JSON

A structured object every time. No HTML, no scraping code, no maintenance.

The YouTube Video endpoint is one API call: send a URL with your HProxy key and get back a clean, structured JSON object. Pull a single YouTube video from its URL: title, description, views, likes, comment count, channel and publish date. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when YouTube changes its markup. You only ever touch the JSON.

What the YouTube Video API returns

caption / title

The media's caption or title text.

stats

Views, likes, comments and shares.

author

Uploader handle, ID and follower count.

media

Direct media URLs, duration and dimensions.

Example response

200 OK · application/json
{
  "id": "72901...",
  "caption": "how we shipped it in a weekend",
  "author": { "username": "@handle", "followerCount": 90421 },
  "stats": { "views": 421903, "likes": 38210, "comments": 1204, "shares": 903 },
  "media": { "url": "https://.../video.mp4", "duration": 47.2 }
}

Trimmed for brevity. Every call returns the full object with all fields listed here.

The YouTube video endpoint

Full YouTube reference →
GET/api/v1/scrape/youtube/video

Parameters

urlurlrequired

Target URL (profile, post or video).

languagestringoptional

Two-letter language code, e.g. en.

cache_max_agestringoptional

Accept a cached result up to this old (1d, 3d, 7d, 14d or 30d) and pay nothing for it. Omit for a live scrape. Allowed values: `1d`, `3d`, `7d`, `14d`, `30d`.

Example request

cURL
curl "https://hproxy.com/api/v1/scrape/youtube/video?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ" \
  -H "X-API-Key: hpx_your_key_here"

POST with a JSON body works too. Failed calls, timeouts and rate-limited calls are never billed.

Scraping YouTube video in three steps

01

Create a free account

Sign up and top up any amount. The balance pays for every HProxy product and never expires.

02

Grab your API key

One key from the dashboard authenticates every scraper, YouTube video included.

03

Call the endpoint

Send the target to the YouTube Video endpoint and read the JSON. That is the whole integration.

No captchas, ever

Anti-bot walls, JS rendering and rate limits are handled server-side. You call an API, that is the whole job.

Residential-backed

Every request exits through HProxy's own residential network, so it looks like a real user on a real device.

Pay per call

No subscription, no seat licenses. Calls are billed from your balance and the balance never expires.

Fresh on every call

Responses are scraped live at request time, no stale cache dressed up as data.

Failures are free

Automatic retries first; if an extraction still fails, the call is not charged.

Scales with you

From one call to millions: same endpoint, same price curve, volume discounts as you grow.

What people build with it

Track how YouTube videos perform over time.

Build a media library with captions, stats and download URLs.

Benchmark competitor content and hooks.

YouTube Video pricing

$3.00

per 1,000 calls · 0.3¢ each

Pay per call, no subscription

Failed extractions are not charged

Proxies included in the price

YouTube Video scraper FAQ

How do I scrape YouTube video?
Send one authenticated HTTPS request to the YouTube Video endpoint with a URL and your HProxy API key. Pull a single YouTube video from its URL: title, description, views, likes, comment count, channel and publish date. No proxies, no headless browser and no parsing on your side. The response is ready-to-use JSON.
What does the YouTube video scraper return?
A structured JSON object with the full video data YouTube exposes publicly. See the fields listed above. The schema is consistent across calls, so you integrate once and rely on it.
How much does it cost to scrape YouTube video?
This endpoint is 0.3¢ per successful call, which is $3.00 per 1,000. It bills from your HProxy balance with no subscription and no monthly minimum, and failed extractions are retried and never charged.
Do I need my own proxies to scrape YouTube?
No. Every call runs on HProxy's own residential network behind the scenes, so requests look like real users. The proxy layer is already included in the per-call price.
Is scraping YouTube video allowed?
The API only accesses publicly available YouTube data, the same pages anyone can open in a browser. You are responsible for using the data in line with applicable laws and YouTube's terms for your use case.
HProxy.

Ready when you are.Your dashboard is ten seconds away.

Get Startedor talk to us at support@hproxy.com
HProxy