ABCProxy Docs
English
English
  • Overview
  • PROXIES
    • Residential Proxies
      • Introduce
      • Dashboard to Get IP to Use
      • Getting started guide
      • Account security authentication
      • API extraction
      • Basic query
      • Select the country/region
      • Select State
      • Select city
      • Session retention
    • Socks5 Proxies
      • Getting Started
      • Proxy Manager to Get IP to Use
    • Unlimited Residential Proxies
      • Getting started guide
      • Account security authentication
      • API extraction
    • Static Residential Proxies
      • Getting started guide
      • API extraction
      • Account security authentication
    • ISP Proxies
      • Getting started guide
      • Account security authentication
    • Dedicated Datacenter Proxies
      • Getting started guide
      • API extraction
      • Account security authentication
  • Advanced proxy solutions
    • Web Unblocker
      • Get started
      • Making Requests
        • JavaScript rendering
        • Geo-location
        • Session
        • Header
        • Cookie
        • Blocking Resource Loading
    • APM-ABC Proxy Manger
      • How to use
  • SERP API
    • Get started
    • Google
      • Google Search API
      • Google Shopping API
      • Google Local API
      • Google Videos API
      • Google News API
      • Google Flights API
      • Google Product API
      • Google Images API
      • Google Lens Search API
      • Google Play Product API
      • Google Play Game Store API
      • Google Play Book Store API
      • Google Play Movies Store API
      • Google Jobs API
      • Google Scholar Author API
      • Google Scholar API
      • Google Scholar Cite API
      • Google Scholar Profiles API
    • Bing
      • Bing Search API
      • Bing News API
      • Bing Shopping API
      • Bing Images API
      • Bing Videos API
      • Bing Maps API
    • Yahoo
      • Yahoo! Search API
      • Yahoo! Shopping API
      • Yahoo! Images API
      • Yahoo! Videos API
    • DuckDuckGo
      • DuckDuckGo Search API
      • DuckDuckGo News API
      • DuckDuckGo Maps API
    • Ebay
      • Ebay Search API
    • Walmart
      • Walmart Search API
      • Walmart Product Reviews API
      • Walmart Product API
    • Yelp
      • Yelp Reviews API
    • Youtube
      • YouTube Search API
      • YouTube Video API
      • YouTube Video Batch Download API
        • YouTube Batch Download Task Information API
        • YouTube Single Download Job Information API
  • Parametric
    • Google Ads Transparency Center Regions
    • Google GL Parameter: Supported Google Countries
    • Google HL Parameter: Supported Google Languages
    • Google Lens Country Parameter: Supported Google Lens Countries
    • Google Local Services Job Types
    • Google Trends Categories
    • Supported DuckDuckGo Regions
    • Supported Ebay Domains
    • Supported Ebay location options
    • Google Trends Locations
    • Supported Ebay sort options
    • Supported Google Countries via cr parameter
    • Supported Google Domains
    • Supported Google Languages via lr parameter
    • Supported Google Play Apps Categories
    • Supported Google Patents country codes
    • Supported Google Play Games Categories
    • Supported Google Play Books Categories
    • Supported Google Play Movies Categories
    • Supported Google Scholar Courts
    • Supported Yahoo! Countries
    • Supported Yahoo! Domains
    • Supported Yahoo! File formats
    • Supported Yahoo! Languages
    • Supported Yandex Domains
    • Supported Yandex Languages
    • Supported Yelp Domains
    • Supported Yandex Locations
    • Supported Yelp Reviews Languages
    • Walmart Stores Locations
    • Supported Google Travel currency codes
    • Supported Locations API
  • HELP
    • FAQ
      • ABCProxy Software Can Not Log In?
      • Software Tip:“please start the proxy first”
    • Refund Policy
    • Contact Us
  • INTEGRATION AND USAGE
    • Browser Integration Tools
      • Proxy Switchy Omega
      • BP Proxy Switcher
      • Brave Browser
    • Anti-Detection Browser Integration
      • AdsPower
      • BitBrowser
      • Dolphin{anty}
      • Undetectable
      • Incogniton
      • Kameleo
      • Morelogin
      • ClonBrowser
      • Hidemium
      • Helium Scraper
      • VMlogin
      • ixBrower
      • Xlogin
      • Antbrowser
      • Lauth
      • Indigo
      • IDENTORY
      • Gologin
      • MuLogin
    • Use of Enterprise Plan
      • How to use the Enterprise Plan CDKEY?
Powered by GitBook
On this page
  • 1. YouTube Search (youtube_search)
  • 2. Extended YouTube Search (youtube_search_max)
  • 3. Video Information (youtube_videos)
  • 4. Video Download (youtube_download)
  • 5. Download Status & Info (youtube_download_info)
  1. SERP API

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.

Source
Description

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_search" \
  -d "q=abc" \
  -d "no_cache=false" \
  -d "api_key=YOUR_API_KEY"
