# DeFi Protocol Scanner (agent402.tools)

> DeFi Protocol Scanner (agent402.tools) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.034/call, status unknown (last checked 2026-09-15).

Runs a bundled due-diligence workflow for a DeFi protocol, returning live token price, market context, TVL across chains, and recent news in one call.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/defi-protocol-scanner
- Price: $0.034/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-scanner-agent402-tools-ede9365c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S2q3B7WcwHtsMEMXEVNoq

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-protocol-scanner-agent402-tools-ede9365c -d '<json body>'
```

Example prompt: Can you run a full DeFi due-diligence scan on Aave — I want the live token price, total TVL across all chains, market context, and any recent news, all in one go?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-dimensional snapshot of a DeFi protocol in a single call — combining price, market, TVL, and news — rather than querying separate APIs for each data type. Ideal for due-diligence workflows, investment research assistants, or portfolio monitoring where both on-chain TVL data and off-chain news context are needed together.

## Known failure modes

- Unknown or misspelled DeFiLlama protocol slug returns an error or empty result
- Protocol exists on DeFiLlama but has no TVL data (e.g. very new or deprecated protocol)
- Downstream data source (price feed or news API) is temporarily unavailable, causing partial results
- Payment not processed via x402, resulting in 402 Payment Required response
- Rate limiting if called in rapid succession

## How this service works

Bundled execution of the DeFi protocol scanner workflow - Due-diligence a DeFi protocol in one workflow: live token price, market context, protocol TVL across chains, and recent news - the on-chain and off-chain picture together. One x402 payment runs 4 underlying tools (crypto-price, crypto-market, defi-tvl, search); partial-success per step.

## Output

A bundled report including live token price, market cap context, protocol TVL broken down across chains, and a set of recent news headlines/articles — combining on-chain and off-chain signals for the specified DeFi protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "protocol": {
   "type": "string",
   "description": "DeFiLlama protocol slug (e.g. aave, uniswap)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "protocol": "aave"
  },
  "pack": "defi-protocol-scanner",
  "steps": [
   {
    "ok": true,
    "slug": "crypto-price",
    "result": {}
   },
   {
    "ok": true,
    "slug": "crypto-market",
    "result": {}
   },
   {
    "ok": true,
    "slug": "defi-tvl",
    "result": {}
   },
   {
    "ok": true,
    "slug": "search",
    "result": {}
   }
  ],
  "summary": "4/4 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-scanner-agent402-tools-ede9365c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
