---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/GetWordstatReport.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/GetWordstatReport.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# GetWordstatReport
Returns a search query statistics report.
## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "GetWordstatReport",
   "param": (int)
}
```

The `param` parameter is used for specifying the ID of the generated report. You can get the report ID using the [GetWordstatReportList](https://yandex.com/dev/direct/doc/dg-v4/en/reference/GetWordstatReportList.md) method.


## Output data {#output}

The method returns an array of `WordstatReportInfo` objects. Each object contains statistics for search queries for a single keyword. The output data structure in JSON is shown below.

```javascript
{
   "data": [
      {  /* WordstatReportInfo */
         "Phrase": (string),
         "GeoID": [
            (int)
            ...
         ],
         "SearchedWith": [
            {  /* WordstatItem */
               "Phrase": (string),
               "Shows": (int)
            }
            ...
         ],
         "SearchedAlso": [
            {  /* WordstatItem */
               "Phrase": (string),
               "Shows": (int)
            }
            ...
         ]
      }
      ...
   ]
}
```

Parameters are described below.


#|
||
**<sup >Parameter</sup>**
|
**<sup >Description</sup>**
||

||
**<sub >WordstatReportInfo object</sub>**
||
||
`Phrase`
|
The keyword that statistics are given for (specified when generating the report).
||
||
`GeoID`
|
Array with region IDs (specified when generating the report).
||
||
`SearchedWith`
|
Statistics for search queries that match the keyword.
||
||
`SearchedAlso`
|
Statistics for other search queries that consumers made when searching for a keyword from the `SearchedWith` array.
||

||
**<sub >WordstatItem object</sub>**
||
||
`Phrase`
|
In the `SearchedWith` array: the search query that matches the keyword (all the words in the keyword are included in the search query, and the negative keywords are not in the search query).

In the `SearchedAlso` array: a search query that consumers also made.
||
||
`Shows`
|
Number of search queries over the last month.
||
|#

