> 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

Binance.com / Binance.us

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

&#x20;&#x20;

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2F2S3w3sTAQji60nK0ug0j%2Fbinance_1.png?alt=media&amp;token=fc845d17-11bf-4e75-a8ca-1054d62033d7" alt="" width="205"><figcaption></figcaption></figure>

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2Fq9CSFUy3xVVe9OgoJown%2Fbinance_2.png?alt=media&amp;token=158fe3c5-6302-4d59-8c6e-39dc9946f188" alt="" width="370"><figcaption></figcaption></figure>

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FQEB9zVBFDzQDU8NUa437%2Fbinance_3.png?alt=media&amp;token=2b9b8e7f-b26b-4c59-aac5-1b30313023bd" 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="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FJk3Y0X4WAKJPdcnWzyTS%2Fbinance_4.png?alt=media&amp;token=c71cc092-96ba-4608-80e8-7076a40620b0" 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
```
