81trust / 100

Address Validate

by HALOWERK Agent Tools in Weather & location

x402 APIPassing, checked 3 h ago

Zerlegt eine einzeilige oder mehrzeilige Anschrift in Strasse, Hausnummer, Zusatz, Postleitzahl, Ort und Land, erkennt das Land aus dem Text, prueft das Postleitzahlmuster fuer 16 Laender, beachtet die laenderuebliche Reihenfolge von Strasse und Hausnummer und meldet Postfach- und Automatenadressen.

POST https://tools.halowerk.com/v1/address/validate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
41 ms typical, 41 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://tools.halowerk.com/v1/address/validate" \
  -H "content-type: application/json" \
  -d '{"address":"hauptstr. 12a, 48599 gronau, deutschland"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftools.halowerk.com%2Fv1%2Faddress%2Fvalidate
const res = await pay("https://tools.halowerk.com/v1/address/validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"hauptstr. 12a, 48599 gronau, deutschland"}),
});
console.log(await res.json());

Example input

{
  "address": "hauptstr. 12a, 48599 gronau, deutschland"
}

Example output

{
  "completeness": 100,
  "country": "DE",
  "country_name": "Deutschland",
  "formatted": [
    "Hauptstraße 12a",
    "48599 Gronau",
    "Deutschland"
  ],
  "formatted_single_line": "Hauptstraße 12a, 48599 Gronau, Deutschland",
  "hints": [],
  "issues": [],
  "note": "Formatpruefung und Normalisierung. Kein Abgleich gegen ein amtliches Strassenverzeichnis.",
  "parsed": {
    "addition": null,
    "city": "Gronau",
    "house_number": "12a",
    "postal_code": "48599",
    "street": "Hauptstraße"
  },
  "valid": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40241 ms$0.002