# Get stats from dashboard

`GET https://api.cryptohopper.com/v1/hopper/{id}/stats/dashboard`

Part of [Hoppers](https://www.cryptohopper.com/api-documentation/api-reference/hoppers.md) in the Cryptohopper API reference.

Returns the dashboard totals of the hopper: amount invested, total returns, value of open positions and fees paid.

OAuth scope: `read`

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | no | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Hopper ID. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/stats/dashboard" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "total_invest": "1250.0000000000000000",
        "total_returns": "1285.2000000000000000",
        "total_positions": "812.5000000000000000",
        "total_fees": "3.1000000000000000"
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
