Youtube
With Web Scraper API, you can extract and parse various types of YouTube data. Below is an overview of all supported YouTube source values.
youtube_search
Up to 20 search results for a search term of your choice.
youtube_search_max
Up to 700 search results for a search term of your choice.
youtube_videos
Information about whether a YouTube video
youtube_download
Download YouTube video by video id or videos id list
youtube_download_info
get YouTube video download status and info by batch id
Request sample
curl -X GET "https://serpapi.abcproxy.com/search" \
-d "engine=youtube" \
-d "q=coffee" \
-d "no_cache=false" \
-d "api_key=YOUR_API_KEY"import requests
params = {
"engine": "youtube",
"q": "coffee",
"no_cache": "false",
"api_key": "YOUR_API_KEY"
}
response = requests.get("https://serpapi.abcproxy.com/search", params=params)
print(response.json())const axios = require('axios');
const params = {
engine: "youtube",
q: "coffee",
no_cache: "false",
api_key: "YOUR_API_KEY"
};
axios.get("https://serpapi.abcproxy.com/search", { params })
.then(response => console.log(response.data));1. YouTube Search (youtube_search)
youtube_search)Description: Retrieve up to 20 search results for a specified query. Use Case:
Fetch a limited set of YouTube videos matching a search term.
Useful for quick searches without needing extensive results.
Response:
Video titles, URLs, channel info, view counts, and other metadata.
Learn more about youtube_search
2. Extended YouTube Search (youtube_search_max)
youtube_search_max)Description: Retrieve up to 700 search results for a specified query. Use Case:
Large-scale data extraction for research or analytics.
Gather extensive video lists for competitive analysis.
Response:
Same as
youtube_search, but with significantly more results.
Learn more about youtube_search_max
3. Video Information (youtube_videos)
youtube_videos)Description: Fetch detailed information about specific YouTube videos. Use Case:
Extract video metadata (title, description, likes, comments, etc.).
Retrieve channel details (subscribers, upload frequency, etc.).
Response:
Full video details, engagement metrics, and channel data.
Learn more about youtube_videos
4. Video Download (youtube_download)
youtube_download)Description: Download YouTube videos by providing a video ID or a list of IDs. Key Features:
Supports batch downloads (multiple videos at once).
Optional cloud storage integration (upload downloaded videos to AWS S3, Google Cloud, etc.).
Example Request:
Response:
A batch ID to track download progress.
5. Download Status & Info (youtube_download_info)
youtube_download_info)Description: Check the status of a download batch and retrieve download links. Use Case:
Monitor progress of
youtube_downloadtasks.Get direct download URLs after completion.
Example Request:
Response:
Status (pending, completed, failed).
Download URLs (if successful).
Cloud storage paths (if configured).
Last updated