Data Clean
by HALOWERK Agent Tools in Documents & files
Takes CSV or a list of objects, detects the delimiter itself, unifies column names, infers types including German and English number and date formats, removes duplicates, empty rows and empty columns and reports every change. Additionally returns a derived schema per column with a note on mixed types.
https://tools.halowerk.com/v1/data/clean- Price
- $0.002
- per call in USDC
- Uptime
- 96.9%
- last 30 days
- Response time
- 134 ms
- 209 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://tools.halowerk.com/v1/data/clean
Each call costs $0.002 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://tools.halowerk.com/v1/data/clean
content-type: application/json
{
"csv": "Firma;Umsatz 2025;Datum;Notiz\nBau GmbH;1.234,50;01.03.2026;\nBau GmbH;1.234,50;01.03.2026;\nHolz AG;980,00;15.04.2026;"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
csv | string | No | CSV text; the delimiter is detected |
dedupe | boolean | No | Default: true. |
delimiter | string | No | Force a delimiter |
drop_empty_columns | boolean | No | Default: true. |
drop_empty_rows | boolean | No | Default: true. |
rows | array of object | No | Alternatively: a list of objects |
trim | boolean | No | Default: true. |
Example response
The provider's example. We can't check it without paying.
Example response, 50 lines
{
"columns": [
"firma",
"umsatz_2025",
"datum"
],
"report": {
"columns_in": 4,
"columns_out": 3,
"duplicates_removed": 1,
"empty_columns_removed": [
"notiz"
],
"empty_rows_removed": 0,
"rows_in": 3,
"rows_out": 2,
"type_changes": {},
"values_trimmed": 3
},
"rows": [
{
"datum": "2026-03-01",
"firma": "Bau GmbH",
"umsatz_2025": 1234.5
},
{
"datum": "2026-04-15",
"firma": "Holz AG",
"umsatz_2025": 980
}
],
"schema": {
"datum": {
"mixed": false,
"null_count": 0,
"type": "date"
},
"firma": {
"mixed": false,
"null_count": 0,
"type": "string"
},
"umsatz_2025": {
"mixed": false,
"null_count": 0,
"type": "number"
}
},
"source": "csv"
}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.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tools.halowerk.com/v1/data/clean' \
-H 'content-type: application/json' \
--data-raw '{"csv":"Firma;Umsatz 2025;Datum;Notiz\nBau GmbH;1.234,50;01.03.2026;\nBau GmbH;1.234,50;01.03.2026;\nHolz AG;980,00;15.04.2026;"}'
# 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://tools.halowerk.com/v1/data/clean' \
-H 'content-type: application/json' \
--data-raw '{"csv":"Firma;Umsatz 2025;Datum;Notiz\nBau GmbH;1.234,50;01.03.2026;\nBau GmbH;1.234,50;01.03.2026;\nHolz AG;980,00;15.04.2026;"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
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.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftools.halowerk.com%2Fv1%2Fdata%2Fclean&method=POST
const res = await pay("https://tools.halowerk.com/v1/data/clean", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"csv": "Firma;Umsatz 2025;Datum;Notiz\nBau GmbH;1.234,50;01.03.2026;\nBau GmbH;1.234,50;01.03.2026;\nHolz AG;980,00;15.04.2026;"
}),
});
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.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://tools.halowerk.com/v1/data/clean",
json={
"csv": "Firma;Umsatz 2025;Datum;Notiz\nBau GmbH;1.234,50;01.03.2026;\nBau GmbH;1.234,50;01.03.2026;\nHolz AG;980,00;15.04.2026;",
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 149 ms | $0.002 |
| 14 h ago | Passed | 402 | 144 ms | $0.002 |
| 24 h ago | Passed | 402 | 133 ms | $0.002 |
| 35 h ago | Passed | 402 | 126 ms | $0.002 |
| 45 h ago | Passed | 402 | 146 ms | $0.002 |
Show 10 older checks
| 2 days ago | Passed | 402 | 121 ms | $0.002 |
| 3 days ago | Passed | 402 | 173 ms | $0.002 |
| 3 days ago | Timed out | - | - | - |
| 6 days ago | Timed out | - | - | - |
| 7 days ago | Passed | 402 | 128 ms | $0.002 |
| 7 days ago | Passed | 402 | 158 ms | $0.002 |
| 7 days ago | Passed | 402 | 125 ms | $0.002 |
| 8 days ago | Passed | 402 | 128 ms | $0.002 |
| 8 days ago | Passed | 402 | 118 ms | $0.002 |
| 9 days ago | Passed | 402 | 122 ms | $0.002 |