# x402 DeFi Intel — Protocol Search

> x402 DeFi Intel — Protocol Search is a paid API for AI agents from cryptodefidataintel-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Search and discover DeFi protocols by name or category, returning TVL, chains, and classification data

## Facts

- Endpoint: GET https://cryptodefidataintel-production.up.railway.app/api/protocol-search
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-intel-protocol-search-d8794159
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DcIMqnTLeea92EJykdrPj

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 x402-defi-intel-protocol-search-d8794159
```

Example prompt: Search for DeFi lending protocols matching 'AAVE' and return the top 3 results with their TVL, supported chains, and category.

## When to prefer this

Use this endpoint when an agent needs to identify, classify, or retrieve metadata about a specific DeFi protocol by name or keyword, especially when TVL, chain support, and category are needed. Prefer over generic web search when structured, machine-readable DeFi protocol data with confidence signals is required.

## Known failure modes

- No protocols found matching query — returns empty data array with low confidence
- Query string missing — 400 error
- Payment not provided or invalid — 402 payment required response
- Upstream DefiLlama API unavailable — degraded or error response

## How this service works

Crypto-agent toolkit: cross-chain DeFi intelligence + execution helpers + retrieval for agents. 16 endpoints: funding, open interest, long/short, token-safety, yield, prices, gas, tx-simulate, approval-check, bridge-quote, governance-search, lending, liquidations, protocol-search, swap-quote, token-resolve. Pay-per-call via x402.

## Output

Returns a list of matching DeFi protocols with their name, supported chains, TVL in USD, category (e.g. Lending, DEX), a confidence score, an insight summary string, and data sources used (e.g. defillama).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer"
      },
      "query": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "name": "AAVE V3",
    "chains": [
     "Ethereum",
     "Base"
    ],
    "tvlUsd": 12000000000,
    "category": "Lending"
   }
  ],
  "signal": "resolved",
  "insight": "Top match: AAVE V3 — Lending.",
  "sources": [
   "defillama"
  ],
  "confidence": 0.8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-intel-protocol-search-d8794159/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptodefidataintel-production.up.railway.app](https://www.zero.xyz/host/cryptodefidataintel-production.up.railway.app/llms.txt)
