{
  "x402Version": 2,
  "id": 15235,
  "slug": "15235",
  "resource": "https://medien.halowerk.com/v1/doc-diff",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "medien.halowerk.com",
  "lastUpdated": "2026-09-14T20:03:06.073Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T20:03:05.515Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "medien.halowerk.com",
    "manifest_name": "medien.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}