> For the complete documentation index, see [llms.txt](https://docs.api.epicbots.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.api.epicbots.xyz/coinsbot/utilitaire/volume-de-commandes.md).

# Volume de commandes

{% hint style="success" %}
Route **publique** — aucune clé API requise.
{% endhint %}

{% hint style="info" %}
Mise en cache **60 secondes** par période.
{% endhint %}

`GET` `/api/coinsbot/users/commandssize`

***

### 🔧 Paramètres

| Paramètre | Requis | Défaut | Description                |
| --------- | :----: | :----: | -------------------------- |
| `hours`   |    ❌   |  `24`  | Fenêtre de temps en heures |

***

### 💡 Exemple

**Sur les 7 derniers jours :**

```http
GET /api/coinsbot/users/commandssize?hours=168
```

***

### ✅ Réponse `200`

```json
{
  "timeRange": 24,
  "totalCommands": 128000,
  "topGuilds": [
    { "guildId": "123", "totalCommands": 4200 }
  ],
  "topUsers": [
    { "userId": "456", "totalCommands": 890 }
  ]
}
```

***

### ❌ Erreurs

|  Code | Cause          |
| :---: | -------------- |
| `500` | Erreur interne |
