> For the complete documentation index, see [llms.txt](https://support.backpack.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.backpack.exchange/support-docs/ru/birzha/api-i-dokumentaciya-dlya-razrabotchikov/generiruite-api-klyuchi-dlya-backpack-exchange.md).

# Генерируйте API ключи для Backpack Exchange

{% hint style="info" %}
**Создание API ключа в настоящее время поддерживается только на веб-версии.**

Этот документ переведён с помощью машинного перевода и может содержать неточности. В случае расхождений руководствуйтесь [английской версией](https://support.backpack.exchange/).
{% endhint %}

Откройте [**Backpack Exchange**](https://backpack.exchange/) и войдите в аккаунт, прежде чем выполнять приведённые ниже действия.

> Впервые в Backpack? [Создайте аккаунт](https://support.backpack.exchange/support-docs/ru/birzha/akkaunt-birzhi/sozdanie-novogo-akkaunta/sozdanie-akkaunta-v-brauzere.md), чтобы начать.

#### 1. Перейдите в **Settings** → **API Keys**, затем нажмите **New API Key**.

<figure><img src="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FIF43oz49iHhZfl3zUeBW%2Fimage.png?alt=media&#x26;token=7680544c-d853-4432-bbf8-593644766c5a" alt=""><figcaption></figcaption></figure>

#### 2. Введите имя для ключа, выберите субаккаунт и нажмите **Create** для завершения.

<div align="left"><figure><img src="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FXejwBF5umwjOCbgf9n77%2Fimage.png?alt=media&#x26;token=564f3981-7246-476e-8dd2-3c13dcae731d" alt="" width="307"><figcaption></figcaption></figure></div>

> * **Для большинства индивидуальных пользователей мы рекомендуем оставить поле Public Key пустым. Если вы решите предоставить Public Key:**
>   * Вы должны сгенерировать его самостоятельно.
>   * Он должен соответствовать поддерживаемому формату и алгоритму, указанному в нашей [документации API.](https://docs.backpack.exchange/)
> * **Кнопка Read Only ограничивает права доступа API ключа только просмотром.**

#### 3. Сохраните ваш API ключ и API secret в безопасном месте.

<div align="left"><figure><img src="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FiksKzybEkCor2cZbZyQy%2Fimage.png?alt=media&#x26;token=913e67bc-be26-48fc-93d0-b9f5d7bd300e" alt="" width="302"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.backpack.exchange/support-docs/ru/birzha/api-i-dokumentaciya-dlya-razrabotchikov/generiruite-api-klyuchi-dlya-backpack-exchange.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
