# DeFi Shield Whale Alerts

> DeFi Shield Whale Alerts is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-13).

Detects large token transfers, calculates net flow direction, and produces a whale activity score for a given token on a specified chain over the past 24 hours.

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/defi/whale-alerts
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-bd69883f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5g2WwxtJlcWNNzLWeXRoS

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 defi-shield-hazel-vercel-app-bd69883f -d '<json body>'
```

Example prompt: Check whale activity for USDC (contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913) on Base — are there any large transfers in the last 24 hours, and is the net flow bullish or bearish?

## When to prefer this

Use this endpoint when you need a quick, scored summary of whale-level token movement on a specific chain within the last 24 hours, especially when you want to assess accumulation vs. distribution pressure or detect unusual large-wallet activity without running raw on-chain queries yourself.

## Known failure modes

- Token address not found or invalid — returns empty large_transfers and zero counts
- Chain not supported — may return error or empty result
- No on-chain data available for the period — returns zeros and neutral direction
- Network timeout or RPC failure — response may be delayed or error returned
- Token has no whale-level activity in 24h — returns valid response with empty arrays and score of 0

## Output

Returns a JSON object containing the token address, chain, analysis period (24h), a list of large transfers detected, the net flow direction (e.g. 'neutral', 'inflow', 'outflow'), a whale activity score (numeric), total transfer count, and the timestamp of analysis. Token name and symbol may be null if not resolved.

## Example request

```json
{
 "chain": "base",
 "token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain (default: base)"
      },
      "token_address": {
       "type": "string",
       "description": "Token address to monitor (0x + 40 hex chars)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-shield-hazel-vercel-app-bd69883f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
