---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com.tr/dev/metrika/en/intro/method-call.md
  - https://yandex.com.tr/dev/metrika/ru/intro/method-call.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/metrika/en/llms.txt

# Resources and method calls

## Resources

The Yandex Metrica API is built on REST principles.

Everything that can be managed via the API is represented by resources: statistics, the list of tags, the tag itself, tag goals and each specific goal, tag access, and so on.

So a resource is an integral part of the system that you can work with:

- Read the contents and current status of the resource (GET).
- Modify the contents and status and write it to the resource (PUT).
- Delete the resource (DELETE).
- Perform special actions, such as adding new elements to a list (POST).

Each resource has its own unique URL. All actions are executed by the corresponding HTTP methods at the resource URLs.

For example, to get information about a tag, you send a GET request to the tag URL. To create a new tag, send a POST request with the tag body to the URL of the “tag list” resource.

## Method calls

{% note info %}

Requests to the Yandex Metrica API are transmitted via the HTTPS protocol.

{% endnote %}

Requests use the following format:

```
<method_type> https://api-metrika.yandex.net/<API_section>/<version>/<method_name>.<result_format>?<parameters>
```

#|
|| `<method_type>` | GET, POST, PUT, or DELETE. ||
|| `<API_section>` | Name of the API section where the action takes place. Existing sections:
* `management` (Management API and Logs API).
* `stat` (Reporting API).
* `analytics` (API compatible with the Google Analytics Core Reporting API). ||
|| `<version>` | Number of the current API version. ||
|| `<method_name>` | URL of the resource that the action applies to. ||
|| `<result_format>` | Optional part of the request. It sets the result format. By default, data is transmitted in JSON format. ||
|| `<parameters>` | Required and optional request parameters. ||
|#

## Learn more

- [Representational State Transfer](http://en.wikipedia.org/wiki/Representational_State_Transfer)
- [REST](https://en.wikipedia.org/wiki/REST)