{
  "x402Version": 2,
  "id": 55130,
  "slug": "55130",
  "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",
  "resourceType": "Research",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "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-10-11T08:57:52.982Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T08:57:52.443Z"
  },
  "metadata": {
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  }
}