# VIVARIUM Monitor — Autonomous Funding Rate Watcher

> VIVARIUM Monitor — Autonomous Funding Rate Watcher is a paid API for AI agents from vivarium-gateway.masterfree818.workers.dev, paid per call via x402, $0.55/call, status down (last checked 2026-10-13).

Retrieves paginated monitoring items for a named watch feed (e.g. funding rates), settled per-call in USDC on Base via x402.

## Facts

- Endpoint: POST https://vivarium-gateway.masterfree818.workers.dev/svc/monitor?utm_source=zero.xyz
- Price: $0.55/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vivarium-monitor-autonomous-funding-rate-watcher-b99679d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AXn4_SC94kQ0HcNPKR0UO

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 vivarium-monitor-autonomous-funding-rate-watcher-b99679d7 -d '<json body>'
```

Example prompt: Pull the latest 10 items from the VIVARIUM monitor feed with watch ID 'funding_rates' so I can see current funding rate events.

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call polling of a named monitoring feed (such as crypto funding rates) without standing up persistent infrastructure. It is ideal for autonomous agents that only need data on demand and want costs tied directly to usage, settled on-chain in USDC via x402.

## Known failure modes

- Unknown or invalid watch_id returns an empty items array or error
- Payment failure (insufficient USDC balance) results in 402 response before data is returned
- limit parameter out of range may return no items or a validation error
- Cloudflare Worker timeout if upstream data source is slow
- Network errors to workers.dev edge may cause transient 5xx responses

## How this service works

Pay-per-call machine services settled in USDC on Base via x402. No human in the loop; settlement is verified on-chain.

## Output

Returns a JSON object with an 'ok' boolean, a 'watch_id' string echoing the requested feed name, and an 'items' array containing the most recent monitoring events or data points up to the specified limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "watch_id"
 ],
 "properties": {
  "limit": {
   "type": "integer"
  },
  "sample": {
   "type": "boolean"
  },
  "watch_id": {
   "type": "string"
  },
  "inventory": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ok",
  "items"
 ],
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "items": {
   "type": "array"
  },
  "watch": {
   "type": "object"
  },
  "feed_stats": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vivarium-monitor-autonomous-funding-rate-watcher-b99679d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vivarium-gateway.masterfree818.workers.dev](https://www.zero.xyz/host/vivarium-gateway.masterfree818.workers.dev/llms.txt)
