DataForSEO SERP YouTube Locations

1 credits/call
ae_dataforseo_serp_youtube_locations

Find available location identifiers for YouTube SERP and video data queries in DataForSEO.

MapsVideo
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
countrystringYes<em>country ISO code</em><br>optional field<br>specify the ISO code if you want to filter the list of locations by country<br>example:<br><code>us</code>—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_serp_youtube_locations' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "country": "us"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "cost": 0,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0,
      "data": {
        "api": "serp",
        "function": "locations",
        "se": "youtube"
      },
      "id": "10261121-2802-0096-0000-52494682fbb2",
      "path": [
        "v3"
      ],
      "result": [
        {
          "country_iso_code": "US",
          "location_code": 2840,
          "location_name": "United States",
          "location_type": "Country"
        }
      ],
      "result_count": 62864
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0
}

This example shows part of the response. Copied content is valid JSON.