> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics Overview

> Get dashboard analytics including total account value, transaction volume chart, and user growth.

<ParamField header="Authorization" type="string" required>
  Bearer token: `Bearer YOUR_ACCESS_TOKEN`
</ParamField>

<ParamField query="from" type="string">
  Start date for the reporting period. ISO 8601 format: `2026-03-01`
</ParamField>

<ParamField query="to" type="string">
  End date for the reporting period. ISO 8601 format: `2026-03-31`
</ParamField>

<Accordion title="Response Type Definitions">
  ```typescript theme={null}
  interface AnalyticsOverviewResponse {
    data: {
      totalAccountValue: number;
      depositTransactions: any[];
      chartTransactions: Array<{
        _id: { year: number; month: number };
        totalAmount: number;
        count: number;
      }>;
      chartUsers: Array<{
        _id: { year: number; month: number };
        count: number;
      }>;
    };
    status: boolean;
    message: string;
  }
  ```
</Accordion>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://crypto-api.yativo.com/api/v1/analytics/dashboard-analytics' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "data": {
      "totalAccountValue": 2.47,
      "depositTransactions": [],
      "chartTransactions": [
        {"_id": {"year": 2026, "month": 1}, "totalAmount": 0, "count": 117},
        {"_id": {"year": 2026, "month": 2}, "totalAmount": 0, "count": 304},
        {"_id": {"year": 2026, "month": 3}, "totalAmount": 0, "count": 345}
      ],
      "chartUsers": [
        {"_id": {"year": 2026, "month": 1}, "count": 4},
        {"_id": {"year": 2026, "month": 2}, "count": 3},
        {"_id": {"year": 2026, "month": 3}, "count": 2}
      ]
    },
    "status": true,
    "message": "Analytics Listed Successfully"
  }
  ```
</ResponseExample>
