# BRAINIAC Web Intelligence — Page Change Detector

> BRAINIAC Web Intelligence — Page Change Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Detects and diffs content changes on a web page by comparing the current live version against a previously retrieved markdown snapshot.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/web-intelligence/page-change-detect?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-web-intelligence-page-change-detector-11c6b290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HHxDXATq5z5bV9EJvrxVf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-web-intelligence-page-change-detector-11c6b290 -d '<json body>'
```

Example prompt: Check if https://docs.example.com/changelog has changed since yesterday at 2pm UTC — here's the markdown I captured then: '# Changelog\n\n## v2.1 ...' — and show me exactly what was added or removed.

## When to prefer this

Use this endpoint when you have a previously captured markdown snapshot of a page and want to know precisely what changed — it returns a structured diff rather than just a screenshot or raw HTML. Ideal for autonomous agents that cache page state and need to react to updates without re-processing the entire document. Prefer it over generic scraping endpoints when change detection and diffing are the primary need. At $0.05/call with no account required, it suits high-frequency polling loops in agent workflows.

## Known failure modes

- Invalid or unreachable URL returns an error or non-200 httpStatus
- previousMarkdown exceeding 200,000 characters is rejected
- Malformed previousRetrievedAt datetime fails schema validation
- Page behind authentication/bot protection may return incomplete or blocked content
- Diff output is truncated at 40 added/removed lines with a warning
- Redirects are followed and finalUrl may differ from requestedUrl

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object indicating whether the page changed (boolean), a list of diff lines each tagged as 'added' or 'removed', the current markdown rendering, SHA-64 hashes for both snapshots, the final resolved URL, HTTP status, content type, retrieval timestamps, and any warnings (e.g. truncation at 40 diff lines).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?:\\/\\/\\S+$",
   "maxLength": 2000,
   "minLength": 8
  },
  "previousMarkdown": {
   "type": "string",
   "maxLength": 200000
  },
  "previousRetrievedAt": {
   "type": "string",
   "format": "date-time",
   "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "changed": true,
  "changes": [
   {
    "kind": "removed",
    "text": "Previous snapshot"
   },
   {
    "kind": "added",
    "text": "Example Domain"
   }
  ],
  "sources": [
   {
    "url": "https://example.com/",
    "source": "Public HTTP response",
    "retrievedAt": "2026-11-02T18:00:00.000Z"
   }
  ],
  "finalUrl": "https://example.com/",
  "warnings": [
   "Only the first 40 added or removed lines are listed."
  ],
  "httpStatus": 200,
  "contentType": "text/html",
  "currentHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "limitations": [
   "The previous snapshot is supplied by the caller and is not stored."
  ],
  "retrievedAt": "2026-11-02T18:00:00.000Z",
  "previousHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "requestedUrl": "https://example.com/",
  "currentMarkdown": "# Example Domain\n\nThis domain is for use in documentation examples.",
  "previousRetrievedAt": "2026-11-01T18:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-web-intelligence-page-change-detector-11c6b290/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
