---
title: "api/sensors/measurements GET
Request all sensor measurements from a certain interval (hour, day, week, month, year) and index (0=until now, 1=previous interval, etc.)"
method: GET
path: "/api/sensors/measurements"
tags: ["Api\\MeasurementController"]
---

# api/sensors/measurements GET
Request all sensor measurements from a certain interval (hour, day, week, month, year) and index (0=until now, 1=previous interval, etc.)

`GET /api/sensors/measurements`

## Headers

- `Authorization` string
- `Content-Type` string
- `Accept` string
- `Accept-language` string

## Request body

- object
  - `id` integer — ID to look up the sensor (Device)
  - `key` string — DEV EUI to look up the sensor (Device).
  - `hive_id` integer — Hive ID to look up the sensor (Device)
  - `start` string — Date for start of measurements. Required without interval & index.
  - `end` string — Date for end of measurements. Required without interval & index.
  - `index` integer — Interval index (>=0; 0=until now, 1=previous interval, etc.). Default: 0.
  - `interval` string — Data interval for interpolation of measurement values: hour (2min), day (10min), week (1 hour), month (3 hours), year (1 day). Default: day.
  - `timeGroup` string
  - `names` string — comma separated list of Measurement abbreviations to filter request data (weight_kg, t, h, etc.)
  - `weather` integer — Load corresponding weather data from the weather database (1) or not (0).
  - `clean_weight` integer
  - `timezone` string — Provide the front-end timezone to correct the time from UTC to front-end time.
  - `relative_interval` integer — Load data from the selected interval relative to current time (1), or load data in absolute intervals (from start-end of hour/day/week/etc) (0). Default: 0.

## Other responses

- `500`

## Changes

- **2026-07-17** `7f1e35deb524` — 2 info
  - added the non-success response with the status `500`
  - removed the non-success response with the status `401`
- **2023-05-10** `f514370b41c6` — 1 info
  - added the new optional request property `clean_weight`
- **2023-02-01** `24f68ed65e1c` — 2 info
  - added the non-success response with the status `401`
  - removed the non-success response with the status `500`
- **2022-12-20** `db62247285c8` — 2 info
  - added the non-success response with the status `500`
  - removed the non-success response with the status `401`
- **2022-06-20** `a87569f002e1` — 1 info
  - added the new optional `header` request parameter `Accept-language`

[Full history](https://skmtc.dev/beepnl/apis/beep/changes/api/sensors/measurements/get.md)

---

[API](https://skmtc.dev/beepnl/apis/beep.md) · [All operations](https://skmtc.dev/beepnl/apis/beep/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beepnl/beep/revisions/7f1e35deb524/schema)
