> 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-by-date.md).

# Get Profit Stats by Date

**Description:** Returns profit data for the specified DCA Bot(s) over a defined number of days<br>

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

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

<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 ID DCA Bot entity

**date**     `string`     <mark style="color:orange;">required</mark>\
Specific days for which profit data is requested for this bot or account

<br>

## Parameters response<br>

**profits\_in\_usd**     `object`\
\[TBD]

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

**usd\_profit**     `string`\
USD profit from deals for a specific day

**btc\_profit**     `string`\
BTC profit from deals for a specific day

<br>

## Example Request<br>

```json
GET /ver1/bots/stats_by_date?date=2024-11-06T04:00:00.000Z&bot_id=15577628
```

<br>

## Example Response and errors<br>

<details>

<summary>Status: 200 OK</summary>

<br>

```json
{
    "stats": {
        "USDT": "7.92064973"
    },
    "usd_profit": "7.92064973",
    "btc_profit": "0.000103814744285414700639614134423823"
}
```

</details>
