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
  • 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
  • API Details
  • Request
  • Response
  • Success 200
  • Error Responses
  • Notes
  1. SERP API
  2. Youtube

YouTube Video Batch Download API

/download/create/batch API endpoint allows you to create batch download tasks for multiple YouTube videos.

API Details

Endpoint POST https://serpapi.abcproxy.com/download/create/batch

Description

This API creates a batch download job for multiple YouTube videos specified by their video IDs. The downloaded videos will be stored in the specified cloud storage and a callback will be sent to the provided URL upon completion.


Request

HTTP Request



curl -X POST "https://serpapi.abcproxy.com/download/create/batch" \
  -H "Content-Type: application/json" \
  -d '{
    "video_ids": ["9cQBNYsCqQs", "KGOsWPF4Wfs"],
    "proxy_api_key": "xxxxx",
    "storage_type": "oss",
    "storage_url": "https://ACCESS_KEY:SECRET_KEY@oss-cn-beijing.aliyuncs.com/your-bucket/your-folder",
    "callback_url": "https://your-callback-url.com"
  }'

import requests

payload = {
    "video_ids": ["9cQBNYsCqQs", "KGOsWPF4Wfs"],
    "proxy_api_key": "xxxxx",
    "storage_type": "oss",
    "storage_url": "https://ACCESS_KEY:SECRET_KEY@oss-cn-beijing.aliyuncs.com/your-bucket/your-folder",
    "callback_url": "https://your-callback-url.com"
}
response = requests.post("https://serpapi.abcproxy.com/download/create/batch", json=payload)
print(response.json())

const axios = require('axios');

const payload = {
  video_ids: ["9cQBNYsCqQs", "KGOsWPF4Wfs"],
  proxy_api_key: "xxxxx",
  storage_type: "oss",
  storage_url: "https://ACCESS_KEY:SECRET_KEY@oss-cn-beijing.aliyuncs.com/your-bucket/your-folder",
  callback_url: "https://your-callback-url.com"
};

axios.post("https://serpapi.abcproxy.com/download/create/batch", payload)
  .then(response => console.log(response.data));

POST /download/create/batch HTTP/1.1
Host: localhost:8080
Content-Type: application/json

{
  "video_ids": ["9cQBNYsCqQs", "KGOsWPF4Wfs"],
  "proxy_api_key": "xxxxx",
  "storage_type": "oss",
  "storage_url": "https://ACCESS_KEY:SECRET_KEY@oss-cn-beijing.aliyuncs.com/your-bucket/your-folder",
  "callback_url": "https://your-callback-url.com"
}

Parameters

Request Body

Name
Type
Required
Description
Example

video_ids

string[]

Yes

List of YouTube video IDs to download

["9cQBNYsCqQs", "KGOsWPF4Wfs"]

proxy_api_key

string

Yes

Proxy API key for authentication

"xxxxx"

storage_type

string

Yes

Object storage type (default, minio, oss, s3_compatible)

"oss"

storage_url

string

Yes

Cloud storage URL with credentials

"https://ACCESS_KEY:SECRET_KEY@oss-cn-beijing.aliyuncs.com/your-bucket/your-folder"

callback_url

string

Yes

URL to receive callback notification

"https://your-callback-url.com"


Response

Success 200

Response Body

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

Response Fields

Field
Type
Description

code

integer

Response code (200 for success)

msg

string

Response message

data.batch_id

string

Unique ID for the batch download job


Error Responses

Common Errors

HTTP Status
Error Code
Description

400

Missing required parameters

One or more required parameters are missing

401

Invalid proxy API key

The provided proxy API key is invalid

500

Internal server error

An error occurred while processing the request

Error Example

{
  "code": 400,
  "msg": "Missing required parameters: video_ids",
  "data": null
}

Notes

  1. The storage_type parameter accepts the following values:

    • default: Default storage

    • minio: Minio object storage

    • oss: Alibaba Cloud OSS

    • s3_compatible: S3-compatible storage

  2. The storage_url should include authentication credentials in the format: https://ACCESS_KEY:SECRET_KEY@storage-endpoint/bucket-name/path

  3. The callback URL will receive a POST request when the batch job completes, containing the job status and details.

PreviousYouTube Video APINextYouTube Batch Download Task Information API