YouTube · Posts and media
YouTube Video Scraper API
- 0.15¢ per call
- $1.49 per 1,000
- Takes a URL
- Errors and timeouts are not charged
On YouTube
The call
One GET, and the video comes back as JSON.
Your key goes in one header. 1 required parameter, and the answer is the object below it.
The full referencecurl "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"{
"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 }
}What comes back
The YouTube video object.
- 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.
What it takes
Parameters.
Target URL (profile, post or video).
Two-letter language code, e.g. en.
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`.
How it works
Scraping YouTube video, in three steps.
You write one line. Proxies, anti-bot walls, rendering and parsing happen on our side.
- 1
Create a free account
Sign up and top up any amount. The balance pays for every HProxy product. - 2
Grab your API key
One key from the dashboard authenticates every scraper. - 3
Call the endpoint
Send the GET you need and read the JSON. That is the entire integration.
What people build with it
Where the YouTube video endpoint earns its keep.
- Track how YouTube videos perform over time.
- Build a media library with captions, stats and download URLs.
- Benchmark competitor content and hooks.
YouTube video questions
Answered before you ask.
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.
This endpoint is 0.15¢ per successful call, which is $1.49 per 1,000. It bills from your HProxy balance with no subscription and no monthly minimum. Errors are retried and never charged; a lookup whose target does not exist counts as a call.
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.
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.
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.
Docs and AI
Connect your scraper to an AI, any time.
The whole Scraper API is published as markdown, so an assistant reads every endpoint, every parameter and a real response without a key and writes your integration. And because a scrape is one GET that answers in JSON, an agent can run the scraper itself, on its own schedule, with your key.
Claude, ChatGPT, Cursor, Gemini, Copilot, Windsurf, Perplexity, Ollama and any assistant that speaks MCP.
The API as markdown
Paste /llms/scraper-api.txt into Claude, ChatGPT, Cursor or Copilot: every endpoint and the whole catalog, in one file. No key and no account to read it.
An agent can call it
One GET with your key returns structured JSON, so an agent scrapes on its own schedule. No browser to drive, no parser to keep alive between runs.
MCP server and CLI
Built by us for the free tools and hosted at mcp.hproxy.com: the proxy list, the checker and the IP lookup as tools in Claude, ChatGPT, Cursor or any assistant that speaks MCP. Nothing to install, no key.
API docs
Every scraper endpoint documented end to end, with the parameters it takes and the response it really returns.
Posts and media elsewhere
The same data on 13 other platforms.
One key, one JSON shape, one balance. Move sideways without learning a second API.
More from YouTube
13 YouTube endpoints, one key.
Every platform
The same key works on all 23.
- TikTok Scraper API23 endpoints · $1.49/1k
- Facebook Scraper API17 endpoints · $1.49/1k
- YouTube Scraper API13 endpoints · $1.49/1k
- Instagram Scraper API11 endpoints · $1.49/1k
- LinkedIn Scraper API6 endpoints · $1.49/1k
- Twitter / X Scraper API6 endpoints · $1.49/1k
- Reddit Scraper API5 endpoints · $1.49/1k
- Threads Scraper API5 endpoints · $1.49/1k
- Google Scraper API4 endpoints · $1.49/1k
- Pinterest Scraper API4 endpoints · $1.49/1k
- Twitch Scraper API4 endpoints · $1.49/1k
- Bluesky Scraper API3 endpoints · $1.49/1k
- Truth Social Scraper API3 endpoints · $1.49/1k
- Spotify Scraper API3 endpoints · $1.49/1k
- Snapchat Scraper API1 endpoint · $1.49/1k
- SoundCloud Scraper API1 endpoint · $1.49/1k
- Kick Scraper API1 endpoint · $1.49/1k
- Linktree Scraper API1 endpoint · $1.49/1k
- Komi Scraper API1 endpoint · $1.49/1k
- Pillar Scraper API1 endpoint · $1.49/1k
- Linkbio Scraper API1 endpoint · $1.49/1k
- Linkme Scraper API1 endpoint · $1.49/1k
- Amazon Scraper API1 endpoint · $1.49/1k
More on the YouTube Video API
What the YouTube Video endpoint returns
Pull a single YouTube video from its URL: title, description, views, likes, comment count, channel and publish date. The JSON object carries caption / title, stats, author and media. Nothing is summarised away on our side, so what you read in the response is what the YouTube video page itself holds.
What you send to the YouTube Video API
The call takes a URL. Required: url. Optional: language and cache_max_age. Your key travels in the X-API-Key header, the response is JSON, and the call is billed at 0.15¢, $1.49 per 1,000.
Posts and media on other platforms
The same posts and media data is available on 13 other platforms: TikTok Video, Facebook Profile Reels, Instagram User Reels, Twitch User Videos, Kick Clip, LinkedIn Company Posts, Twitter / X User Tweets, Reddit Subreddit Posts, Threads User Posts, Pinterest Pin, Bluesky User Posts, Spotify Track and Truth Social User Posts. They share this endpoint's JSON shape, its per-call billing and your one API key, so moving from YouTube to another network is a change of URL rather than a second integration.
Is scraping YouTube video allowed?
The endpoint reads publicly available YouTube data, the same pages anyone can open in a browser without logging in. It does not touch private accounts or anything behind a password. How you then use the data is yours to keep lawful, under the rules that apply to you and to YouTube.
Ready when you are.
Your dashboard is ten seconds away. No sales call, no subscription, no minimum.