# OKX API接入說明

注意：如在 OKX 官網建立 API Key，在「用途」一項中選擇「API交易」。

<figure><img src="/files/aouSOzU9uO9PqfZAqVOZ" alt="" width="375"><figcaption></figcaption></figure>

1. OKX APP 點擊左上角進入「設定」中的「API」工具。

   ![](data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==)

   <figure><img src="/files/m7lrABlm5By7AJzNVCZr" alt="" width="234"><figcaption></figcaption></figure>
2. 點擊「建立 API Key」。

   <figure><img src="/files/hF7eg8SaRaktGEjyesFc" alt="" width="375"><figcaption></figcaption></figure>
3. 填寫「備註名」→「密碼短語」。

   <figure><img src="/files/CVcgbiRe24GX8je8YnxL" alt="" width="375"><figcaption></figcaption></figure>
4. 完成安全驗證。

   ![](data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==)

   <figure><img src="/files/Qmrru5GlGXPUefF6n5vi" alt="" width="375"><figcaption></figcaption></figure>
5. API Key 建立成功。

   <figure><img src="/files/HtQWyy4qol2NYqWAI4id" alt="" width="375"><figcaption></figcaption></figure>
6. 返回 BitFrog 填寫上面建立的 API Key 與 API Secret 資訊，完成接入（PassPhrase 指的是 OKX API 密碼短語）。

   <figure><img src="/files/V9huQl9nkxRJ3J3O77oJ" alt="" width="375"><figcaption></figcaption></figure>


---

# 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://docs.bitfrog.io/zh-tw/jiao-yi-zhi-nan/shi-pan-zhui-zong/okx-api-jie-ru-shuo-ming.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.
