---
metadata:
  - name: generator
    content: Diplodoc Platform v5.46.1
alternate:
  - https://yandex.com/dev/partner-statistics/doc/en/reference/statistics-ssp.md
  - https://yandex.com/dev/partner-statistics/doc/ru/reference/statistics-ssp.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/partner-statistics/doc/en/llms.txt

# How to get data for SSP partners

To get a report for SSP partners, use the [Statistics report](https://yandex.com/dev/partner-statistics/doc/en/reference/statistics-get2.md) operation and pass `stat_type=ssp` as the report type parameter.

How to get the statistics tree:

```
curl -i -X -H 'Authorization: OAuth y0__wgBEObPhpsGGOeMLSC....' \
GET 'https://partner.yandex.ru/api/statistics2/tree.json?stat_type=ssp&lang=ru'
```

Sample API request:

```
curl -i -g -X -H 'Authorization: OAuth y0__wgBEObPhpsGGOe....'
GET 'https://partner.yandex.ru/api/statistics2/get.json?stat_type=ssp \
&lang=ru \
&pretty=1 \
&dimension_field=date|day \
&period=thismonth \
&entity_field=login \
&field=shows \
&field=ssp_price'
```
