s2ar

watch

/v1/x402/watch · $0.02 a call · no keyless calls · paid by credits

A seller's own endpoint inspected daily: the same eleven checks, record and evidence `inspect` gives anyone, every morning, as a hosted report page (/v1/x402/watch/{host}) and a badge (/v1/badge/x402/{host}.svg). Registering with a key is consent to be named for that resource's results (charter clause 8); withdrawn with one DELETE; paid in credits per probe; a probe that does not run is not charged. No x402 rail: a watch is recurring.

Call it

curl 'https://api.s2ar.dev/v1/x402/watch?resource=https%3A%2F%2Fapi.s2ar.dev%2Fx402%2Fv1%2Fassert&method=GET'
curl -X POST https://api.s2ar.dev/v1/x402/watch \
  -H 'content-type: application/json' \
  -d '{"resource": "https://api.s2ar.dev/x402/v1/assert", "method": "GET"}'

With a key: add -H 'Authorization: Bearer $S2AR_KEY'. From an agent: the MCP tool watch_x402 at https://api.s2ar.dev/mcp.

Parameters

parametertyperequiredwhat
resourcestringyesyour endpoint's https URL
methodstringhow to probe it (default GET) (one of GET, POST)

The answer

{
 "ok": true,
 "resource": "https://api.s2ar.dev/x402/v1/assert",
 "method": "GET",
 "status": "active",
 "since": "2026-10-12T00:00:00+00:00",
 "latest": {
  "day": "2026-10-12",
  "verdict": "pass",
  "passed": 11,
  "checks": 11,
  "record_sha256": "7a0c…"
 },
 "report": "https://api.s2ar.dev/v1/x402/watch/api.s2ar.dev",
 "badge": "https://api.s2ar.dev/v1/badge/x402/api.s2ar.dev.svg"
}

Every paid answer carries its receipt; a record's sha256 re-verifies free at /v1/verify/{sha256}. A call that fails is never charged.

A worked example

inspect an x402 endpoint: the call, its answer and its record, re-derived.

The errors are the same on every route.