---
title: "Zugriff auf die Ressource Measurement - Rückgabe als Diagramm (PNG)"
method: GET
path: "/stations/{station}/{timeseries}/measurements.png"
tags: ["measurement"]
---

# Zugriff auf die Ressource Measurement - Rückgabe als Diagramm (PNG)

`GET /stations/{station}/{timeseries}/measurements.png`

## Request

- Base URL: `https://www.pegelonline.wsv.de/webservices/rest-api/v2`
- URL: `https://www.pegelonline.wsv.de/webservices/rest-api/v2/stations/{station}/{timeseries}/measurements.png`
- Auth: none declared

Es handelt sich dabei um die gemessenen Rohwerte. Es können maximal Werte der letzten 31 Tage bezogen werden.

## Path parameters

- `station` string, required
- `timeseries` string, required

## Query parameters

- `start` string, datetime
- `end` string, datetime
- `width` number
- `height` number
- `enableSecondaryYAxis` boolean

## Response `200`

OK

## Other responses

- `404`: OK

## Changes

- **2022-09-23** `d7e3f4f1931f`: 1 info
  - added the non-success response with the status `404`
- **2022-03-11** `d5a08f53556d`: 1 info
  - endpoint added
- **2022-03-08** `070f3d339861`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/bundesapi/apis/pegel-online-api/changes/stations/:station/:timeseries/measurements.png/get.md)

---

[API](https://skmtc.dev/bundesapi/apis/pegel-online-api.md) - [All operations](https://skmtc.dev/bundesapi/apis/pegel-online-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bundesapi/apis/pegel-online-api/revisions/136a49861e9c?raw)
