Web Search API, REST: Wordstat.GetDynamics
Not implemented.
The method returns the frequency of queries over time for a given keyword.
HTTP request
POST https://searchapi.api.yandexcloud.kz/v2/wordstat/dynamics
Body parameters
{
"phrase": "string",
"period": "string",
"fromDate": "string",
"toDate": "string",
"regions": [
"string"
],
"devices": [
"string"
],
"folderId": "string"
}
|
Field |
Description |
|
phrase |
string Required field. Keyword. |
|
period |
enum (Period) Required field. The period of aggregation of the number of queries.
|
|
fromDate |
string (date-time) Required field. The start of the period data is requested for. String in RFC3339 To work with values in this field, use the APIs described in the |
|
toDate |
string (date-time) The end of the period data is requested for. String in RFC3339 To work with values in this field, use the APIs described in the |
|
regions[] |
string A list of IDs of the regions a query was made from. |
|
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": [
{
"date": "string",
"count": "string",
"share": "string"
}
]
}
|
Field |
Description |
|
results[] |
Results. |
DynamicsInfo
|
Field |
Description |
|
date |
string (date-time) The date String in RFC3339 To work with values in this field, use the APIs described in the |
|
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. |