> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/user-guide/api-key-creation/okx.md).

# OKX

## Step One

If you haven't already, go to [OKX](https://www.okx.com/join/3802272) website and create an account. Proceed with KYC.

## Step Two

Verify your account, add 2FA and get started with creation of sub-account

<figure><img src="/files/gUU3pQ7m5TtU4TP2LKYK" alt="okx api for origami tech, go to sub-accounts menu"><figcaption></figcaption></figure>

<figure><img src="/files/pB4ZHdq9rYl5IXg9nxxY" alt="okx api for origami tech, create sub-account"><figcaption></figcaption></figure>

Create a login name to Sub-account and use Standard sub-account → click on Submit all

<figure><img src="/files/02yrF3RePCABITRPDFNW" alt="okx api for origami tech, set up sub-account "><figcaption></figcaption></figure>

Complete creation of Sub-account with 2FA

<figure><img src="/files/SWUrFBJNYGXBrfixCNr5" alt="okx api for origami tech, 2 factor authentication "><figcaption></figcaption></figure>

## Step Three

Go to Sub-account page and click on Action → Manage API

<figure><img src="/files/xSG5lZf82IUxZ3yEoprp" alt="okx api for origami tech, go to actions, manage API"><figcaption></figcaption></figure>

Create API Name, choose Account (sub-account if created previously, Main if not).&#x20;

Use API trading Purpose, link this IP address to allowlist: **15.235.202.52**

Permissions: Read, Trade&#x20;

Come up with Passphrase (you must remember it)

<figure><img src="/files/sW4KkDJso4CXhjw7T48z" alt="okx api for origami tech, set up api"><figcaption></figcaption></figure>

Click on Submit all and proceed with Email and 2FA to finish API creation


---

# 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 dynamically by asking a question.

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

```
GET https://docs.origami.tech/user-guide/api-key-creation/okx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
