Api Endpoint

readfetch.com

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

Open interactive test console

Offering

Provider
readfetch.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://readfetch.com/v1/diff
MIME type
application/json
First seen
2026-11-01T15:05:36.808Z
Last seen
Tags
change detection, Data, diff, hash, Monitoring, stateless

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x26C2308aDC8fe5FFE6d4183588DD2DD22ed86071"
  }
]

Observed health

Status
Healthy
Latest latency
290 ms
Average latency
440 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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:…` 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 schema

{
  "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"
}