74trust / 100

Csv To Api

by daten.halowerk.com in Documents & files

x402 APIPassing, checked 1 h ago

Store a small CSV as a private, expiring read-only JSON query API with filters, projection, ordering and pagination, plus a separate deletion capability. Parses caller-supplied comma, semicolon or tab-separated CSV with the installed csv-parse parser, trims header whitespace and preserves every data cell as a string. Stores the immutable table AES-256-GCM encrypted in a private SQLite namespace, with separate random 256-bit read and delete tokens stored only as hashes.

POST
https://daten.halowerk.com/v1/csv-to-api
Price
$0.004
per call in USDC
Uptime
85.7%
last 30 days
Response time
48 ms
181 ms slowest 5%
Last check
Passed
1 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://daten.halowerk.com/v1/csv-to-api

Each call costs $0.004 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://daten.halowerk.com/v1/csv-to-api
content-type: application/json

{
  "csv": "sku,stock,group\nA001,7,tools\nB002,12,parts\nC003,7,tools\n",
  "expires_in_seconds": 3600
}

Parameters

ParameterTypeRequiredDescription
csvstringYes
delimiterstringNo One of: ,, ;, . Default: ",".
expires_in_secondsintegerNo Default: 3600.

Example response

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

Example response, 29 lines
{
  "limitations": [
    "Limits: 131072 UTF-8 CSV bytes, 1000 data rows, 30 unique headers, 2048 characters per cell, 16384 characters per record and 262144 bytes of parsed table data. Empty data tables with valid headers are accepted.",
    "All comparisons are case-sensitive string comparisons; ordering is ordinal lexicographic, not numeric or date ordering. CSV values, leading zeros and quoted newlines are preserved. No formulas are evaluated.",
    "Use this for non-personal structured data. Do not upload secrets or contact data. Possession of the read token grants the entire table; filters do not provide row-level authorization.",
    "Up to ten AND filters, one ordering column, offset up to 1000 and 1 to 100 returned rows; query JSON at most 32768 bytes, response at most 262144 bytes. No joins, regular expressions, custom SQL or updates.",
    "Lifetime 60 seconds to 24 hours, then access stops and cleanup is lazy. Deletion removes the logical record and invalidates access; it does not certify secure erasure of filesystem pages or backups. Save data elsewhere if needed.",
    "At most 200 datasets and 20 MiB of parsed table data per hub. Access tokens must be sent in JSON bodies, never URL paths or query strings. No new storage charges or automatic renewal."
  ],
  "result": {
    "access_token": "cyhqXTEOGAzXhibClh6Gbfob8iWEAabkLRp8RgH8KHk",
    "columns": [
      "sku",
      "stock",
      "group"
    ],
    "csv_sha256": "af1f6cd76464d79c5bf057f31dd8d3e025023f227cebd3e07c71d784ae862cd1",
    "dataset_id": "7a388842a933c61f7e5a5d8e35c1df65",
    "dataset_sha256": "9d5594d95d48c38644f63c72e93ecdbc164238186ef46336705d0278aa66d1d9",
    "delete_token": "cXYYPgL_Ldy-FTOF27hhSboDdtVNB_qXhuSk536T6S0",
    "delete_url": "https://daten.halowerk.com/dataset/delete",
    "expires_at": "2026-11-19T14:30:19.723Z",
    "input_bytes": 56,
    "query_url": "https://daten.halowerk.com/dataset/query",
    "row_count": 3
  },
  "service": "csv-to-api",
  "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.004.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://daten.halowerk.com/v1/csv-to-api' \
  -H 'content-type: application/json' \
  --data-raw '{"csv":"sku,stock,group\nA001,7,tools\nB002,12,parts\nC003,7,tools\n","expires_in_seconds":3600}'

# 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://daten.halowerk.com/v1/csv-to-api' \
  -H 'content-type: application/json' \
  --data-raw '{"csv":"sku,stock,group\nA001,7,tools\nB002,12,parts\nC003,7,tools\n","expires_in_seconds":3600}' \
  | 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.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
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.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdaten.halowerk.com%2Fv1%2Fcsv-to-api&method=POST
const res = await pay("https://daten.halowerk.com/v1/csv-to-api", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "csv": "sku,stock,group\nA001,7,tools\nB002,12,parts\nC003,7,tools\n",
    "expires_in_seconds": 3600
  }),
});
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.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://daten.halowerk.com/v1/csv-to-api",
        json={
            "csv": "sku,stock,group\nA001,7,tools\nB002,12,parts\nC003,7,tools\n",
            "expires_in_seconds": 3600,
        },
    )
    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
1 h agoPassed402116 ms$0.004
12 h agoPassed402131 ms$0.004
21 h agoPassed40246 ms$0.004
32 h agoPassed402181 ms$0.004
2 days agoTimed out---
Show 9 older checks
4 days agoTimed out---
5 days agoPassed40248 ms$0.004
6 days agoPassed40240 ms$0.004
6 days agoPassed40241 ms$0.004
6 days agoPassed402136 ms$0.004
7 days agoPassed40240 ms$0.004
7 days agoPassed40248 ms$0.004
7 days agoPassed40238 ms$0.004
8 days agoPassed402142 ms$0.004