Developer's reference guide

Resource guide

Contains a list of resources that are supported by the Yandex.Metrica API, and available operations.
Note. 

If a resource does not support a method that is invoked, the Yandex.Metrica server returns the HTTP status 405 Method Not Allowed. The HTTP Allowed header shows a comma-separated list of the names of methods that are available for use with the resource.

For example, for the /counters list of counters, the PUT method is not allowed. If PUT is called, the HTTP Allowed header in the server response contains the method names GET and POST.

ResourceURLMethodsComments
List of counters /counters

GET

POST

-

Counter/counter/{id}

GET

PUT

DELETE

id ― The number ID of the counter.

List of counter goals /counter/{id}/goals

GET

POST

-

Counter goal /counter/{id}/goal/{goal_id}

GET

PUT

DELETE

goal_id ― The number ID of the goal.

List of counter filters /counter/{id}/filters

GET

POST

filter_id ― The number ID of the filter.

Counter filter /counter/{id}/filter/{filter_id}

GET

PUT

DELETE

filter_id ― The number ID of the filter.

List of counter operations/counter/{id}/operations

GET

POST

-

Counter operation/counter/{id}/operation/{operation_id}

GET

PUT

DELETE

operation_id ― The number ID of the operation.

List of guest accesses to the counter /counter/{id}/grants

GET

POST

-

Access to the counter /counter/{id}/grant/{user_login}

GET

PUT

DELETE

user_login is the username of a user who has been granted guest access.

For public statistics, "0" is specified instead of a username.

List of delegates/delegates

GET

PUT

POST

-

Delegate/delegate/{user_login}

DELETE

user_login is the username of a user who has been granted full access.

List of accounts (delegate rights)/accounts

GET

PUT

-

Account/account/{user_login}

DELETE

user_login is the username of the account owner.

Statistics reports

ResourceURLMethods
"Traffic" group
Trafficstat/traffic/summary

GET

Depthstat/traffic/deepness

GET

Time of daystat/traffic/hourly

GET

Site loadstat/traffic/load

GET

Sources group
Summary stat/sources/summary

GET

Sites stat/sources/sites

GET

Search engines stat/sources/search_engines

GET

Search phrases stat/sources/phrases

GET

Marketing stat/sources/marketing

GET

Yandex.Direct: Summary stat/sources/direct/summary

GET

Yandex.Direct platforms stat/sources/direct/platforms

GET

Yandex.Direct regions stat/sources/direct/regions

GET

Tags stat/sources/tags

GET

Content group
Popular contentstat/content/popular

GET

Entrance pagesstat/content/entrance

GET

Exit pagesstat/content/exit

GET

Page titlesstat/content/titles

GET

URL parametersstat/content/url_param

GET

"Geography" group
Report by countrystat/geo

GET

"Demographics" group
Gender and agestat/demography/age_gender

GET

Age-gender structurestat/demography/structure

GET

"Computers" group
Browsersstat/tech/browsers

GET

Operating systemsstat/tech/os

GET

Display resolutionstat/tech/display

GET

Mobile devicesstat/tech/mobile

GET

Flash versionstat/tech/flash

GET

Silverlight versionstat/tech/silverlight

GET

.NET versionstat/tech/dotnet

GET

Java availabilitystat/tech/java

GET

Cookies availabilitystat/tech/cookies

GET

JavaScript availabilitystat/tech/javascript

GET

resource URL POST GET PUT DELETE