Germany River Water Levels API

Current water level of German federal river gauge stations from PEGELONLINE: station, river, river kilometre, position, latest level in centimetres and when it was measured. Filter by river.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usPlaces, 10 fieldsv1.0

Data from pegelonline.wsv.de/webservices/rest-api/v2/stations.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Riveroptional
River name in capitals as PEGELONLINE writes it, for example RHEIN, ELBE, DONAU. Leave empty for all rivers.
Example: RHEIN

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/germany-pegel-water-levels/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/germany-pegel-water-levels/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"river":"RHEIN"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

rivertext
River name in capitals as PEGELONLINE writes it, for example RHEIN, ELBE, DONAU. Leave empty for all rivers.
example: RHEIN

What's in each record

10 fields: 9 here, 1 technical one under Technical details.

Basics

  • Station name

    Example KONSTANZ-RHEIN

  • River

    River the station measures.

    Example RHEIN

  • Km

    Position along the river, in river kilometres.

    Example 0.5

  • Agency

    Water authority that runs the station.

    Example REGIERUNGSPRÄSIDIUM FREIBURG

  • Water level (cm)

    Latest water level in centimetres.

    Example 260

Location

  • Station latitude

    Example 47.667889

  • Station longitude

    Example 9.172858

  • Level state

    Level compared with the mean low and high water, when the source states it.

    Example normal

Dates

  • Measured

    When the level was measured (UTC).

    Example Dec 6, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe station's own id (uuid).

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
nametextStation name3 of 3
rivertextRiver3 of 3
kmnumberKm3 of 3
latitudenumberStation latitude3 of 3
longitudenumberStation longitude3 of 3
agencytextAgency3 of 3
water_level_cmnumberWater level (cm)3 of 3
measured_atdate and timeMeasured3 of 3
level_statetextLevel state1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordStation nameRiverKmAgencyWater level (cm)Station latitudeStation longitudeLevel stateMeasured
1KONSTANZ-RHEINRHEIN0.5REGIERUNGSPRÄSIDIUM FREIBURG26047.6678899.172858—Dec 6, 2026
2BASEL-RHEINHALLERHEIN164.3BUNDESAMT FÜR UMWELT CH50847.5594867.616666—Dec 6, 2026
3RHEINWEILERRHEIN186.2STANDORT FREIBURG19947.7110597.529275normalDec 6, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Covers the federal waterways run by the German WSV; small streams and state-run gauges are not included.
  • water_level_cm is the latest raw water-level reading (series W); a few stations do not report it and show empty values.
  • Readings are updated by the source every 15 minutes to an hour. Only the latest reading is returned, no history.
  • Open data from the Wasserstraßen- und Schifffahrtsverwaltung des Bundes (WSV); credit WSV / PEGELONLINE when you use it.
  • A river name that the source does not know returns no records. Without a river, a run returns stations from all rivers up to the record limit.

Version history

A run uses the live version unless the request names another one with version.