DataForSEO SERP API
  1. YouTube SERP
DataForSEO SERP API
  • Google SERP
    • Google Organic SERP
      • Google Organic SERP POST
      • Google Organic SERP Completed Tasks
      • Google Organic SERP GET Regular
      • Google Organic SERP GET Advanced
      • Google Organic SERP GET HTML
      • Google Organic SERP Live Regular
      • Google Organic SERP Live Advanced
      • Google Organic SERP Live HTML
    • Google Maps SERP
      • Google Maps SERP POST
      • Google Maps SERP Completed Tasks
      • Google Maps SERP GET Advanced
      • Google Maps SERP Live
    • Google Local Finder SERP
      • Google Local Finder SERP POST
      • Google Local Finder SERP Completed Tasks
      • Google Local Finder SERP GET Advanced
      • Google Local Finder SERP GET HTML
      • Google Local Finder SERP Live Advanced
      • Google Local Finder SERP Live HTML
    • Google News SERP
      • Google News SERP POST
      • Google News SERP Completed Tasks
      • Google News SERP GET Advanced
      • Google News SERP GET HTML
      • Google News SERP Live Advanced
      • Google News SERP Live HTML
    • Google Events SERP
      • Google Events SERP POST
      • Google Events SERP Completed Tasks
      • Google Events SERP GET Advanced
      • Google Events SERP Live Advanced
      • Google Events Locations for SERP
    • Google Images SERP
      • Google Images SERP POST
      • Google Images SERP Completed Tasks
      • Google Images SERP GET Advanced
      • Google Images SERP GET HTML
      • Google Images SERP Live Advanced
      • Google Images SERP Live HTML
    • Google Search By Image
      • Google Search By Image POST
      • Google Search By Image Completed Tasks
      • Google Search By Image GET Advanced
      • Google Search By Image GET HTML
    • Google Jobs SERP
      • Google Jobs SERP POST
      • Google Jobs SERP Completed Tasks
      • Google Jobs SERP GET Advanced
      • Google Jobs SERP GET HTML
      • Google Jobs Locations for SERP
    • Google Autocomplete SERP
      • Google Autocomplete SERP POST
      • Google Autocomplete SERP Completed Tasks
      • Google Autocomplete SERP GET Advanced
      • Google Autocomplete SERP Live Advanced
    • Google Dataset Search
      • Google Dataset Search POST
      • Google Dataset Search Completed Tasks
      • Google Dataset Search GET Advanced
      • Google Dataset Search Live Advanced
    • Google Dataset Info
      • Google Dataset Info POST
      • Google Dataset Info Completed Tasks
      • Google Dataset Info GET Advanced
      • Google Dataset Info Live Advanced
    • Google Ads Advertisers SERP
      • Google Ads Advertisers SERP POST
      • Google Ads Advertisers SERP Completed Tasks
      • Google Ads Advertisers SERP GET Advanced
      • Google Ads Advertisers SERP Live Advanced
      • Google Ads Advertisers Locations for SERP
    • Google Ads Search SERP
      • Google Ads Search SERP POST
      • Google Ads Search SERP Completed Tasks
      • Google Ads Search SERP GET Advanced
      • Google Ads Search SERP Live Advanced
      • Google Ads Search Locations for SERP
    • Google Finance Explore SERP
      • Google Finance Explore SERP POST
      • Google Finance Explore SERP Completed Tasks
      • Google Finance Explore SERP GET Advanced
      • Google Finance Explore SERP GET HTML
      • Google Finance Explore SERP Live Advanced
      • Google Finance Explore SERP Live HTML
    • Google Finance Markets SERP
      • Google Finance Markets SERP POST
      • Google Finance Markets SERP Completed Tasks
      • Google Finance Markets SERP GET Advanced
      • Google Finance Markets SERP GET HTML
      • Google Finance Markets SERP Live Advanced
      • Google Finance Markets SERP Live HTML
    • Google Finance Quote SERP
      • Google Finance Quote SERP POST
      • Google Finance Quote SERP Completed Tasks
      • Google Finance Quote SERP GET Advanced
      • Google Finance Quote SERP GET HTML
      • Google Finance Quote SERP Live Advanced
      • Google Finance Quote SERP Live HTML
    • Google Finance Ticker Search
      • Google Finance Ticker Search SERP POST
      • Google Finance Ticker Search SERP Completed Tasks
      • Google Finance Ticker Search SERP GET Advanced
      • Google Finance Ticker Search SERP Live Advanced
    • Google Languages for SERP
      GET
    • Google Locations for SERP
      GET
  • Bing SERP
    • Bing Organic SERP
      • Bing Organic SERP POST
      • Bing Organic SERP Completed Tasks
      • Bing Organic SERP GET Regular
      • Bing Organic SERP GET Advanced
      • Bing Organic SERP GET HTML
      • Bing Organic SERP Live Regular
      • Bing Organic SERP Live Advanced
      • Bing Organic SERP Live HTML
    • Bing Local Pack SERP
      • Bing Local Pack SERP POST
      • Bing Local Pack SERP Completed Tasks
      • Bing Local Pack SERP GET Regular
      • Bing Local Pack SERP GET HTML
      • Bing Local Pack SERP Live Regular
      • Bing Local Pack SERP Live HTML
    • Bing Languages for SERP
      GET
    • Bing Locations for SERP
      GET
  • YouTube SERP
    • YouTube Organic SERP
      • YouTube Organic SERP POST
      • YouTube Organic SERP Completed Tasks
      • YouTube Organic SERP GET Advanced
      • YouTube Organic SERP Live Advanced
    • YouTube Video Info SERP
      • YouTube Video Info SERP POST
      • YouTube Video Info SERP Completed Tasks
      • YouTube Video Info SERP GET Advanced
      • YouTube Video Info SERP Live Advanced
    • YouTube Video Subtitles SERP
      • YouTube Video Subtitles SERP POST
      • YouTube Video Subtitles SERP Completed Tasks
      • YouTube Video Subtitles SERP GET Advanced
      • YouTube Video Subtitles SERP Live Advanced
    • YouTube Video Comments SERP
      • YouTube Video Comments SERP POST
      • YouTube Video Comments SERP Completed Tasks
      • YouTube Video Comments SERP GET Advanced
      • YouTube Video Comments SERP Live Advanced
    • YouTube Languages for SERP
      GET
    • YouTube Locations for SERP
      GET
  • Yahoo SERP
    • Yahoo Organic SERP
      • Yahoo Organic SERP POST
      • Yahoo Organic SERP Completed Tasks
      • Yahoo Organic SERP GET Regular
      • Yahoo Organic SERP GET Advanced
      • Yahoo Organic SERP GET HTML
      • Yahoo Organic SERP Live Regular
      • Yahoo Organic SERP Live Advanced
      • Yahoo Organic SERP Live HTML
    • Yahoo Languages for SERP
    • Yahoo Locations for SERP
  • Baidu SERP
    • Baidu Organic SERP
      • Baidu Organic SERP POST
      • Baidu Organic SERP Completed Tasks
      • Baidu Organic SERP GET Regular
      • Baidu Organic SERP GET Advanced
      • Baidu Organic SERP GET HTML
    • Baidu Languages for SERP
    • Baidu Locations for SERP
  • Naver SERP
    • Naver Organic SERP POST
    • Naver Organic SERP Completed Tasks
    • Naver Organic SERP GET Regular
    • Naver Organic SERP GET Advanced
    • Naver Organic SERP GET HTML
  • Seznam SERP
    • Seznam Organic SERP
      • Seznam Organic SERP POST
      • Seznam Organic SERP Completed Tasks
      • Seznam Organic SERP GET Regular
      • Seznam Organic SERP GET Advanced
      • Seznam Organic SERP GET HTML
    • Seznam Languages for SERP
    • Seznam Locations for SERP
  1. YouTube SERP

