GET

/api/v1/bots/dca//profit

Permission: BOTS_READSecurity: BEARER_JWT

Returns daily profit metrics, closed deal counts, and cumulative earnings for a specified DCA Bot, grouped by date across a requested time range.

Path Parameters

iduuid required

Unique UUID identifier for the DCA Bot entity.

Query Parameters

1
daysinteger
default: 30

Specifies the number of historical days (1 to 365) for which daily profit data is requested. Default is 30.

Response Parameters

bot_iduuid

Unique UUID identifier of the DCA Bot.

bot_namestring

User-assigned name of the DCA Bot.

pairstring

Trading pair assigned to the bot (e.g. ETH/USDT).

profit_currencystring

Currency denomination for profit calculations (quote or base).

total_profit_usdnumber

All-time cumulative realized profit in USD.

total_tradesinteger

Total count of successfully completed trades.

daily_profitarray[object]

Array of daily profit breakdown objects.

daily_profit[].s_datestring

The calendar date [YYYY-MM-DD] for which profit data is recorded.

daily_profit[].unix_timestampinteger

Unix timestamp in seconds for the start of the date.

daily_profit[].profitobject

Container object with USD and BTC calculated profit for the date.

daily_profit[].closed_deals_countinteger

Number of bot deals successfully closed on that date.

Example Request

GETGET /api/v1/bots/dca/7c9e6679-7425-40de-944b-e07fc1f90ae7/profit?days=30

Example Responses

Returns an array of daily profit records and summary performance for the specified DCA Bot.

get_dca_bot_profit_data_200.json
200 OK
{
  "bot_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "bot_name": "ETH/USDT Auto Trading",
  "pair": "ETH/USDT",
  "profit_currency": "quote",
  "total_profit_usd": 10.72,
  "total_trades": 10,
  "daily_profit": [
    {
      "s_date": "2026-08-20",
      "unix_timestamp": 1787228400,
      "profit": {
        "usd": "3.45",
        "btc": "0.00005308"
      },
      "closed_deals_count": 3
    },
    {
      "s_date": "2026-08-19",
      "unix_timestamp": 1787142000,
      "profit": {
        "usd": "4.20",
        "btc": "0.00006462"
      },
      "closed_deals_count": 4
    },
    {
      "s_date": "2026-08-18",
      "unix_timestamp": 1787055600,
      "profit": {
        "usd": "3.07",
        "btc": "0.00004723"
      },
      "closed_deals_count": 3
    }
  ]
}