Takes two documents, by URL, inline base64 or raw text, extracts the text of each and comp
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.
2000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-14
updated
Provider
medien.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"a": {
"format": "text",
"text": "Die Laufzeit betraegt zwoelf Monate."
},
"b": {
"format": "text",
"text": "Die Laufzeit betraegt vierundzwanzig Monate."
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"a": {
"additionalProperties": false,
"description": "The earlier version. Exactly one of url, content_base64 or text.",
"properties": {
"content_base64": {
"maxLength": 12000000,
"type": "string"
},
"filename": {
"maxLength": 260,
"type": "string"
},
"format": {
"default": "auto",
"enum": [
"auto",
"pdf",
"docx",
"odt",
"epub",
"html",
"markdown",
"rst",
"org",
"latex",
"rtf",
"csv",
"tsv",
"text"
],
"type": "string"
},
"text": {
"maxLength": 400000,
"type": "string"
},
"url": {
"maxLength": 2048,
"type": "string"
}
},
"type": "object"
},
"b": {
"additionalProperties": false,
"description": "The later version. Same shape as a.",
"properties": {
"content_base64": {
"maxLength": 12000000,
"type": "string"
},
"filename": {
"maxLength": 260,
"type": "string"
},
"format": {
"default": "auto",
"enum": [
"auto",
"pdf",
"docx",
"odt",
"epub",
"html",
"markdown",
"rst",
"org",
"latex",
"rtf",
"csv",
"tsv",
"text"
],
"type": "string"
},
"text": {
"maxLength": 400000,
"type": "string"
},
"url": {
"maxLength": 2048,
"type": "string"
}
},
"type": "object"
},
"block_char_limit": {
"default": 1200,
"description": "Longer block texts are shortened in the answer; the diff itself always runs on the full text.",
"maximum": 8000,
"minimum": 80,
"type": "integer"
},
"ignore_case": {
"default": false,
"description": "Compare case-insensitively.",
"type": "boolean"
},
"ignore_whitespace": {
"default": true,
"description": "Treat runs of spaces and tabs as one space before comparing.",
"type": "boolean"
},
"include_unchanged": {
"default": false,
"description": "Also list the unchanged blocks. Off by default — the changes are the answer.",
"type": "boolean"
},
"max_blocks_returned": {
"default": 300,
"description": "Ceiling on returned blocks. What is dropped is counted and reported, never silently cut.",
"maximum": 2000,
"minimum": 10,
"type": "integer"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://medien.halowerk.com/v1/doc-diff" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://medien.halowerk.com/v1/doc-diff");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://medien.halowerk.com/v1/doc-diff")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15235.json, and this resource appears in /discovery/resources and /discovery/search.