# API trading on WOOFi Pro

WOOFi Pro APIs can connect to third-party applications and allow you to develop your own tools. The API for WOOFi Pro has many similarities to the WOO X API, making it easy for experienced traders to quickly get started.

1\) Get **Account Id, Orderly Key** ( API Key ) and **Orderly Secret** ( API Secret )

* Go to [https://pro.woofi.com/en/portfolio/api-key](https://woofi.com/en/portfolio/api-key)
* Click "Create API key"
* Confirm and get the credentials.

<figure><img src="/files/cvUQFpLexrVpiDTDQTH7" alt=""><figcaption><p>Portfolio - API key</p></figcaption></figure>

<figure><img src="/files/Ieggq0KtDd1NGwkIgpRY" alt=""><figcaption><p>Confirm and get API key</p></figcaption></figure>

2\) Integrating the API

Detailed docs are available at <https://orderly.network/docs/build-on-evm/evm-api/introduction>

**WOOFi Pro Mainnet:**&#x20;

* supported network (deposit/withdraw) : Arbitrum One
* chain\_id = 42161
* broker\_id = woofi\_pro
* base endpoint = [https://api-evm.orderly.org](https://testnet-api-evm.orderly.org)

**WOOFi Pro Testnet:**&#x20;

* supported network (deposit/withdraw) : Arbitrum Goerli&#x20;
* chain\_id = 421613
* broker\_id = woofi\_pro
* base endpoint = <https://testnet-api-evm.orderly.org>

Testnet USDC coin faucet

* Go to <https://testnet-pro.woofi.com/en/trade/ETH_PERP>
* Click the "Get test USDC" button and wait few minutes, your WOOFi account will get the test USDC

<figure><img src="/files/P7LdX8fMTn0NpyX0WmtM" alt=""><figcaption><p>Get test USDC</p></figcaption></figure>

3\) Getting started with CCXT

WOOFi Pro is integrated with CCXT, a popular library for crypto traders looking to work with new APIs and multiple exchanges.&#x20;

{% embed url="<https://github.com/ccxt/ccxt>" %}

Find the WOOFi Pro page here: <https://docs.ccxt.com/#/exchanges/woofipro>


---

# 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/api-trading-on-woofi-pro.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.
