---
title: "Get the data of an endpoint"
method: GET
path: "/api/v2/endpointData"
tags: ["Endpoint data"]
---

# Get the data of an endpoint

`GET /api/v2/endpointData`

## Request

- Base URL: `https://gear.cloud.studio`
- URL: `https://gear.cloud.studio/api/v2/endpointData`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `accessToken`

## Query parameters

- `endpointID` integer, required
- `dateFrom` string
- `dateTo` string
- `maxCount` integer

## Response `200`

Matching readings.

- EndpointData[]
  - `EndpointID` integer
  - `Timestamp_UTC` string
  - `Value` number, double: Numeric value. Scalar endpoints and IAS zones.
  - `IsOn` boolean: Appliances and dimmers.
  - `IsMoving` boolean: Closures.
  - `DimLevel` integer: Dimmers.
  - `Position` integer: Closure controllers.
  - `ActiveEnergy` number, double: Power meters.
  - `ReactiveEnergy` number, double: Power meters.
  - `ApparentEnergy` number, double: Power meters.
  - `SequenceNumber` integer

## Other responses

- `500`: The request failed. A missing, invalid or expired access token is also reported this way.

---

[API](https://skmtc.dev/cloudstudioiot/apis/cloud-studio-iot-data-extraction-api.md) · [All operations](https://skmtc.dev/cloudstudioiot/apis/cloud-studio-iot-data-extraction-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudstudioiot/apis/cloud-studio-iot-data-extraction-api/revisions/1f497bcfbbb1?raw)
