> For the complete documentation index, see [llms.txt](https://crypto.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crypto.phbot.org/exchanges/binance.md).

# Binance

The bot supports Binance.com and Binance.us by changing the `URL` field in the config file.

&#x20;&#x20;

<figure><img src="/files/mu6REhTjTAyK4F2YJj46" alt="" width="205"><figcaption></figcaption></figure>

<figure><img src="/files/WYQDZp3dfznB3aTqzq1n" alt="" width="370"><figcaption></figcaption></figure>

<figure><img src="/files/cviZaOl49Q5u3ahEJMx9" alt=""><figcaption></figcaption></figure>

Your API keys will be twice as long as what you see here.

1. Copy the *API Key* and *Secret Key* fields and place them in the `phBot.ini` file under the `Key` and `Secret` fields for `Binance`.
2. Set `Enabled` to `true`

<figure><img src="/files/58ZwxxWvusn2A9mADEIw" alt=""><figcaption></figcaption></figure>

### **URL**

This only needs to be changed if you are using it with Binance.*com* instead of Binance.*us*.

For Binance.*com* change this field to: `https://api.binance.com`

### **Symbol Example**

```
BTCUSDT
```


---

# 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:

```
GET https://crypto.phbot.org/exchanges/binance.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.
