NAVNavbar
Logo
cURL php NodeJS Python cSharp

YouTube Video Info API: Overview

YouTube Video Info API provides data based on the YouTube Video Info search engine. We collect detailed information from the watching page about key video and content metrics as well as the channel where the video is published.

The returned results are specific to the indicated video id parameter. You can always check the returned results accessing the check_url in the Incognito mode to make sure the received data is entirely relevant.

Note: YouTube SERP API provides results for desktop only. You can indicate the following OS that you would like to receive SERP results for when setting a task: Windows, macOS.
 
SERP API makes use of rank_group and rank_absolute parameters that show search engine result’s position among the group of elements or across all the elements in SERP respectively. Learn more about the difference between rank absolute and rank group in our help article.

Youtube Video Info functions

 
Youtube Video Info Advanced endpoint provides detailed data on the specified YouTube video, key metrics, and the channel where the video is published.

Methods

 
The cost of using YouTube Video Info endpoints depends on the selected method and priority of task execution. Available methods and priorities are described below.

DataForSEO has two main methods to deliver SERP results: Standard and Live.

If your system requires delivering instant results, the Live method is the best solution for you. Unlike the Standard method, this method doesn’t require making separate POST and GET requests to the corresponding endpoints.

If you don’t need to receive data in real-time, you can use the Standard method of data retrieval. This method requires making separate POST and GET requests, but it’s more affordable. Using this method, you can retrieve the results after our system collects them.

Alternatively, you can specify pingback_url or postback_url when setting a task, and we will notify you on completion of tasks or send the results to you respectively. Note that if you use the postback_url field, the only function that will be applied for data retrieval is advanced.

If you need to set several tasks, you can receive the list of id for all completed tasks using ‘Tasks Ready’ endpoint, and then collect the results of each separate task using ‘Task GET’ endpoint.

Learn more about task completion and obtaining a list of completed tasks in this help center article.

You can send up to 2000 POST and GET API calls per minute in total, with each POST call containing no more than 100 tasks. Contact us if you would like to raise the limit.

Priorities and cost

 
The Live method delivers results in real-time, and accordingly, the cost of requests made using this method will be the highest.

The Standard method has two different priorities that stand for the relative speed of task execution and have different prices:

1. Normal priority;
2. High priority.

The cost can be calculated on the Pricing page. To learn more about the cost of all SERP API methods, priorities, and additional parameters, please refer to this help article.

You can test YouTube Video Info API for free using DataForSEO Sandbox.