import requests

params = {
    "engine": "youtube_search",
    "q": "abc",
    "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_search",
  q: "abc",
  no_cache: "false",
  api_key: "YOUR_API_KEY"
};

axios.get("https://serpapi.abcproxy.com/search", { params })
  .then(response => console.log(response.data));
GET /search?engine=youtube_search&q=abc&no_cache=false&api_key=YOUR_API_KEY HTTP/1.1
Host: serpapi.abcproxy.com
youtube_search<?php
$client = new \GuzzleHttp\Client();
$response = $client->get('https://serpapi.abcproxy.com/search', [
    'query' => [
        'engine' => 'youtube_search',
        'q' => 'abc',
        'no_cache' => 'false',
        'api_key' => 'YOUR_API_KEY'
    ]
]);
echo $response->getBody();
package main

import (
    "net/http"
    "io/ioutil"
    "log"
)

func main() {
    client := &http.Client{}
    req, _ := http.NewRequest("GET", "https://serpapi.abcproxy.com/search", nil)
    
    q := req.URL.Query()
    q.Add("engine", "youtube_search")
    q.Add("q", "abc")
    q.Add("no_cache", "false")
    q.Add("api_key", "YOUR_API_KEY")
    req.URL.RawQuery = q.Encode()

    resp, _ := client.Do(req)
    body, _ := ioutil.ReadAll(resp.Body)
    log.Println(string(body))
}
using System;
using System.Net.Http;

class Program
{
    static async Task Main()
    {
        var client = new HttpClient();
        var query = System.Web.HttpUtility.ParseQueryString(string.Empty);
        query["engine"] = "youtube_search";
        query["q"] = "abc";
        query["no_cache"] = "false";
        query["api_key"] = "YOUR_API_KEY";
        
        var response = await client.GetAsync(
            $"https://serpapi.abcproxy.com/search?{query}"
        );
        Console.WriteLine(await response.Content.ReadAsStringAsync());
    }
}
import java.net.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        String url = "https://serpapi.abcproxy.com/search" +
            "?engine=youtube_search" +
            "&q=abc" +
            "&no_cache=false" +
            "&api_key=YOUR_API_KEY";
        
        HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
        conn.setRequestMethod("GET");
        
        BufferedReader in = new BufferedReader(
            new InputStreamReader(conn.getInputStream())
        );
        String response = in.lines().collect(Collectors.joining());
        System.out.println(response);
    }
}

1. 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)

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)

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)

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:

{
  "code": 200,
  "msg": "Success",
  "data": {
    "batch_id": "25ba9534-bb83-4496-ac5b-6bc94f83e963"
  }
}

Response:

  • A batch ID to track download progress.


5. Download Status & Info (youtube_download_info)

Description: Check the status of a download batch and retrieve download links. Use Case:

  • Monitor progress of youtube_download tasks.

  • Get direct download URLs after completion.

Example Request:

{
  "code": 200,
  "msg": "Success",
  "data": {
    "batch_id": "d0a3d4a1-403d-41f3-a232-c2f7dc79bb1a",
    "status": "completed",
    "total_job_count": 2,
    "completed_job_count": 2,
    "failed_job_count": 0,
    "job_list": [
      {
        "job_id": "6ba037bd-9b4f-413b-8795-87d500198da0",
        "status": "completed",
        "error": "",
        "video_info": {
          "url": "https://www.youtube.com/watch?v=1BxhbKNbjqE",
          "video_id": "1BxhbKNbjqE",
          "download_url": "C:\\code\\project\\youtube\\yt-downloader\\app\\worker\\batch_download_task\\consumer\\yt-downloader\\download\\cb4bf5ad-16ed-46b7-9158-0dae601ff555\\1BxhbKNbjqE_afe557bc446c7ec5a0085a5229d6022f.mp4",
          "title": "oceans",
          "duration": 47,
          "resolution": "640x266"
        }
      },
      {
        "job_id": "ebe5f3da-4126-4196-a595-7003c7e69ef0",
        "status": "completed",
        "error": "",
        "video_info": {
          "url": "https://www.youtube.com/watch?v=dXzrhQfzvhA",
          "video_id": "dXzrhQfzvhA",
          "download_url": "C:\\code\\project\\youtube\\yt-downloader\\app\\worker\\batch_download_task\\consumer\\yt-downloader\\download\\4abaf508-0d0e-4c55-b4d6-78aa1b5e91fa\\dXzrhQfzvhA_d26591dcd09b38c0079ffe960d6def12.mp4",
          "title": " #special #shorts",
          "duration": 7,
          "resolution": "640x360"
        }
      }
    ]
  }
}

Response:

  • Status (pending, completed, failed).

  • Download URLs (if successful).

  • Cloud storage paths (if configured).

PreviousYelp Reviews APINextYouTube Search API

Last updated 4 days ago