Answer the question
In order to leave comments, you need to log in
Why doesn't getting Yandex metric data via API work?
Hello! I want to get statistics on the API, but nothing happens, it gives a 403 error.
I do everything as in the documentation:
https://api-metrika.yandex.ru/stat/v1/data?metrics=ym:s:visits,ym:s:pageviews&dimensions=ym:s:referer,ym:s:startURLDomain&date1=20191213&date2=20191213&limit=1000&offset=1&id=123456&oauth_token=dsfsdifdsf9ddfusdfehdmmasdasd030
Answer the question
In order to leave comments, you need to log in
it means the token is incorrect or the request is coming from the wrong domain to which the token is bound
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question