77trust / 100

Truck Toll De

by ort.halowerk.com in Other

x402 APIPassing, checked 4 h ago

German HGV toll (Lkw-Maut) per km and per trip from the statutory rates of Annex 1 BFStrMG: infrastructure, air pollution, noise and CO2 components by weight, axles, Euro class and CO2 class. Computes the toll rate as the sum of the four statutory components of Anlage 1 (zu § 3 Absatz 3) BFStrMG, valid since 1 July 2024 (Anlage 1 (zu § 3 Absatz 3) BFStrMG, BGBl. 2023 I Nr. 315; law as last amended by Art. 3 (3) of the Act of 15 May 2026 (BGBl.

POST
https://ort.halowerk.com/v1/truck-toll-de
Price
$0.003
per call in USDC
Uptime
95.7%
last 30 days
Response time
126 ms
442 ms slowest 5%
Last check
Passed
4 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/truck-toll-de

Each call costs $0.003 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/truck-toll-de
content-type: application/json

{
  "axles": 5,
  "co2_class": 1,
  "euro_class": "EURO_VI",
  "gross_weight_t": 40,
  "km_federal_road": 15,
  "km_motorway": 420
}

Parameters

ParameterTypeRequiredDescription
axlesintegerYesNumber of axles of the vehicle or combination.
co2_classintegerNoCO2 emission class under Art. 7ga Directive 1999/62/EC; 5 = zero-emission vehicle. Default: 1.
datestring (date)NoDate of the trip; default today.
euro_classstringNoEmission class; G = category G of Annex 1 no. 2 (cleaner than category A). One of: EURO_VI, EEV, EURO_V, EURO_IV, EURO_III, EURO_II, EURO_I, NONE, G. Default: "EURO_VI".
exemptionstringNoClaimed vehicle exemption under § 1 Abs. 2 BFStrMG. One of: bus, armed_forces_police_emergency_federal, road_maintenance, showmen_circus, humanitarian_aid, agriculture_forestry, craftsman_under_7_5t.
goods_transportbooleanNoVehicle intended or used for road haulage of goods. Default: true.
gross_weight_tnumberYesTechnically permissible maximum mass of the vehicle or combination (sum of the single vehicles).
km_federal_roadnumberNoTolled kilometres on federal roads (Bundesstraßen). Default: 0.
km_motorwaynumberNoTolled kilometres on federal motorways (Bundesautobahnen). Default: 0.
motor_vehicle_weight_tnumberNoFor combinations: technically permissible maximum mass of the motor vehicle alone.

Example response

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

Example response, 34 lines
{
  "limitations": [
    "Information by formula, not legal advice or a binding toll statement.",
    "Toll Collect rounds per tolled section; computing on total kilometres can differ by up to half a cent per section.",
    "The tolled distance must be supplied; toll-free stretches (§ 1 Abs. 3 BFStrMG, e.g. A 6 at the French border, A 5 near Basel) must be excluded by the caller.",
    "Rates before 1 July 2024 (Annexes 2–11) are not modelled."
  ],
  "result": {
    "air_category": "A",
    "co2_class": 1,
    "components_eur_per_km": {
      "air_pollution": 0.023,
      "co2": 0.158,
      "infrastructure": 0.155,
      "noise": 0.012
    },
    "date": "2026-11-19",
    "federal_road_eur": 5.22,
    "km_federal_road": 15,
    "km_motorway": 420,
    "legal_basis": "§ 3 Abs. 1 und 3 BFStrMG i. V. m. Anlage 1 Nr. 1–4",
    "motorway_eur": 146.16,
    "notes": [],
    "rate_cent_per_km": 34.8,
    "rate_eur_per_km": 0.348,
    "rounding": "commercial rounding to full cents on the total (§ 3 Abs. 4 BFStrMG rounds per toll section)",
    "source": "Anlage 1 (zu § 3 Absatz 3) BFStrMG, BGBl. 2023 I Nr. 315; law as last amended by Art. 3 (3) of the Act of 15 May 2026 (BGBl. 2026 I Nr. 148); https://www.gesetze-im-internet.de/bfstrmg/anlage_1.html, retrieved 2026-11-01",
    "tolled": true,
    "total_eur": 151.38,
    "weight_class": "> 18 t, 4 or more axles"
  },
  "service": "truck-toll-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.003.

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/truck-toll-de' \
  -H 'content-type: application/json' \
  --data-raw '{"axles":5,"co2_class":1,"euro_class":"EURO_VI","gross_weight_t":40,"km_federal_road":15,"km_motorway":420}'

# 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/truck-toll-de' \
  -H 'content-type: application/json' \
  --data-raw '{"axles":5,"co2_class":1,"euro_class":"EURO_VI","gross_weight_t":40,"km_federal_road":15,"km_motorway":420}' \
  | 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.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
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.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fort.halowerk.com%2Fv1%2Ftruck-toll-de&method=POST
const res = await pay("https://ort.halowerk.com/v1/truck-toll-de", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "axles": 5,
    "co2_class": 1,
    "euro_class": "EURO_VI",
    "gross_weight_t": 40,
    "km_federal_road": 15,
    "km_motorway": 420
  }),
});
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.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
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/truck-toll-de",
        json={
            "axles": 5,
            "co2_class": 1,
            "euro_class": "EURO_VI",
            "gross_weight_t": 40,
            "km_federal_road": 15,
            "km_motorway": 420,
        },
    )
    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
4 h agoPassed402140 ms$0.003
18 h agoPassed402126 ms$0.003
3 days agoTimed out---
4 days agoPassed402129 ms$0.003
4 days agoPassed40240 ms$0.003
Show 10 older checks
5 days agoPassed402122 ms$0.003
5 days agoPassed402124 ms$0.003
6 days agoPassed402127 ms$0.003
6 days agoPassed40240 ms$0.003
6 days agoPassed40240 ms$0.003
7 days agoPassed402136 ms$0.003
7 days agoPassed402130 ms$0.003
7 days agoPassed402126 ms$0.003
8 days agoPassed402112 ms$0.003
8 days agoPassed40240 ms$0.003