YouTube Locations for SERP

GET
/serp/youtube/locations/{country}
List of Youtube Locations for SERP.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.dataforseo.com/v3/serp/youtube/locations/' \
--header 'Authorization: Basic Og=='
Response Response Example
{
    "version": "0.1.20241227",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.1246 sec.",
    "cost": 0,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04031226-8029-0096-0000-28b1b225f7ed",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "0.0475 sec.",
            "cost": 0,
            "result_count": 12236,
            "path": [
                "v3",
                "serp",
                "youtube",
                "locations",
                "de"
            ],
            "data": {
                "api": "serp",
                "function": "locations",
                "se": "youtube"
            },
            "result": [
                {
                    "location_code": 2276,
                    "location_name": "Germany",
                    "location_code_parent": null,
                    "country_iso_code": "DE",
                    "location_type": "Country"
                },
                {
                    "location_code": 20226,
                    "location_name": "Berlin,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20227,
                    "location_name": "Brandenburg,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20228,
                    "location_name": "Baden-Wurttemberg,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20229,
                    "location_name": "Bavaria,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20230,
                    "location_name": "Bremen,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20231,
                    "location_name": "Hessen,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20232,
                    "location_name": "Hamburg,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20233,
                    "location_name": "Mecklenburg-Vorpommern,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20234,
                    "location_name": "Lower Saxony,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20235,
                    "location_name": "North Rhine-Westphalia,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20236,
                    "location_name": "Rhineland-Palatinate,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20237,
                    "location_name": "Schleswig-Holstein,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20238,
                    "location_name": "Saarland,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
                    "location_code": 20239,
                    "location_name": "Saxony,Germany",
                    "location_code_parent": 2276,
                    "country_iso_code": "DE",
                    "location_type": "State"
                },
                {
   

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Path Params
country
string 
required
Country ISO code.

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-05-30 08:08:22
Previous
YouTube Languages for SERP
Next
Yahoo Organic SERP POST
Built with