Api Endpoint

HALOWERK Medien

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.

Open interactive test console

Offering

Provider
medien.halowerk.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://medien.halowerk.com/v1/doc-diff
MIME type
application/json
First seen
2026-10-16T01:57:40.935Z
Last seen
Tags
document, diff, versions, Contract, compare

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
  }
]

Observed health

Status
Healthy
Latest latency
317 ms
Average latency
721 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "required": [
        "a",
        "b"
      ],
      "additionalProperties": false,
      "properties": {
        "a": {
          "type": "object",
          "additionalProperties": false,
          "description": "The earlier version. Exactly one of url, content_base64 or text.",
          "properties": {
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "content_base64": {
              "type": "string",
              "maxLength": 12000000
            },
            "text": {
              "type": "string",
              "maxLength": 400000
            },
            "filename": {
              "type": "string",
              "maxLength": 260
            },
            "format": {
              "type": "string",
              "enum": [
                "auto",
                "pdf",
                "docx",
                "odt",
                "epub",
                "html",
                "markdown",
                "rst",
                "org",
                "latex",
                "rtf",
                "csv",
                "tsv",
                "text"
              ],
              "default": "auto"
            }
          }
        },
        "b": {
          "type": "object",
          "additionalProperties": false,
          "description": "The later version. Same shape as a.",
          "properties": {
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "content_base64": {
              "type": "string",
              "maxLength": 12000000
            },
            "text": {
              "type": "string",
              "maxLength": 400000
            },
            "filename": {
              "type": "string",
              "maxLength": 260
            },
            "format": {
              "type": "string",
              "enum": [
                "auto",
                "pdf",
                "docx",
                "odt",
                "epub",
                "html",
                "markdown",
                "rst",
                "org",
                "latex",
                "rtf",
                "csv",
                "tsv",
                "text"
              ],
              "default": "auto"
            }
          }
        },
        "ignore_whitespace": {
          "type": "boolean",
          "default": true,
          "description": "Treat runs of spaces and tabs as one space before comparing."
        },
        "ignore_case": {
          "type": "boolean",
          "default": false,
          "description": "Compare case-insensitively."
        },
        "include_unchanged": {
          "type": "boolean",
          "default": false,
          "description": "Also list the unchanged blocks. Off by default — the changes are the answer."
        },
        "max_blocks_returned": {
          "type": "integer",
          "minimum": 10,
          "maximum": 2000,
          "default": 300,
          "description": "Ceiling on returned blocks. What is dropped is counted and reported, never silently cut."
        },
        "block_char_limit": {
          "type": "integer",
          "minimum": 80,
          "maximum": 8000,
          "default": 1200,
          "description": "Longer block texts are shortened in the answer; the diff itself always runs on the full text."
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ]
        },
        "bodyType": {
          "type": "string",
          "enum": [
            "json",
            "form-data",
            "text"
          ]
        },
        "body": {
          "type": "object",
          "required": [
            "a",
            "b"
          ],
          "additionalProperties": false,
          "properties": {
            "a": {
              "type": "object",
              "additionalProperties": false,
              "description": "The earlier version. Exactly one of url, content_base64 or text.",
              "properties": {
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "content_base64": {
                  "type": "string",
                  "maxLength": 12000000
                },
                "text": {
                  "type": "string",
                  "maxLength": 400000
                },
                "filename": {
                  "type": "string",
                  "maxLength": 260
                },
                "format": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "pdf",
                    "docx",
                    "odt",
                    "epub",
                    "html",
                    "markdown",
                    "rst",
                    "org",
                    "latex",
                    "rtf",
                    "csv",
                    "tsv",
                    "text"
                  ],
                  "default": "auto"
                }
              }
            },
            "b": {
              "type": "object",
              "additionalProperties": false,
              "description": "The later version. Same shape as a.",
              "properties": {
                "url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "content_base64": {
                  "type": "string",
                  "maxLength": 12000000
                },
                "text": {
                  "type": "string",
                  "maxLength": 400000
                },
                "filename": {
                  "type": "string",
                  "maxLength": 260
                },
                "format": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "pdf",
                    "docx",
                    "odt",
                    "epub",
                    "html",
                    "markdown",
                    "rst",
                    "org",
                    "latex",
                    "rtf",
                    "csv",
                    "tsv",
                    "text"
                  ],
                  "default": "auto"
                }
              }
            },
            "ignore_whitespace": {
              "type": "boolean",
              "default": true,
              "description": "Treat runs of spaces and tabs as one space before comparing."
            },
            "ignore_case": {
              "type": "boolean",
              "default": false,
              "description": "Compare case-insensitively."
            },
            "include_unchanged": {
              "type": "boolean",
              "default": false,
              "description": "Also list the unchanged blocks. Off by default — the changes are the answer."
            },
            "max_blocks_returned": {
              "type": "integer",
              "minimum": 10,
              "maximum": 2000,
              "default": 300,
              "description": "Ceiling on returned blocks. What is dropped is counted and reported, never silently cut."
            },
            "block_char_limit": {
              "type": "integer",
              "minimum": 80,
              "maximum": 8000,
              "default": 1200,
              "description": "Longer block texts are shortened in the answer; the diff itself always runs on the full text."
            }
          }
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}