Compare two supplied HTML snapshots and separate markup churn from a content cha
Compare two supplied HTML snapshots and separate markup churn from a content change. Reports markup that changed while the readable content did not, which is a template or build change; the readable lines added and removed; and changes to the title, canonical, robots directive, meta values and declared structured-data types. Content is compared by line presence rather than position, so a reflowed paragraph is not reported as wholly rewritten. Nothing is fetched.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/html-snapshot-diff
| Category | Everything else |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.12 | 3361 ms |
Example input (from the provider)
{
"body": {
"after": "<!doctype html><html><head><title>Widget - Example</title><meta name=\"description\" content=\"A widget.\"><meta property=\"og:title\" content=\"Widget, now cheaper\"><link rel=\"canonical\" href=\"https://example.test/widgets/widget-1\"><script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"name\":\"Widget\"}</script></head><body><div class=\"layout\"><h1>Widget</h1><p>One widget.</p><a href=\"/widgets/widget-2\">Widget 2</a><a href=\"https://partner.test/review\">A review</a><table><tr><th>sku</th><th>price</th></tr><tr><td>W-1</td><td>12.50</td></tr></table></div></body></html>",
"before": "<!doctype html><html><head><title>Widget - Example</title><meta name=\"description\" content=\"A widget.\"><meta property=\"og:title\" content=\"Widget, now cheaper\"><link rel=\"canonical\" href=\"https://example.test/widgets/widget-1?ref=newsletter\"></head><body><h1>Widget</h1><p>One widget.</p><a href=\"/widgets/widget-2\">Widget 2</a><a href=\"https://partner.test/review\">A review</a><table><tr><th>sku</th><th>price</th></tr><tr><td>W-1</td><td>10.00</td></tr></table></body></html>",
"url": "https://example.test/widgets/widget-1"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"after": {
"maxLength": 262144,
"type": "string"
},
"before": {
"maxLength": 262144,
"type": "string"
},
"url": {
"maxLength": 2048,
"type": "string"
}
},
"required": [
"before",
"after"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}