H

Halowerk · DOC Merge

by Halowerk

POSTBase

$0.004

per call · USD Coin on Base

Takes three documents — the common base and the two versions derived from it — as text, public URLs or inline base64, reads PDF, DOCX, ODT, HTML and Markdown, and returns one merged document. The procedure is diff3 over paragraphs, or over lines if you ask for that: each version is first compared against the base with a Myers shortest-edit-script, the two comparisons together yield the passages that are identical in all three, and each region between them is resolved by rule.

Endpoint

POST https://buero.halowerk.com/v1/doc-merge

1

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://buero.halowerk.com/v1/doc-merge", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "a": {
      "text": "§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zwanzig Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft zwoelf Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 14 Tagen faellig."
    },
    "b": {
      "text": "§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zehn Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft vierundzwanzig Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 60 Tagen faellig."
    },
    "base": {
      "text": "§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zehn Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft zwoelf Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 30 Tagen faellig."
    },
    "label_a": "einkauf",
    "label_b": "recht"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://buero.halowerk.com/v1/doc-merge" \
  -H "Content-Type: application/json" \
  -d '{"a":{"text":"§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zwanzig Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft zwoelf Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 14 Tagen faellig."},"b":{"text":"§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zehn Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft vierundzwanzig Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 60 Tagen faellig."},"base":{"text":"§ 1 Gegenstand\nDer Auftragnehmer liefert Steuergeraete nach Anlage 1.\n\n§ 2 Menge\nGeliefert werden zehn Geraete.\n\n§ 3 Lieferort\nLieferort ist das Werk Ulm.\n\n§ 4 Laufzeit\nDer Vertrag laeuft zwoelf Monate.\n\n§ 5 Gerichtsstand\nGerichtsstand ist Berlin.\n\n§ 6 Zahlung\nDie Verguetung ist binnen 30 Tagen faellig."},"label_a":"einkauf","label_b":"recht"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x2880edfff13100677bf97a3cbdf3bc34771c4e5e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Halowerk & similar services

H

Halowerk · LLM Catalog

modell.halowerk.com

A comparison table of language models: input, output and cache prices per million tokens, context window, maximum output length, batch discount and a short note on what each is suited to. Filter by vendor, by a maximum price, by the context window you need, or by capability tag. Every row carries the date its prices were last checked, so a stale figure is visible rather than silently wrong.

POSTBaseAI & Inference
$0.005 / call8 calls / 30d
H

Halowerk · EV Charging

karte.halowerk.com

Queries OpenStreetMap for charging stations within a radius of a point and returns each with its position, distance, operator, network, connector types with their individual power ratings and socket counts, access restrictions, fee status, opening hours and whether authentication is required. Results are sorted nearest first and can be filtered to a minimum power or a required connector type, which is the question a vehicle actually has.

POSTBaseOther
$0.005 / call5 calls / 30d
H

Halowerk · Inverter Load Check

solar.halowerk.com

Continuous load is the sum of the running watts of all appliances marked as simultaneous. The surge check adds the largest single starting surge on top of the continuous load, which is the case that trips an inverter; simultaneous starts of two motors are reported separately as a second figure. Starting factors and power factors are design rules of thumb per appliance class and are stated in the response, they are not device data.

POSTBaseOther
$0.002 / call4 calls / 30d