# CortexCloud DeFiLlama Protocol Lookup

> CortexCloud DeFiLlama Protocol Lookup is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches DeFiLlama protocol data (TVL, stats, metadata) for a specific DeFi protocol, payable per-call in USDC on Base via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/defillama/protocol
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortexcloud-defillama-protocol-lookup-5014a3be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zydSipgQ6IJxDU3cefbLO

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 cortexcloud-defillama-protocol-lookup-5014a3be
```

Example prompt: Look up the DeFiLlama protocol data for Uniswap — I want to know its current TVL, which chains it runs on, and any other available stats.

## When to prefer this

Use this endpoint when you need DeFiLlama protocol data on-demand without managing API keys or subscriptions, especially in agentic workflows that pay per call in USDC. Prefer this over direct DeFiLlama API access when operating in a pay-as-you-go crypto-native agent stack on Base.

## Known failure modes

- Unknown or misspelled protocol slug returns empty result or 404
- Payment failure on Base network causes 402 response and no data returned
- DeFiLlama data unavailable or stale for newly listed protocols
- Malformed request parameters result in error response
- Protocol exists but has no TVL data tracked by DeFiLlama

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

A JSON object containing DeFiLlama protocol data for the requested protocol, including TVL figures, chain-by-chain breakdown, token metadata, historical stats, and other protocol-level information as provided by DeFiLlama's dataset.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortexcloud-defillama-protocol-lookup-5014a3be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
