# CoinOpSelect Vault Alerts API

> CoinOpSelect Vault Alerts API is a paid API for AI agents from coinop.publicvm.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Compares current and previous DeFi vault snapshots to detect and return notable changes in APY or TVL across on-chain vaults.

## Facts

- Endpoint: POST https://coinop.publicvm.com/api/v1/vaults/alerts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopselect-vault-alerts-api-fcfa1f7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rG14ga_9mFqEYcFo3mWux

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 coinopselect-vault-alerts-api-fcfa1f7e -d '<json body>'
```

Example prompt: Check these two vault snapshots — current has USDC on Base at 5.2% APY and $1M TVL, previous was 4.8% APY — and tell me if there are any notable alerts I should know about.

## When to prefer this

Use this endpoint when you need to compare two point-in-time vault snapshots and surface actionable alerts about APY or TVL changes on Base. Prefer this over raw data endpoints when you want pre-computed anomaly detection rather than raw metrics. Best suited for agents running periodic monitoring loops that want a simple pass/fail alert signal without implementing their own delta logic.

## Known failure modes

- Empty alerts array even when changes exist — if the delta threshold logic doesn't trigger, no alerts are returned
- Malformed input arrays cause request rejection
- Missing 'current' or 'previous' fields may result in errors or empty responses
- Payment failure via x402 if wallet has insufficient USDC on Base
- Network mismatch if vault symbols reference chains other than Base

## How this service works

Paid on-chain token, wallet, contract and research data over x402 on Base.

## Output

Returns a JSON object with a query identifier ('vault-alerts') and an alerts array listing any detected anomalies or significant changes between the current and previous vault snapshots, such as APY shifts or TVL movements. An empty alerts array indicates no notable changes were detected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "current": {
   "type": "array",
   "example": [
    {
     "apy": 5.2,
     "tvl": 1000000,
     "symbol": "USDC",
     "network": "base"
    }
   ]
  },
  "previous": {
   "type": "array",
   "example": [
    {
     "apy": 4.8,
     "tvl": 1000000,
     "symbol": "USDC",
     "network": "base"
    }
   ]
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "vault-alerts",
  "alerts": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopselect-vault-alerts-api-fcfa1f7e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinop.publicvm.com](https://www.zero.xyz/host/coinop.publicvm.com/llms.txt)
