Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.
The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.
This API is compatible with the Google Analytics Core Reporting API (v3) and allows you to perform the following operations:
- Get information about site traffic and other data.
- Integrate Yandex.Metrica data with an app developed for use with the Google Analytics Core Reporting API(v3).
- Use familiar request parameters when collecting statistics, if you have previously worked with the Google Analytics Core Reporting API(v3).
You can get statistics and data about your resource using metrics and dimensions.
To use this API, you must get authorization using an access token via Yandex.OAuth. The access token must be specified in every API request.