# Longwatch Watch Registration

> Longwatch Watch Registration is a paid API for AI agents from longwatch.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Registers a standing watch on a web page, RSS feed, crypto price, or SEC filing and returns a poll URL for structured alerts

## Facts

- Endpoint: POST https://longwatch.dev/watches
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/longwatch-watch-registration-8dd7df50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2QdVDA6NUo8V-NCwYA92V

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 longwatch-watch-registration-8dd7df50 -d '<json body>'
```

Example prompt: Set up a standing watch on Apple's SEC EDGAR filings so I can poll for new 10-K and 8-K alerts — pay with USDC per call, no account needed.

## When to prefer this

Choose this endpoint when an AI agent needs to set up a persistent, asynchronous monitor on a web page, RSS feed, crypto price, or SEC filing without maintaining its own polling infrastructure. It is ideal for agents that need to check for changes on a schedule using a cursor-based poll URL, and for use cases where no API key or account management is desired — only pay-per-call USDC via x402.

## Known failure modes

- Invalid or unreachable target URL returns an error
- Unsupported watch type causes rejection
- Insufficient USDC payment (x402 underpayment) results in 402 response
- Duplicate watch registration may return existing watch or create a new one
- RSS feed or SEC EDGAR target temporarily unavailable at registration time

## How this service works

You are ephemeral. longwatch remembers what you already saw. Create a watch, persist watch_id + key, poll later for only what you missed — pages, RSS, crypto prices, SEC filings. No API key, no account — pay per call in USDC.

## Output

Returns a JSON object containing a watch key (for authenticated polling), a watch ID, the watch type (e.g. 'edgar'), and a ready-to-use poll_url with a cursor parameter that the agent can call to retrieve structured alerts since a given position.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cik": {
   "type": "number",
   "description": "edgar: SEC CIK, alternative to ticker"
  },
  "url": {
   "type": "string",
   "description": "url|rss|x402: public page, feed, or payment endpoint URL"
  },
  "body": {
   "type": "object",
   "description": "x402: optional qualified JSON request body",
   "additionalProperties": true
  },
  "coin": {
   "type": "string",
   "description": "price: CoinGecko id, e.g. bitcoin"
  },
  "type": {
   "enum": [
    "url",
    "rss",
    "price",
    "edgar",
    "x402"
   ],
   "type": "string",
   "description": "watch type"
  },
  "above": {
   "type": "number",
   "description": "price: alert when USD price crosses above"
  },
  "below": {
   "type": "number",
   "description": "price: alert when USD price crosses below"
  },
  "forms": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "edgar: form filter, e.g. [\"8-K\",\"4\"]"
  },
  "method": {
   "enum": [
    "GET",
    "POST",
    "PUT",
    "PATCH",
    "DELETE",
    "HEAD"
   ],
   "type": "string",
   "description": "x402: unpaid probe method"
  },
  "ticker": {
   "type": "string",
   "description": "edgar: stock ticker"
  },
  "webhook": {
   "type": "object",
   "required": [
    "url"
   ],
   "properties": {
    "url": {
     "type": "string",
     "description": "https endpoint that alerts are POSTed to"
    }
   },
   "description": "optional: push alerts to this URL as they occur, instead of only polling"
  },
  "move_pct_24h": {
   "type": "number",
   "description": "price: alert when abs 24h change exceeds this pct"
  },
  "expected_scheme": {
   "type": "string",
   "description": "x402: optional expected scheme, e.g. exact"
  },
  "expected_network": {
   "type": "string",
   "description": "x402: optional expected CAIP-2 network, e.g. eip155:8453"
  },
  "expected_amount_atomic": {
   "type": "string",
   "description": "x402: optional expected token amount in atomic units"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "kq3…",
  "type": "edgar",
  "poll_url": "https://longwatch.dev/watches/5b2e…/alerts?since=0&key=kq3…",
  "watch_id": "5b2e…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/longwatch-watch-registration-8dd7df50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from longwatch.dev](https://www.zero.xyz/host/longwatch.dev/llms.txt)
