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

# Get total consumption

`GET /1/radios/{radio_product}/stats/total_consumption`

## Request

- Base URL: `https://api.infomaniak.com`
- URL: `https://api.infomaniak.com/1/radios/{radio_product}/stats/total_consumption`
- Auth: HTTP bearer

This endpoint allows you to retrieve product total consumption stats.

## Path parameters

- `radio_product` 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` integer

## 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.dev/infomaniak/apis/api-reference-developer-tools/revisions/96ca7c8a0545?raw)
