# DefiLlama Protocol Name Resolver

> DefiLlama Protocol Name Resolver is a paid API for AI agents from protocol-tvl-brief.x402supply.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-17).

Resolves a protocol name or partial name to matching DefiLlama slugs with TVL and category metadata

## Facts

- Endpoint: POST https://protocol-tvl-brief.x402supply.com/tools/find_protocol?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-protocol-name-resolver-ff88aac5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cGIzA_-bV5AVmTn54Vseo

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 defillama-protocol-name-resolver-ff88aac5 -d '<json body>'
```

Example prompt: Search DefiLlama for any protocols matching 'uni' and return up to 5 candidates with their slugs, TVL, category, and chains.

## When to prefer this

Use this endpoint when you need to resolve a human-readable protocol name to its canonical DefiLlama slug before fetching detailed TVL or fee data. Prefer this over direct TVL queries when the exact slug is unknown, when the name is ambiguous, or when you want to present multiple candidate matches to the user.

## Known failure modes

- No matches found for an obscure or misspelled protocol name
- Query too short or too generic returns noisy results
- Protocol exists on DefiLlama but under an unexpected alias slug
- Upstream DefiLlama API unavailable causing failed response
- Limit parameter out of range (must be 1-20) returns validation error

## How this service works

Compact DeFi protocol brief by slug or name: current TVL, 1d/7d/30d TVL change, TVL by chain, category, chains, audit links, fees and revenue for 24h/7d/30d where available, DefiLlama URL. Data by DefiLlama. Not financial advice.; Resolves a protocol name or partial name to candidate DefiLlama slugs

## Output

Returns a list of up to 20 candidate protocols matching the query, each with DefiLlama slug, full name, TVL in USD, supported chains, and category — plus the query echoed back and data attribution to DefiLlama.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 5,
   "maximum": 20,
   "minimum": 1,
   "description": "Maximum candidates to return, 1-20"
  },
  "query": {
   "type": "string",
   "maxLength": 80,
   "minLength": 1,
   "description": "Protocol name or partial name, e.g. aave or uniswap"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "query": "aave",
  "source": [
   "https://api.llama.fi/protocols"
  ],
  "matches": [
   {
    "name": "Aave",
    "slug": "aave",
    "chains": [
     "Ethereum",
     "Base",
     "Arbitrum",
     "Plasma",
     "Monad",
     "Avalanche",
     "Binance",
     "Polygon",
     "X Layer",
     "Mantle"
    ],
    "tvlUsd": 18365948590,
    "category": "Lending"
   }
  ],
  "attribution": "Data by DefiLlama (https://defillama.com)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-protocol-name-resolver-ff88aac5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from protocol-tvl-brief.x402supply.com](https://www.zero.xyz/host/protocol-tvl-brief.x402supply.com/llms.txt)
