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