---
title: "Get consumption"
method: GET
path: "/1/radios/{radio_product_id}/stats/consumption"
tags: ["Stats > Radio Products"]
---

# Get consumption

`GET /1/radios/{radio_product_id}/stats/consumption`

This endpoint allows you to retrieve product consumption stats.

## Path parameters

- `radio_product_id` integer, required

## Query parameters

- `from` string, required — Specify the starting date to get stats
- `station_ids` string — List of station ids for get stats
- `to` string, required — Specify the ending date to get stats

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 0cc1b8a9StatConsumption[]
    - `date` string, required — The date of the consumption stat
    - `bytes` integer, required — The number of bytes consumed
    - `average_bytes_by_listeners` number, required — The average of bytes consumed by listener

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
