YouTube Batch Download Task Information API
/download/info/batch
API endpoint allows you to query the status and details of a batch download job.
API Details
Endpoint
POST http://https://serpapi.abcproxy.com/download/info/batch
Description
This API retrieves detailed information about a YouTube video batch download job, including the status of each individual download and the video metadata for completed downloads.
Request
HTTP Request
Parameters
Request Body
batch_id
string
Yes
The ID of the batch download job to query
"aa3aba32-796f-4449-929e-3809d366f72c"
Response
Success 200
Response Body - Completed Example
Response Body - Pending Example
Response Body - Partial Completion Example
Response Fields
code
integer
Response code (200 for success)
msg
string
Response message
data.batch_id
string
The batch job ID
data.status
string
Overall batch status (pending, completed, partial, failed)
data.total_job_count
integer
Total number of videos in the batch
data.completed_job_count
integer
Number of successfully downloaded videos
data.failed_job_count
integer
Number of failed downloads
data.job_list
array
List of individual download jobs
job_list[].job_id
string
Individual job ID
job_list[].status
string
Job status (pending, completed, failed)
job_list[].error
string
Error message if job failed
job_list[].video_info
object/null
Video metadata for completed jobs
video_info.url
string
Original YouTube URL
video_info.video_id
string
YouTube video ID
video_info.download_url
string
Local path or URL to downloaded file
video_info.title
string
Video title
video_info.duration
integer
Video duration in seconds
video_info.resolution
string
Video resolution (widthxheight)
Status Values
pending
: All jobs are still processingcompleted
: All jobs finished successfullypartial
: Some jobs succeeded, some failedfailed
: All jobs failed
Error Responses
Common Errors
400
Invalid batch ID
The provided batch ID is invalid or missing
404
Batch not found
No batch job exists with the provided ID
500
Internal server error
An error occurred while processing the request
Error Example
Notes
The
download_url
in the response may be either:A local file path (for direct server storage)
A cloud storage URL (if configured during batch creation)
For pending jobs, the
video_info
field will be null.The
error
field will contain detailed failure reasons for failed jobs, which may include YouTube-specific error messages.