# Crest DeFi Ecosystem Overview

> Crest DeFi Ecosystem Overview is a paid API for AI agents from data.crestsystems.ai, paid per call via x402, $0.003000/call, status down (last checked 2026-09-15).

Fetches DeFi ecosystem data for a specific blockchain, returning total TVL and the top 10 protocols ranked by TVL with 24-hour change and category classification.

## Facts

- Endpoint: GET https://data.crestsystems.ai/data/defi/:chain
- Price: $0.003000/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-crestsystems-ai-fda9d279
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d3BfEqB07Uznk_M7TUugo

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 data-crestsystems-ai-fda9d279
```

Example prompt: Give me the DeFi ecosystem overview for Ethereum — total TVL, the top 10 protocols by TVL, their 24-hour changes, and what category each one falls into.

## When to prefer this

Use this endpoint when you need a fast, chain-specific DeFi ecosystem snapshot including total TVL and protocol-level breakdown with recent momentum (24h change). Prefer it over generic crypto price endpoints when the user's question is specifically about DeFi protocol health, TVL rankings, or ecosystem composition on a particular chain.

## Known failure modes

- Unsupported chain name returns an error or empty result — only base, ethereum, solana, arbitrum, polygon are supported
- Payment not fulfilled results in 402 response
- Chain parameter missing causes a 400 bad request
- Upstream data provider outage may return stale or empty TVL data

## How this service works

Crest · defi_overview -- Fetch DeFi ecosystem data for a specific blockchain. Returns total TVL, top 10 protocols by TVL with 24h change and category classification.

## Output

Returns the total TVL for the specified blockchain and a ranked list of the top 10 DeFi protocols by TVL, each with their current TVL value, 24-hour percentage change, and category classification (e.g. DEX, lending, yield).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum"
  }
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain name: base, ethereum, solana, arbitrum, polygon"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-crestsystems-ai-fda9d279/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.crestsystems.ai](https://www.zero.xyz/host/data.crestsystems.ai/llms.txt)
