Web Search API, REST: Wordstat.GetRegionsDistribution
Not implemented.
The method returns the distribution of the number of queries containing the given keyword globally by region for the last 30 days.
HTTP request
POST https://searchapi.api.cloud.yandex.net/v2/wordstat/regions
Body parameters
{
"phrase": "string",
"region": "string",
"devices": [
"string"
],
"folderId": "string"
}
|
Field |
Description |
|
phrase |
string Required field. Keyword |
|
region |
enum (Region) Show query distribution only by city, only by region, or everywhere.
|
|
devices[] |
enum (Device) A list of device types a query was made from.
|
|
folderId |
string ID of the folder. |
Response
HTTP Code: 200 - OK
{
"results": [
{
"region": "string",
"count": "string",
"share": "string",
"affinityIndex": "string"
}
]
}
|
Field |
Description |
|
results[] |
Results. |
RegionInfo
|
Field |
Description |
|
region |
string region ID |
|
count |
string (int64) Number of queries containing the given keyword. |
|
share |
string The share of the number of such queries from the total number of queries to Yandex in the region. |
|
affinityIndex |
string The ratio between the share of the selected queries in the region and their share across the country. |