73trust / 100

Lock Operations

by ort.halowerk.com in Other

x402 APIPassing, checked 9 h ago

Read official operating and holiday rules for sixteen Main-Danube-Canal locks, with unchanged WSV closure tables, notice links and bounded source age. Maintained ELWIS/WSA Donau MDK snapshot for sixteen specified Main-Donau-Kanal locks. Preserves seasonal/weekday/holiday expressions, all conditions, closure-table cell spans, expiry labels and NfB references. Two explicit source years, shared source refresh and15minute maximum source age.

POST
https://ort.halowerk.com/v1/lock-operations
Price
$0.004
per call in USDC
Uptime
81.8%
last 30 days
Response time
118 ms
132 ms slowest 5%
Last check
Passed
9 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://ort.halowerk.com/v1/lock-operations

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://ort.halowerk.com/v1/lock-operations
content-type: application/json

{
  "sluice_id": 352
}

Parameters

ParameterTypeRequiredDescription
sluice_idintegerYes One of: 352, 353, 354, 355, 1, 2, 3, 4, 5, 6, 7, 8.
yearintegerNo

Example response

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

Example response, 161 lines
{
  "limitations": [
    "Only the sixteen WSV… [truncated, 365 chars]"
  ],
  "result": {
    "available_years": [
      2026
    ],
    "closure_overview_as_reported": {
      "dates_or_current_closure_evaluated": false,
      "generic_multi_lock_rows_present": true,
      "matching_sluice_row_indices": {
        "1": [
          9
        ],
        "2": [
          10
        ],
        "3": [
          11
        ],
        "4": [
          12
        ],
        "5": [
          13
        ],
        "6": [
          14
        ],
        "7": [
          15
        ],
        "8": [
          16
        ],
        "9": [
          17
        ],
        "10": [
          18
        ],
        "11": [
          19
        ],
        "12": [
          20
        ],
        "352": [
          5
        ],
        "353": [
          6
        ],
        "354": [
          7
        ],
        "355": [
          8
        ]
      },
      "scope": "Entire Main-Donau-Ka… [truncated, 89 chars]",
      "table_as_reported": {
        "rows": [
          {
            "cells": [
              {
                "annotations": [],
                "colspan": 1,
                "kind": "th",
                "links": [],
                "rowspan": 3,
                "text_as_reported": "km"
              }
            ]
          }
        ],
        "source_html_sha256": "852c0e0002e2a5b4c586… [truncated, 64 chars]"
      },
      "waterway_id": 35,
      "waterway_name": "Main-Donau-Kanal",
      "year": 2026
    },
    "coverage": "WSV Main-Donau-Kanal… [truncated, 30 chars]",
    "current_open_or_closed_state_determined": false,
    "notes": [
      "Regulatory operating… [truncated, 290 chars]"
    ],
    "sluice": {
      "current_notice_references": [],
      "holiday_rules_as_reported": {
        "rows": [
          {
            "cells": [
              {
                "annotations": [],
                "colspan": 1,
                "kind": "th",
                "links": [],
                "rowspan": 1,
                "text_as_reported": "Feiertag"
              }
            ]
          }
        ],
        "source_html_sha256": "1476996702d53f1e943a… [truncated, 64 chars]"
      },
      "name": "Bamberg",
      "no_current_notices_statement_as_reported": "Es liegen keine aktu… [truncated, 60 chars]",
      "operating_hours_as_reported": {
        "rows": [
          {
            "cells": [
              {
                "annotations": [],
                "colspan": 1,
                "kind": "th",
                "links": [],
                "rowspan": 1,
                "text_as_reported": "Zeitraum"
              }
            ]
          }
        ],
        "source_html_sha256": "5fe9497a31313c287a51… [truncated, 64 chars]"
      },
      "schedule_context_as_reported": "Betriebszeiten der S… [truncated, 3610 chars]",
      "sluice_id": 352,
      "source_url": "https://www.elwis.de… [truncated, 81 chars]"
    },
    "snapshot": {
      "assembled_at": "2026-11-19T13:38:28.… [truncated, 24 chars]",
      "checked_at": "2026-11-19T13:48:00.… [truncated, 24 chars]",
      "maximum_source_age_seconds": 900,
      "minimum_request_interval_seconds": 35,
      "oldest_source_age_seconds": 750,
      "refresh_cycle_seconds": 600,
      "source_fetches_per_customer_request": 0,
      "sources": [
        {
          "bytes": 127552,
          "method": "POST",
          "name": "bulk-regular",
          "retrieved_at": "2026-11-19T13:35:31.… [truncated, 32 chars]",
          "sha256": "ce8eefaf66d131d1c6b2… [truncated, 64 chars]",
          "source_path": "/DE/dynamisch/Wasser… [truncated, 53 chars]",
          "status": 200
        }
      ]
    },
    "source": {
      "attribution": "Quelle: www.elwis.de… [truncated, 185 chars]",
      "homepage": "https://www.elwis.de",
      "publisher": "Wasserstraßen- und S… [truncated, 68 chars]",
      "reuse": "Official directly pu… [truncated, 168 chars]",
      "terms_url": "https://www.elwis.de… [truncated, 122 chars]"
    }
  },
  "service": "lock-operations",
  "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://ort.halowerk.com/v1/lock-operations' \
  -H 'content-type: application/json' \
  --data-raw '{"sluice_id":352}'

# 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://ort.halowerk.com/v1/lock-operations' \
  -H 'content-type: application/json' \
  --data-raw '{"sluice_id":352}' \
  | 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%2Fort.halowerk.com%2Fv1%2Flock-operations&method=POST
const res = await pay("https://ort.halowerk.com/v1/lock-operations", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "sluice_id": 352
  }),
});
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://ort.halowerk.com/v1/lock-operations",
        json={
            "sluice_id": 352,
        },
    )
    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
9 h agoPassed402128 ms$0.004
26 h agoTimed out---
3 days agoTimed out---
4 days agoPassed402116 ms$0.004
5 days agoPassed40245 ms$0.004
Show 6 older checks
5 days agoPassed40242 ms$0.004
5 days agoPassed402132 ms$0.004
6 days agoPassed402118 ms$0.004
6 days agoPassed402122 ms$0.004
7 days agoPassed402125 ms$0.004
7 days agoPassed40254 ms$0.004