Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Search API
  • Getting started
  • Access management
  • Pricing policy
    • Authentication in the API
        • Overview
          • Overview
          • GetTop
          • GetDynamics
          • GetRegionsDistribution
          • GetRegionsTree
  • Audit Trails events
  • Release notes

In this article:

  • HTTP request
  • Body parameters
  • Response
  • DynamicsInfo
  1. API reference
  2. API
  3. REST
  4. Wordstat
  5. GetDynamics

Web Search API, REST: Wordstat.GetDynamics

Written by
Yandex Cloud
Updated at December 15, 2025
  • HTTP request
  • Body parameters
  • Response
  • DynamicsInfo

Not implemented.
The method returns the frequency of queries over time for a given keyword.

HTTP requestHTTP request

POST https://searchapi.api.cloud.yandex.net/v2/wordstat/dynamics

Body parametersBody parameters

{
  "phrase": "string",
  "period": "string",
  "fromDate": "string",
  "toDate": "string",
  "regions": [
    "string"
  ],
  "devices": [
    "string"
  ],
  "folderId": "string"
}

Field

Description

phrase

string

Required field. Keyword.

The maximum string length in characters is 400.

period

enum (Period)

Required field. The period of aggregation of the number of queries.

  • PERIOD_MONTHLY: Details by month.
  • PERIOD_WEEKLY: Details by week.
  • PERIOD_DAILY: Details by day.

fromDate

string (date-time)

Required field. The start of the period data is requested for.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

toDate

string (date-time)

The end of the period data is requested for.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

regions[]

string

A list of IDs of the regions a query was made from.

The maximum number of elements is 100.

devices[]

enum (Device)

A list of device types a query was made from.

The maximum number of elements is 3.

  • DEVICE_ALL: All devices.
  • DEVICE_DESKTOP: Desktop computers.
  • DEVICE_PHONE: Phones.
  • DEVICE_TABLET: Tablets.

folderId

string

ID of the folder.

The maximum string length in characters is 50.

ResponseResponse

HTTP Code: 200 - OK

{
  "results": [
    {
      "date": "string",
      "count": "string",
      "share": "string"
    }
  ]
}

Field

Description

results[]

DynamicsInfo

Results.

DynamicsInfoDynamicsInfo

Field

Description

date

string (date-time)

The date

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

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.

Was the article helpful?

Previous
GetTop
Next
GetRegionsDistribution
© 2025 Direct Cursus Technology L.L.C.