# Get most traded currencies

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

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

Returns the currencies the hopper traded in the last 30 days with their trade count, average result and average holding time in hours, most traded first.

OAuth scope: `read`

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | 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/mosttraded" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": [
        {
            "tradeAmount": "42",
            "currency": "BTC",
            "profit": "1.2345",
            "averageHoldingTimeInHours": "5.3"
        },
        {
            "tradeAmount": "17",
            "currency": "ETH",
            "profit": "0.8712",
            "averageHoldingTimeInHours": "9.1"
        }
    ]
}
```

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.
