YouTube

YouTube Video Scraper API

Title, view count, likes, comments, caption tracks, related videos, channel info — extracted from any public YouTube video URL.

From $0.0030 per call·Median under 2s·One charge per call
§ One call

Send a URL.
Get back JSON.

This endpoint takes one input: url. The response carries the parsed YouTube entity — every public field, in a flat, predictable shape.

Request
cURL
curl https://api.hproxy.com/v1/scrape/youtube/video/collect/by/url \
  -H "Authorization: Bearer $HPROXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=Y2Ah_DFr8cw"}'
POST // 1 call · $0.0030 · <2s
Response200 OK
{
  "success": true,
  "id": "Y2Ah_DFr8cw",
  "thumbnail": "https://img.youtube.com/vi/Y2Ah_DFr8cw/maxresdefault.jpg",
  "url": "https://www.youtube.com/watch?v=Y2Ah_DFr8cw",
  "publishDate": "2019-02-22T03:19:54-08:00",
  "type": "video",
  "title": "Inside the NBA: Chuck Trolls Jussie Smollett \"Do not commit crimes with checks, use cash!\"",
  "commentCountInt": 358,
  "likeCountInt": 4043,
  "viewCountInt": 372864,
  "publishDateText": "Feb 22, 2019",
  "channel": {
    "id": "UCWH3hing1Qb4LnkRfQdxsxQ",
    "url": "https://www.youtube.com/@afroballer8906",
    "handle": "afroballer8906",
    "title": "Afroballer"
  },
  "durationFormatted": "00:05:48"
}
What comes backparsed fields
YouTube Video
youtube_video
idstring
urlurl
handlestring
titlestring
One real call · one structured record
§ What you get

Structured data,
not a scraping project.

Full YouTube video metadata, captions, related videos.

Live JSON, returned in seconds
No login flows, no captcha solving
Pay-as-you-go, priced in dollars
Same API key across every scraper
Idempotent retries via X-Request-Id
REST — works from any language
§ Built for

The work that
needs this data.

§ 01

Lead generation

Pull YouTube signals at scale and enrich your CRM with public profile data — clean, structured, ready to import.

§ 02

Market research

Track competitors, audience movements, and trends across YouTube without standing up any scraping infrastructure.

§ 03

AI training data

Feed predictable YouTube JSON straight into your model fine-tuning pipeline. Same schema every call.

§ More YouTube

The rest of the
YouTube hub.

§ Try it

Two dollars,
first run.

Sign in with Google, drop $2 in the wallet, fire your first Video call against youtube.com. If it doesn’t do what you need, the balance is refundable for 24 hours.