Text Diff

Compare two texts with a Myers diff over lines, words, or characters. Returns structured edit operations, a standard unified diff (line mode), and similarity statistics. Built for agents tracking document revisions, verifying edits, or reviewing generated changes. POST a JSON body like: {"a":"line one\nline two\n","b":"line one\nline 2\n","mode":"lines"}

MediaLiveeip155:8453Exactvia cdp
DiffComparePatchVersionsUnified-diff
Settlements · 30d
59↓ 22%
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days.
$2.52
Verified settled volume
915 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0020
Listed price
As published in the catalog. Always read the live 402 before paying.
7
Calls · 30d
Upstream's own call count for this endpoint, not ours.
2
Unique payers · 30d
Last called 2026-07-20 01:46Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 60
    }
  ],
  "resource": {
    "url": "https://keyronne.com/api/diff-text",
    "tags": [
      "diff",
      "compare",
      "patch",
      "versions",
      "unified-diff"
    ],
    "mimeType": "application/json",
    "description": "Compare two texts with a Myers diff over lines, words, or characters. Returns structured edit operations, a standard unified diff (line mode), and similarity statistics. Built for agents tracking document revisions, verifying edits, or reviewing generated changes. POST a JSON body like: {\"a\":\"line one\\nline two\\n\",\"b\":\"line one\\nline 2\\n\",\"mode\":\"lines\"}",
    "serviceName": "Text Diff"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "a": "line one\nline two\n",
            "b": "line one\nline 2\n",
            "mode": "lines"
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "ops": [
              {
                "op": "equal",
                "text": "line one\n"
              },
              {
                "op": "delete",
                "text": "line two\n"
              },
              {
                "op": "insert",
                "text": "line 2\n"
              }
            ],
            "mode": "lines",
            "stats": {
              "added": 1,
              "removed": 1,
              "unchanged": 1,
              "similarity": 0.5
            },
            "unified": "--- a\n+++ b\n@@ -1,2 +1,2 @@\n line one\n-line two\n+line 2\n",
            "identical": false
          }
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "body": {
                "type": "object",
                "required": [
                  "a",
                  "b"
                ],
                "properties": {
                  "a": {
                    "type": "string",
                    "description": "Original text (up to 300k characters)."
                  },
                  "b": {
                    "type": "string",
                    "description": "Modified text (up to 300k characters)."
                  },
                  "mode": {
                    "enum": [
                      "lines",
                      "words",
                      "chars"
                    ],
                    "type": "string",
                    "default": "lines"
                  },
                  "context": {
                    "type": "integer",
                    "default": 3,
                    "maximum": 20,
                    "minimum": 0
                  }
                }
              },
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            }
          },
          "output": {
            "type": "object",
            "properties": {
              "ops": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "op": {
                      "enum": [
                        "equal",
                        "delete",
                        "insert"
                      ],
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    }
                  }
                }
              },
              "mode": {
                "type": "string"
              },
              "stats": {
                "type": "object",
                "properties": {
                  "added": {
                    "type": "integer"
                  },
                  "removed": {
                    "type": "integer"
                  },
                  "unchanged": {
                    "type": "integer"
                  },
                  "similarity": {
                    "type": "number"
                  }
                }
              },
              "unified": {
                "type": "string",
                "description": "Unified diff (line mode only)."
              },
              "identical": {
                "type": "boolean"
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.002USDC≈ $0.002 USD
on Base · exact scheme

Pay 0.002 USDC on Base to 0xB86F…78fC4. The signed payment is good for 1 minute.

USD Coin contract
0x8335…02913
Payment window
1 minute
As published
2000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
    "amount": "2000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 60
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "a": "line one\nline two\n",
          "b": "line one\nline 2\n",
          "mode": "lines"
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "ops": [
            {
              "op": "equal",
              "text": "line one\n"
            },
            {
              "op": "delete",
              "text": "line two\n"
            },
            {
              "op": "insert",
              "text": "line 2\n"
            }
          ],
          "mode": "lines",
          "stats": {
            "added": 1,
            "removed": 1,
            "unchanged": 1,
            "similarity": 0.5
          },
          "unified": "--- a\n+++ b\n@@ -1,2 +1,2 @@\n line one\n-line two\n+line 2\n",
          "identical": false
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "required": [
                "a",
                "b"
              ],
              "properties": {
                "a": {
                  "type": "string",
                  "description": "Original text (up to 300k characters)."
                },
                "b": {
                  "type": "string",
                  "description": "Modified text (up to 300k characters)."
                },
                "mode": {
                  "enum": [
                    "lines",
                    "words",
                    "chars"
                  ],
                  "type": "string",
                  "default": "lines"
                },
                "context": {
                  "type": "integer",
                  "default": 3,
                  "maximum": 20,
                  "minimum": 0
                }
              }
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "ops": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "op": {
                    "enum": [
                      "equal",
                      "delete",
                      "insert"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                }
              }
            },
            "mode": {
              "type": "string"
            },
            "stats": {
              "type": "object",
              "properties": {
                "added": {
                  "type": "integer"
                },
                "removed": {
                  "type": "integer"
                },
                "unchanged": {
                  "type": "integer"
                },
                "similarity": {
                  "type": "number"
                }
              }
            },
            "unified": {
              "type": "string",
              "description": "Unified diff (line mode only)."
            },
            "identical": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-07-20 01:46Z
Last indexed by Roundhouse
2026-08-10 08:20Z
Last enriched (probe, favicon, geo)
2026-09-14 00:15Z
x402 version
2
Max timeout
60s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service Text Diff and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Text%20Diff'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://keyronne.com/api/diff-text, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.