---
title: "Data Range for Sensor. Each Datapoint in range will be counted towards your api usage limit."
method: GET
path: "/sensors/{sensorId}/data-range"
tags: ["Sensors"]
---

# Data Range for Sensor. Each Datapoint in range will be counted towards your api usage limit.

`GET /sensors/{sensorId}/data-range`

Retrieves all datapoints within a specified timespan the sensor.

## Path parameters

- `sensorId` integer, required

## Query parameters

- `start` string, date-time, required
- `end` string, date-time

## Response `200`

OK

- UniversalDataPointArrayDto[]
  - `dataPointValues` UniversalDataPointDtoMultipleValue[], nullable
    - `paramName` string, nullable
    - `measuringUnit` string, nullable
    - `paramValues` number[], nullable
    - `highChartAuxiliaryData` HighChartAuxiliaryData
      - `color` string, nullable
      - `yAxis` integer
      - `valueDecimal` integer
      - `redCoefficient` integer
      - `greenCoefficient` integer
      - `blueCoefficient` integer
    - `sensorReadingType` integer
  - `dataPointValuesCreatedAt` string[], nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/pulsegrow/apis/pulse-api.md) · [All operations](https://skmtc.net/pulsegrow/apis/pulse-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pulsegrow/pulse-api/revisions/da90547450a6/schema)
