82trust / 100

Doc Diff

by medien.halowerk.com in Search & web

x402 APIPassing, checked 5 h ago

Takes two documents, by URL, inline base64 or raw text, extracts the text of each and compares them. Paragraphs are the unit: the answer lists every block that was removed, added, or kept but reworded, and for reworded blocks it names the individual words that went and came, so a single changed number in a long clause is visible instead of the whole clause being flagged. Alongside the content diff a structural comparison reports headings, paragraph, list and table-line counts on both sides.

POST https://medien.halowerk.com/v1/doc-diff

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://medien.halowerk.com/v1/doc-diff" \
  -H "content-type: application/json" \
  -d '{"a":{"format":"text","text":"Die Laufzeit betraegt zwoelf Monate."},"b":{"format":"text","text":"Die Laufzeit betraegt vierundzwanzig Monate."}}'
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%2Fmedien.halowerk.com%2Fv1%2Fdoc-diff
const res = await pay("https://medien.halowerk.com/v1/doc-diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"a":{"format":"text","text":"Die Laufzeit betraegt zwoelf Monate."},"b":{"format":"text","text":"Die Laufzeit betraegt vierundzwanzig Monate."}}),
});
console.log(await res.json());

Example input

{
  "a": {
    "format": "text",
    "text": "Die Laufzeit betraegt zwoelf Monate."
  },
  "b": {
    "format": "text",
    "text": "Die Laufzeit betraegt vierundzwanzig Monate."
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402154 ms$0.002