# ScanPay URL Watch Batch

> ScanPay URL Watch Batch is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-02).

Batch-monitors a list of URLs for content changes, returning current and previous hashes and a changed flag for each

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/urlwatch-batch?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scanpay-url-watch-batch-c0c473f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wdKFLHPrk5vMpdMwUwudE

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 scanpay-url-watch-batch-c0c473f3
```

Example prompt: Can you check whether any of these pages have changed since we last looked — https://example.com/pricing, https://example.com/docs, and https://example.com/changelog — and tell me which ones are new or different?

## When to prefer this

Choose this endpoint when you need to check multiple URLs for content changes in a single paid call rather than polling each individually. It is ideal for agent workflows that periodically monitor a fixed set of pages (pricing, docs, regulatory notices) and need a hash-based diff signal without storing state themselves. Prefer it over single-URL watchers when you have 2+ URLs to check simultaneously and want to minimize per-call costs.

## Known failure modes

- Invalid or unreachable URL returns ok:false for that entry
- Missing required 'urls' query parameter causes a 400-level error
- Payment not settled via x402 returns 402 Payment Required
- Rate limits or Cloudflare Worker timeouts may cause partial results
- Very large URL batches may exceed request limits

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

A JSON object containing a count of URLs checked, a results array with one entry per URL (ok, url, changed boolean, first_seen boolean, current_hash, previous_hash), and the price in USD charged for the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "urls"
     ],
     "properties": {
      "urls": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uri"
       }
      },
      "state_key": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "product": "scanpay.urlwatch_batch",
  "results": [
   {
    "ok": true,
    "url": "https://example.com/pricing",
    "changed": false,
    "first_seen": false,
    "current_hash": "bb22…",
    "previous_hash": "aa11…"
   }
  ],
  "price_usd": 0.01
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scanpay-url-watch-batch-c0c473f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
