bund.dev Pegel API

The pegel API from bund.dev — 2 operation(s) for pegel.

GitHub OpenAPI

Operations 2

POST /webservices/get_infospegel.php Infos zu einem Pegel #
GET /webservices/get_lagepegel.php Lage der Pegel mit Pegelnummern #

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bund-dev:bund-dev-pegel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bund-dev-pegel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bund Dev Pegel API
  version: 1.0.0
  contact:
    name: Länderübergreifendes Hochwasser Portal
    url: https://www.hochwasserzentralen.de/kontakte
  description: 'Operations tagged pegel across 2 of this provider''s published API definitions: hochwasserzentralen.yaml, bund-dev-hochwasserzentralen-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.hochwasserzentralen.de
tags:
- name: pegel
paths:
  /webservices/get_infospegel.php:
    post:
      summary: Infos zu einem Pegel
      description: Rückgabe von Informationen zu einem Pegelbetreiber.
      operationId: getPegelInfosByPegelnummer
      tags:
      - pegel
      responses:
        '200':
          description: OK
          content:
            text/html:
              schema:
                $ref: '#/components/schemas/InfosPegel'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                pgnr:
                  type: string
                  example: HE_24820206
                  description: Pegelnummer
    servers:
    - url: https://www.hochwasserzentralen.de
  /webservices/get_lagepegel.php:
    get:
      summary: Lage der Pegel mit Pegelnummern
      description: Rückgabe von allen Pegeln und deren Lage.
      operationId: getAllLagePegel
      tags:
      - pegel
      responses:
        '200':
          description: OK
          content:
            text/html:
              schema:
                $ref: '#/components/schemas/LagePegel'
    servers:
    - url: https://www.hochwasserzentralen.de
components:
  schemas:
    LagePegel:
      type: object
      properties:
        HW:
          type: array
          items:
            type: string
          example:
          - '-1'
          - '-1'
          - '-1'
        LAT:
          type: array
          items:
            type: string
          example:
          - '47.1601'
          - '53.9014'
          - '51.1248'
        LON:
          type: array
          items:
            type: string
          example:
          - '7.5470'
          - '9.8853'
          - '10.1968'
        PGNR:
          type: array
          items:
            type: string
          example:
          - CH_2155
          - SH_114289
          - HE_41700105
    InfosPegel:
      type: object
      properties:
        PN:
          type: string
          example: Ruppertsburg
        GW:
          type: string
          example: Horloff
        URL_PEGEL:
          type: string
          example: http://static.hlug.de/medien/wasser/pegelportal/pegelseite.php?pn=24820206
        HW:
          type: string
          example: '0'
        HW_TXT:
          type: string
          example: Kein Hochwasser
        ZEIT:
          type: string
          example: Heute, 11:30 Uhr
        W:
          type: string
          description: Wasserstand
          example: 12 cm
        Q:
          type: string
          example: ''
        HINT:
          type: string
          example: ''
        URL_LAND:
          type: string
          example: https://www.hochwasser-hessen.de/
        ID_LAND:
          type: string
          example: HE
x-refined-from:
- hochwasserzentralen.yaml
- bund-dev-hochwasserzentralen-openapi.yml