# Losbeto x402-Watch — 30-Day x402 Endpoint Monitor

> Losbeto x402-Watch — 30-Day x402 Endpoint Monitor is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-18).

Continuously monitors any x402-compatible endpoint for 30 days, checking uptime, latency, HTTP status, 402 shape validity, and USDC price, with webhook alerts on state changes.

## Facts

- Endpoint: GET https://markets.losbeto.xyz/x402-watch?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-x402-watch-30-day-x402-endpoint-monitor-4f056bed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kwm3Wwk90Xs03jcGreXHW

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 losbeto-x402-watch-30-day-x402-endpoint-monitor-4f056bed
```

Example prompt: Set up a 30-day x402 watch on https://api.myservice.com/data — check it every 30 minutes and POST any state changes or price flips to my webhook at https://hooks.myapp.com/x402-alerts.

## When to prefer this

Choose this endpoint when you need long-running (30-day), automated monitoring of an x402-protocol endpoint specifically — tracking 402 shape compliance, USDC price changes, and uptime with webhook-driven alerting. Prefer it over generic uptime monitors when x402 protocol correctness and pay-per-call pricing surveillance are the primary concern.

## Known failure modes

- Private or internal IP ranges refused — only public http/https URLs accepted
- Missing required 'url' or 'webhook' query parameters returns an error
- Invalid or unreachable webhook URL may result in missed alerts
- Non-x402 endpoints may still be monitored but 402 shape checks will fail
- Payment failure in USDC blocks the watch from being initiated

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

Returns a watch_id and a capability URL you can poll anytime for free to get the current monitoring state. Additionally fires JSON POST webhooks to your specified URL whenever the endpoint flips state (up/down), latency changes significantly, or the advertised USDC price changes. Each check records uptime status, HTTP status code, latency, 402 shape correctness, and current price.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "url",
      "webhook"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http/https URL to fetch (internal/private ranges refused)"
      },
      "webhook": {
       "type": "string",
       "description": "webhook parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "30-day watch on ANY x402 endpoint — yours or a competitor's. We measure it immediately (up/down, latency, HTTP status, correct 402 shape, current USDC price) and then re-check every 30 minutes for 30 days. State flips and price changes fire a JSON POST to your ?webhook=; pull current state anytime, free, via the returned watch_id capability URL. Built for x402 sellers monitoring..."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-x402-watch-30-day-x402-endpoint-monitor-4f056bed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
