80trust / 100

T Fn At Validate

by Toll402 in Company & people data

x402 APIPassing, checked 20 min ago

Offline validator for an Austrian Firmenbuchnummer (FN), the company register number. Normalizes the numeric part (1-6 digits, left-padded to 6 for calculation), computes the modulo-11 check letter using weights 2,1,2,1,2,1 (Luhn-style digit reduction for products >=9 by subtracting 9) and the standard letter table (0=p,1=a,2=b,3=c,4=d,5=e,6=f,7=g,8=h,9=i,10=k), and compares it to the supplied check letter.

POST https://toll402.dev/v1/t/fn_at_validate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
288 ms typical, 288 ms slowest 5%
Last check
20 min ago
Next check
in 13 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://toll402.dev/v1/t/fn_at_validate" \
  -H "content-type: application/json" \
  -d '{"value":"123456k"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftoll402.dev%2Fv1%2Ft%2Ffn_at_validate
const res = await pay("https://toll402.dev/v1/t/fn_at_validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"value":"123456k"}),
});
console.log(await res.json());

Example input

{
  "value": "123456k"
}

Example output

{
  "ok": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
20 min agoPassed402351 ms$0.001
4 h agoPassed402288 ms$0.001
9 h agoPassed402141 ms$0.001