---
title: "Rawdata v2 - Get"
method: POST
path: "https://wbsapi.withings.net/v2/rawdata"
tags: ["rawdata"]
---

# Rawdata v2 - Get

`POST https://wbsapi.withings.net/v2/rawdata`

## Request

- Base URL: `https://wbsapi.withings.net`
- URL: `https://wbsapi.withings.net/https://wbsapi.withings.net/v2/rawdata`
- Auth: none declared. Required headers: `Authorization`

This service allows to fetch raw data of a specific type that were captured and synchronized by a Withings device. Detailled information about the data structure can be found in the [Raw Data structure section](/developer-guide/v3/integration-guide/public-health-data-api/data-api/raw-data).

## Query parameters

- `action` string, required
- `hash_deviceid` string, required
- `rawdata_type` integer, required
- `startdate` integer, required
- `enddate` integer, required
- `offset` integer

## Headers

- `Authorization` string, required

## Response `200`

(Click to unfold)

- object
  - `status` integer: Response status. See <a href='#tag/response_status'>Status</a> section for details.
  - `body` object: Response data.
    - `rawdata` RawdataGetRawdataObject[]
      - `data` string
      - `hash_deviceid` string: ID of the device. This ID is returned in other services to know which device tracked a data. Then device's model or type can be known using this information.
      - `type` integer: Type of the measure. See ```meastype``` input parameter.
      - `format_version` integer
      - `firmware_version` integer
      - `sensor_name` string
      - `startdate` integer: The starting datetime for the sleep state data.
      - `enddate` integer: The end datetime for the sleep data. A single call can span up to 7 days maximum. To cover a wider time range, you will need to perform multiple calls.
    - `more` boolean: To know if there is more data to fetch or not.
    - `offset` integer: Offset to use to retrieve the next data.

---

[API](https://skmtc.dev/withings/apis/withings-developer-documentation.md) - [All operations](https://skmtc.dev/withings/apis/withings-developer-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/withings/apis/withings-developer-documentation/revisions/9e9accd01d4b?raw)
