YouTube Locations for SERP
GET
/serp/youtube/locations/{country}
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
Path Params
country
stringÂ
required
Responses
Modified at 2025-05-30 08:08:22