You can use the Logs API to get non-aggregated data that is collected by Yandex.Metrica. This API is for Yandex.Metrica users who want to process their own statistics and use the data for unique analytical tasks.
You can use ClickHouse for storing and managing the data you receive from the Logs API.
To use this API, you must get authorization using an access token. The access token must be specified in every API request.
The total volume of data that can be transmitted in requests (including logs that haven't been deleted from storage) is 10 GB per Yandex.Metrica counter.
Statistics for the current day might not be complete. We recommend getting data for the previous day or an earlier period.