# DeFi Shield Rug Pull Score

> DeFi Shield Rug Pull Score is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Returns a composite rug pull risk score for a token by combining contract risk, holder concentration, honeypot detection, deployer history, and GoPlus intelligence

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/defi/rug-score
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-be6f6250
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xO98rGPg4e51GX9-GbyF5

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-be6f6250 -d '<json body>'
```

Example prompt: Can you run a full rug pull risk check on this token — contract address 0xabc123...def on Ethereum — and tell me the composite score along with whether it's a honeypot and how concentrated the holders are?

## When to prefer this

Use this endpoint when you need a single, aggregated rug pull risk verdict for a token before a trade or investment decision — especially when you want multiple risk dimensions (contract, honeypot, holder concentration, deployer) combined into one score rather than querying each signal separately. Prefer this over individual token or contract analysis endpoints when a holistic risk composite is needed quickly.

## Known failure modes

- Invalid or unrecognized contract address returns an error or null score
- Unsupported blockchain network returns a 400 or unsupported error
- GoPlus API unavailable causes partial or degraded scores
- Token too new or too low liquidity may result in incomplete intelligence data
- Payment failure (x402) blocks request before analysis begins

## Output

A composite rug pull risk score (0–100 or similar scale) plus individual sub-scores covering contract risk, holder concentration, honeypot detection, deployer history, and GoPlus intelligence signals — allowing the agent to assess whether a token is likely fraudulent or safe.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "base",
   "token_address": "0x1234567890123456789012345678901234567890"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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 assess (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-be6f6250/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)
