Answer the question
In order to leave comments, you need to log in
How to access Yandex.Metrica data via the API?
Hello. I'm trying to display data from the metric on the site via json.
I created an application, created an oauth_token, but when I try to get data, I get a 403 error (no access).
For example, I use the query:
https://api-metrika.yandex.ru/stat/v1/data?metrics=ym:s:visits,ym:s:pageviews&dimensions=ym:s:referer,ym:s:startURLDomain&date1=2015-01-01&date2=yesterday&limit=10000&offset=1&ids=<мойidсчетчики>&oauth_token=<мойoauth_token>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question