> For the complete documentation index, see [llms.txt](https://3commas.gitbook.io/3commas-official-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3commas.gitbook.io/3commas-official-api-docs/dca-bot/get-bot-stats.md).

# Get stats of DCA Bot

<br>

**Description:** Returns profit and locked amount data on deals for all DCA Bots or an existing bot or an existing exchange account using their ID<br>

**Permission:** BOTS\_READ\
**Security:** SIGNED\ <br>

> <mark style="color:blue;">**`GET`**</mark>
>
> `/ver1/bots/stats`

<br>

## Query Parameters<br>

**account\_id**     `integer`\
Filters entities linked to the specified 3Commas exchange account

**bot\_id**     `integer`\
Filters entities linked to the specified DCA Bot

<br>

{% hint style="info" %}
Use endpoint [User connected exchanges and wallets list](https://github.com/3commas-io/3commas-official-api-docs/blob/gitbook/docs/DCA%20Bot/Account/User%20connected%20exchanges%20and%20wallets%20list.md) to get value for parameter `account_id` in 3Commas.
{% endhint %}

\ <br>

## Parameters response<br>

**overall\_stats**     `array`\
Shows cumulative profit or loss by currency for all trading activity

**today\_stats**     `array`\
Shows today's profit or loss by currency

**profits\_in\_usd**     `integer`\
Contains detailed profit and loss data in USD

&#x20;     **overall\_usd\_profit**     `string`\
&#x20;     Cumulative USD profit or loss from all trading activity

&#x20;     **today\_usd\_profit**     `string`\
&#x20;     USD profit or loss accumulated for the current day

&#x20;     **active\_deals\_usd\_profit**     `string`\
&#x20;     USD profit or loss from active (unclosed) deals

&#x20;     **funds\_locked\_in\_active\_deals**     `string`\
&#x20;     Total funds, in USD, currently allocated to active deals

<br>

## Example request<br>

```json
GET /ver1/bots/stats
```

<br>

## Example Response and errors<br>

<details>

<summary>Status: 200 OK</summary>

\
\`\`\`json { "overall\_stats": { "USDT": "-47.47740906" }, "today\_stats": { "USDT": "10.98885705" }, "profits\_in\_usd": { "overall\_usd\_profit": -47.48, "today\_usd\_profit": 10.99, "active\_deals\_usd\_profit": 1.366505088, "funds\_locked\_in\_active\_deals": 300.843218676 } } \`\`\`

</details>
