> For the complete documentation index, see [llms.txt](https://learn.woo.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.woo.org/user-guides/pro/api-broker-onboarding.md).

# API broker onboarding

1. sign on WOOFi Pro and create an account following this [user guide](/user-guides/pro.md#getting-started)
2. provide your account ID

Go to "account" tab, and copy the account id in the "API trading" panel. Provide us with your account ID and this account will automatically receive referral fee on a daily basis.

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

3. provide an referral code

The referral code must follow the format to be 4 to 10 characters long, only in upper case roman characters and numbers. e.g. "IMABROKER" Provide us with the referral code so we can set it up to identify the orders placed through your platform.&#x20;

4. tag your orders

When placing an order / algo order, you need to input the predefined referral code string into the order\_tag field in order for the system to capture the order for referral fee calculation.

Here are the docs about creating orders:

* [create order](https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/create-order)
* [batch create order](https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/batch-create-order)

5. receive commission

Once the account id and referral code is set up, you will be receiving commission in the account provided on a daily basis around 0UTC.&#x20;


---

# 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://learn.woo.org/user-guides/pro/api-broker-onboarding.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.
