# Ryze Agent DeFi TVL Rankings

> Ryze Agent DeFi TVL Rankings is a paid API for AI agents from api.ryzeagent.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns ranked DeFi protocol TVL (Total Value Locked) data across chains with AI-generated insights and confidence scores

## Facts

- Endpoint: POST https://api.ryzeagent.xyz/base/defi/tvl
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ryze-agent-defi-tvl-rankings-cdc1e6f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZP270yrt8eT8IyrYDOvyi

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 ryze-agent-defi-tvl-rankings-cdc1e6f4 -d '<json body>'
```

Example prompt: Show me the top 10 DeFi protocols ranked by total value locked across all chains, and give me an AI-generated signal on what's trending — include their 24-hour TVL changes.

## When to prefer this

Use this endpoint when you need a ranked, multi-chain overview of DeFi protocol TVL with AI-interpreted insights baked in — especially when you want both raw data and an actionable signal in a single call. Prefer over raw DeFiLlama-style queries when LLM-synthesized analysis is needed alongside the numbers.

## Known failure modes

- Missing required 'limit' field returns 400 validation error
- Limit value too high may return partial data or timeout
- Downstream DeFi data source outage may return stale or empty data object
- Payment failure via x402 protocol returns 402 Payment Required

## How this service works

AI-enhanced DeFi data API on Solana. 22 pay-per-call endpoints with LLM-interpreted insights. Trenches, traders, LPs, DeFi. Driven by MPP.

## Output

A ranked list of DeFi protocols with their chain, TVL in USD, and 24-hour percentage change, plus an AI-generated actionable signal, natural language insight, confidence score (0-1), and the model used (e.g. claude-3.5-haiku).

## Example request

```json
{
 "limit": 10
}
```

## 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": {
    "body": {
     "type": "object",
     "required": [
      "chain",
      "limit"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain filter: solana|ethereum|all"
      },
      "limit": {
       "type": "integer",
       "description": "Max results"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      },
      "insight": {
       "type": "string"
      },
      "confidence": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "signal": "actionable signal",
  "insight": "AI-generated analysis",
  "confidence": 0.85,
  "model_used": "claude-3.5-haiku"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ryze-agent-defi-tvl-rankings-cdc1e6f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ryzeagent.xyz](https://www.zero.xyz/host/api.ryzeagent.xyz/llms.txt)
