# CortexCloud DeFiLlama Protocols

> CortexCloud DeFiLlama Protocols 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 the full list of DeFi protocols and their TVL data from DeFiLlama via a pay-per-call API using x402/USDC on Base

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/defillama/protocols
- 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-protocols-ce8ea17e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Q3LoIwsKVVLM549gbDAj

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-protocols-ce8ea17e
```

Example prompt: Pull the full list of DeFi protocols from DeFiLlama so I can see their names, chains, and total value locked — pay the $0.005 call fee in USDC.

## When to prefer this

Choose this endpoint when you need a comprehensive, up-to-date list of DeFi protocols and their TVL metrics sourced from DeFiLlama, without requiring an API key or subscription — ideal for AI agents that pay per call in USDC via x402 on Base. Prefer this over direct DeFiLlama API access when you want no-key, micropayment-based access, or when integrating into an x402-compatible agent payment flow.

## Known failure modes

- Payment failure: x402 USDC payment not completed or insufficient balance, returning 402 Payment Required
- Network/upstream error: DeFiLlama API unavailable, resulting in 503 or timeout
- Malformed properties filter: invalid query parameter format returns 400 Bad Request
- Empty response: no protocols match the applied filter criteria

## 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

Returns a JSON array of DeFi protocols tracked by DeFiLlama, including each protocol's name, chain(s), category, TVL, and related metadata such as token price, 24h change, and slug identifiers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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-protocols-ce8ea17e/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)
