DataForSEO SERP Yahoo Locations By Country
1 credits/call
ae_dataforseo_serp_yahoo_locations_by_country
List Yahoo SERP locations supported by DataForSEO for the specified ISO country code.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
country | string | Yes | <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-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_serp_yahoo_locations_by_country' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"country": "sg"
}
}'Response exampleresponse.json
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "serp",
"function": "locations",
"se": "yahoo"
},
"id": "11150735-2802-0096-0000-07d00f774c77",
"path": [
"v3"
],
"result": [
{
"country_iso_code": "SG",
"location_code": 2702,
"location_name": "Singapore",
"location_type": "Country"
}
],
"result_count": 60,
"status_code": 20000
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1283 sec."
}This example shows part of the response. Copied content is valid JSON.



