Metrica API
Use the API for getting Yandex.Metrica data programmatically. This automates creating counters, setting up goals, getting statistics and other actions available in the Metrica web interface.
Getting started
  1. Get an OAuth access token.
  2. Choose the input data format — JSON or XML.
  3. Review the resources reference guide, which lists all the Metrica objects and describes how to work with them.