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

# Get Stats

Retrieve overall statistics.

**Endpoint:** `GET /analytics/stats`

**Authentication:** Required (x-api-key header)

#### Example Request <a href="#example-request-19" id="example-request-19"></a>

```
curl -X GET https://service.roqqu.com/v1/analytics/stats \
  -H "x-api-key: YOUR_API_KEY"
```

#### Example Response <a href="#example-response-19" id="example-response-19"></a>

```
{
  "status": "success",
  "message": "volume data retrieved successfully",
  "data": {
    "total_volume": 622,
    "total_credit": 597,
    "total_debit": 25
  }
}
```
