# ScrapeCheck XML Verification

> ScrapeCheck XML Verification is a paid API for AI agents from scrapecheck.fly.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Verifies that a claimed value exists at a specified element or attribute path in a public XML document, using deterministic double re-fetch with no LLM involvement

## Facts

- Endpoint: POST https://scrapecheck.fly.dev/verify-xml
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapecheck-xml-verification-22bdfc04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lGPoxm93fISgioLNoRCxi

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 scrapecheck-xml-verification-22bdfc04 -d '<json body>'
```

Example prompt: Can you independently verify that the sitemap at https://example.com/sitemap.xml actually contains the URL 'https://example.com/about' at the path urlset.url[0].loc — I want a double re-fetch confirmation, not just my word for it?

## When to prefer this

Use this endpoint when you need deterministic, LLM-free verification of a specific value inside an XML document such as an RSS feed, Atom feed, or XML sitemap. Prefer this over the HTML tier (/verify) when the source is structured XML, and over the JSON tier (/verify-json) when the document is XML rather than JSON. Ideal when you need provable, auditable double-fetch confirmation with no probabilistic inference.

## Known failure modes

- Path does not exist in the XML document — returns unverifiable
- Value at path does not match the claimed value — returns not verified
- URL is not publicly accessible or returns non-200 — fetch error
- Document is not valid XML — parse failure
- Volatile or frequently changing values may return unverifiable across double-fetch
- Ambiguous path expressions that match multiple nodes return unverifiable

## How this service works

XML tier (deterministic, no LLM): verifies a claimed value lives at a named path in a public XML document, by independent double re-fetch. Use it for feeds and sitemaps; for JSON use /verify-json, for HTML use /verify. Paths address elements and @attributes (urlset.url[0].loc). String-exact; ambiguous or volatile values return unverifiable, never a guess. First 100 checks per client are free: resend with header X-Use-Free-Allowance: yes and no payment to use them.

## Output

Returns a structured result indicating whether the claimed value was verified as present at the specified XML path in the live document, or marked as 'unverifiable' if the path is ambiguous or the content is volatile. Never guesses — only confirms exact string matches or reports inability to confirm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "public HTTPS URL"
  },
  "claim": {
   "type": "object",
   "description": "see the route description; there is no asked field - this tier adjudicates exactly what it accepts"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "engine": "web_field_v1/0.2.0+2ae28205cac4",
  "key_id": "k2",
  "reasons": [
   "claimed value found at path \"urlset.url[0].loc\" (matched element: url)"
  ],
  "verdict": "pass",
  "evidence": {
   "lens_votes": {},
   "refetched_at": "2026-08-28T00:00:00.000Z",
   "refetch_excerpt": "{\"urlset.url[0].loc\":\"https://scrapecheck.fly.dev/\"}",
   "second_fetch_at": "2026-08-28T00:00:01.000Z"
  },
  "signature": "ed25519:…",
  "check_type": "xml_field_v1",
  "confidence": 0.95,
  "verdict_id": "00000000-0000-0000-0000-000000000000",
  "source_hash": "sha256:…",
  "verifier_url": "https://scrapecheck.fly.dev"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapecheck-xml-verification-22bdfc04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapecheck.fly.dev](https://www.zero.xyz/host/scrapecheck.fly.dev/llms.txt)
