81trust / 100
Currency Normalize
by HALOWERK Agent Tools in Developer tools
x402 APIPassing, checked 3 h ago
Findet Betraege in Freitext, deutet deutsche und englische Tausender- und Dezimaltrennung richtig, loest Mio, Mrd, Tsd und k auf, erkennt 50 Waehrungen an Symbol, Code oder Wort einschliesslich USDC und Bitcoin und liefert Zahl, Waehrungscode, kleinste Einheit und Fundstelle getrennt. Rechnet bewusst nicht um.
POST https://tools.halowerk.com/v1/currency/normalize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 31 ms typical, 31 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/currency/normalize" \
-H "content-type: application/json" \
-d '{"text":"Das Angebot liegt bei 1.234,50 EUR, die Investition bei $2.5 Mio und die Gebuehr bei 0,004 USDC."}'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%2Fcurrency%2Fnormalize
const res = await pay("https://tools.halowerk.com/v1/currency/normalize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"Das Angebot liegt bei 1.234,50 EUR, die Investition bei $2.5 Mio und die Gebuehr bei 0,004 USDC."}),
});
console.log(await res.json());Example input
{
"text": "Das Angebot liegt bei 1.234,50 EUR, die Investition bei $2.5 Mio und die Gebuehr bei 0,004 USDC."
}Example output
{
"currencies": [
"EUR",
"USD",
"USDC"
],
"findings": [
{
"ambiguous": false,
"amount": 1234.5,
"amount_string": "1234.50",
"currency": "EUR",
"currency_source": "suffix",
"decimals": 2,
"end": 34,
"minor_units": 123450,
"multiplier": 1,
"multiplier_word": null,
"raw": "1.234,50 EUR",
"start": 22
},
{
"ambiguous": false,
"amount": 2500000,
"amount_string": "2500000.00",
"currency": "USD",
"currency_source": "prefix",
"decimals": 2,
"end": 63,
"minor_units": 250000000,
"multiplier": 1000000,
"multiplier_word": "mio",
"raw": "$2.5 Mio",
"start": 55
}
],
"findings_count": 3,
"mixed_currencies": true,
"note": "Erkennung und Normalisierung, keine Umrechnung.",
"total_by_currency": {
"EUR": 1234.5,
"USD": 2500000,
"USDC": 0.004
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 31 ms | $0.001 |