77trust / 100

River Gauge De

by welt.halowerk.com in Other

x402 APIPassing, checked 2 h ago

Current water levels of the nearest gauges on German federal waterways (Pegelonline): level in cm, time, classification against mean low/high water, gauge zero, further series such as discharge or water temperature, optional history.

POST
https://welt.halowerk.com/v1/river-gauge-de
Price
$0.004
per call in USDC
Uptime
95.8%
last 30 days
Response time
123 ms
177 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://welt.halowerk.com/v1/river-gauge-de

Each call costs $0.004 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://welt.halowerk.com/v1/river-gauge-de
content-type: application/json

{
  "history_hours": 24,
  "lat": 52.21,
  "lon": 7.02,
  "radius_km": 40
}

Parameters

ParameterTypeRequiredDescription
history_hoursintegerNo
latnumberYes
limitintegerNo
lonnumberYes
radius_kmnumberNo

Example response

The provider's example. We can't check it without paying.

Example response, 119 lines
{
  "limitations": [
    "Only gauges of the federal waterways (WSV); state-operated gauges on smaller rivers are not included.",
    "Raw data (Rohdaten), not yet validated."
  ],
  "result": {
    "count": 2,
    "history": {
      "change_cm": 52,
      "first": {
        "timestamp": "2026-11-18T14:30:00+01:00",
        "value": 253
      },
      "hours": 24,
      "last": {
        "timestamp": "2026-11-19T14:15:00+01:00",
        "value": 305
      },
      "max_cm": 305,
      "min_cm": 253,
      "points": 96,
      "station": "RHEINE UNTERSCHLEUSE",
      "values": [
        {
          "timestamp": "2026-11-18T14:30:00+01:00",
          "value": 253
        },
        {
          "timestamp": "2026-11-18T14:45:00+01:00",
          "value": 254
        },
        {
          "timestamp": "2026-11-18T15:00:00+01:00",
          "value": 255
        },
        {
          "timestamp": "2026-11-18T15:15:00+01:00",
          "value": 256
        },
        {
          "timestamp": "2026-11-18T15:30:00+01:00",
          "value": 257
        },
        {
          "timestamp": "2026-11-18T15:45:00+01:00",
          "value": 257
        },
        {
          "timestamp": "2026-11-18T16:00:00+01:00",
          "value": 258
        },
        {
          "timestamp": "2026-11-18T16:15:00+01:00",
          "value": 259
        },
        {
          "timestamp": "2026-11-18T16:30:00+01:00",
          "value": 260
        },
        {
          "timestamp": "2026-11-18T16:45:00+01:00",
          "value": 260
        }
      ]
    },
    "point": {
      "lat": 52.21,
      "lon": 7.02
    },
    "radius_km": 40,
    "source": "Wasserstraßen- und Schifffahrtsverwaltung des Bundes (WSV), PEGELONLINE (pegelonline.wsv.de), Datenlizenz Deutschland – Zero – Version 2.0 (dl-de/zero-2-0)",
    "stations": [
      {
        "agency": "STANDORT MEPPEN",
        "distance_km": 29.5,
        "latitude": 52.288026,
        "longitude": 7.434078,
        "name": "RHEINE UNTERSCHLEUSE",
        "number": "3390020",
        "other_series": [],
        "river_km": 153.03,
        "uuid": "50a449ba-af4c-42c7-b2c4-9a3eda37e1e3",
        "water_level": {
          "gauge_zero_m_nhn": 24.187,
          "interval_min": 15,
          "state_mnw_mhw": "normal",
          "state_nsw_hsw": "unknown",
          "timestamp": "2026-11-19T14:15:00+01:00",
          "trend": null,
          "value_cm": 305
        },
        "waterway": "EMS"
      },
      {
        "agency": "STANDORT MEPPEN",
        "distance_km": 36.7,
        "latitude": 52.496589,
        "longitude": 7.288342,
        "name": "LINGEN-DARME",
        "number": "3500015",
        "other_series": [],
        "river_km": 196.2,
        "uuid": "200363fc-cdc5-4c22-a271-a25d1ba880ed",
        "water_level": {
          "gauge_zero_m_nhn": 14.983,
          "interval_min": 15,
          "state_mnw_mhw": "normal",
          "state_nsw_hsw": "unknown",
          "timestamp": "2026-11-19T14:15:00+01:00",
          "trend": null,
          "value_cm": 253
        },
        "waterway": "EMS"
      }
    ]
  },
  "service": "river-gauge-de",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.004.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://welt.halowerk.com/v1/river-gauge-de' \
  -H 'content-type: application/json' \
  --data-raw '{"history_hours":24,"lat":52.21,"lon":7.02,"radius_km":40}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://welt.halowerk.com/v1/river-gauge-de' \
  -H 'content-type: application/json' \
  --data-raw '{"history_hours":24,"lat":52.21,"lon":7.02,"radius_km":40}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwelt.halowerk.com%2Fv1%2Friver-gauge-de&method=POST
const res = await pay("https://welt.halowerk.com/v1/river-gauge-de", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "history_hours": 24,
    "lat": 52.21,
    "lon": 7.02,
    "radius_km": 40
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://welt.halowerk.com/v1/river-gauge-de",
        json={
            "history_hours": 24,
            "lat": 52.21,
            "lon": 7.02,
            "radius_km": 40,
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40241 ms$0.004
11 h agoPassed402116 ms$0.004
22 h agoPassed402355 ms$0.004
36 h agoPassed402118 ms$0.004
4 days agoTimed out---
Show 10 older checks
5 days agoPassed402116 ms$0.004
5 days agoPassed40242 ms$0.004
6 days agoPassed40239 ms$0.004
6 days agoPassed40239 ms$0.004
6 days agoPassed402122 ms$0.004
7 days agoPassed402122 ms$0.004
7 days agoPassed40240 ms$0.004
7 days agoPassed402132 ms$0.004
8 days agoPassed402158 ms$0.004
8 days agoPassed402130 ms$0.004