---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://yandex.com/dev/partner-objects/doc/en/concepts/access.md
  - https://yandex.com/dev/partner-objects/doc/ru/concepts/access.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/partner-objects/doc/en/llms.txt


# Accessing the API

Host for all API requests:

```http
https://jsonapi.partner2.yandex.com/vX/
```

where `X` is the [version number](https://yandex.com/dev/partner-objects/doc/en/concepts/versions.md) of the API.

To work with the API, you need to use an API key.

Use one of the following ways to pass the key:

- Pass the key in the HTTP `Authorization` header and specify the `token` type before the value.

    ```
    Authorization: token ac3b42lp-89ls-...
    ```
    
- Pass it as a query parameter.

    ```
    curl -g -i -H "Accept: application/vnd.api+json" GET 'https://jsonapi.partner2.yandex.com/vX/resources?page\[size\]=2&apikey=e78...'
    ```
