# Como criar uma chave API na OKX

1. Faça login na sua conta da OKX, clique no ícone **\[Perfil]** e selecione a opção **\[API].**

<figure><img src="/files/5gmCuNopp6ShEc6NaFXy" alt=""><figcaption></figcaption></figure>

2. Após abrir o menu da API, clique em **\[+Criar APIs].**

<figure><img src="/files/USd54kH3QNJay8sEVb4W" alt=""><figcaption></figcaption></figure>

3. Para configurar a sua chave API, basta seguir as orientações na imagem abaixo:\
   *- Lembrando que a API da OKX possui uma senha da API (passphrase) que precisa ser informada no cadastro da chave também, **não utilize uma senha pessoal!***

<figure><img src="/files/dYdM8fmp7JvMZqDc43qY" alt=""><figcaption></figcaption></figure>

4. Após clicar em **\[Enviar tudo],** a sua API será gerada com sucesso!\
   Agora o próximo passo é&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://faq.declarecripto.com.br/tutoriais-sobre-extracao-de-dados-e-criptomoedas/corretoras-api-e-extratos/okx-okex/como-criar-uma-chave-api-na-okx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
