Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • 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
  • Audit Trails events
  • Release notes

In this article:

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

Web Search API, REST: Wordstat.GetRegionsDistribution

Written by
Yandex Cloud
Updated at November 21, 2025
  • HTTP request
  • Body parameters
  • Response
  • RegionInfo

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 requestHTTP request

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

Body parametersBody 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.

  • REGION_UNSPECIFIED
  • REGION_ALL: Show distribution everywhere.
  • REGION_CITIES: Show distribution by cities.
  • REGION_REGIONS: Show distribution by regions.

devices[]

enum (Device)

A list of device types a query was made from.

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

folderId

string

ID of the folder.

ResponseResponse

HTTP Code: 200 - OK

{
  "results": [
    {
      "region": "string",
      "count": "string",
      "share": "string",
      "affinityIndex": "string"
    }
  ]
}

Field

Description

results[]

RegionInfo

Results.

RegionInfoRegionInfo

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.

Was the article helpful?

Previous
GetDynamics
Next
Audit Trails events
© 2025 Direct Cursus Technology L.L.C.