Stateless change detection on readable page text (same HTTP-first extraction as
Stateless change detection on readable page text (same HTTP-first extraction as readfetch_text): fetch the URL, compare to a hash or prior body you store client-side, return changed/unchanged plus optional line diff. First call with no prior fields returns a baseline hash (see hint). `previous_hash` alone detects change without a line diff; add `previous_content` when you need added/removed/diff. A no-change answer is still billable when text was delivered. Prefer readfetch_t
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://readfetch.com/v1/diff
| Category | Commerce and shopping |
|---|---|
| Provider host | readfetch.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"format": "text",
"timeout_s": 30,
"url": "https://example.com"
},
"bodyType": "json",
"description": "Stateless change detection. Send the hash you hold, get back whether it changed and a bounded diff.",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$defs": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"format": {
"default": "text",
"description": "Extraction flavour for this fetch and for the hash (default text). Must match how you built `previous_content` if you send it.",
"enum": [
"text",
"markdown"
],
"type": "string"
},
"previous_content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Full prior extracted text (what you stored from readfetch_text/readfetch_diff). Required for `added`/`removed`/`diff` output; hash-only compares do not emit a line diff."
},
"previous_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "`sha256:\u2026` or bare hex from readfetch_diff, readfetch_probe `content_sha256`, or a prior text read. Omit on the first poll to establish a baseline hash in the response."
},
"timeout_s": {
"default": 30,
"description": "Total budget for the whole call in seconds, both fetches included. 60 s is the ceiling on this route.",
"maximum": 60,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public http(s) page to re-fetch and compare; must match the extraction used when you saved the hash (same `format`).",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"bodyType": {
"const": "json"
},
"method": {
"enum": [
"POST"
]
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"body"
],
"type": "object"
},
"output": {
"properties": {
"added": {
"items": {
"type": "string"
},
"type": "array"
},
"billed": {
"type": "boolean"
},
"changed": {
"type": "boolean"
},
"diff": {
"type": "string"
},
"hash": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"removed": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
}
}
}