Demand dynamics over time
dynamicsTrack changes in search demand over time with daily, weekly, or monthly granularity. Analyze seasonality and trends by comparing shares of total Yandex searches.
Instructions
Returns how demand for a phrase changed over time — a series of {date, count, share}, where share is the fraction of all Yandex searches. Use it for seasonality and trend. period sets the granularity (daily/weekly/monthly). fromDate/toDate bound the range as RFC3339 timestamps, and toDate must align to the period boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Granularity of the series. Default monthly. | |
| phrase | Yes | The search phrase to research. | |
| toDate | No | Range end (RFC3339), aligned to the period boundary. | |
| devices | No | Device filter: any of all, desktop, phone, tablet. Omit for all devices. | |
| fromDate | No | Range start (RFC3339), e.g. 2026-01-01T00:00:00Z. | |
| regionIds | No | Region ids to scope demand to, e.g. [213] (Moscow), [2] (St. Petersburg). Get ids from list_regions. Omit for all regions. |