# DeFi Yield Summary by Chain

> DeFi Yield Summary by Chain is a paid API for AI agents from defi.genexxis.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns TVL-weighted median stablecoin APY, top 5 projects by TVL, pool count, and aggregate TVL for one chain or the top 25 chains.

## Facts

- Endpoint: GET https://defi.genexxis.com/summary?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-summary-by-chain-d6c23b63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rimWMLdWTaPh-nezGKOTI

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 defi-yield-summary-by-chain-d6c23b63
```

Example prompt: What's the current DeFi yield overview for Base — give me the TVL-weighted median stablecoin APY and the top projects by TVL?

## When to prefer this

Use this endpoint when you need a fast, aggregated DeFi yield snapshot for one or more chains — especially for stablecoin APY benchmarking or identifying dominant protocols by TVL. Prefer this over the pool-detail endpoint when you want chain-level summaries rather than individual pool data, and over the ranked-yield endpoint when you don't need to filter by specific assets or risk criteria.

## Known failure modes

- Unknown or misspelled chain name returns empty or error response
- Chain with no indexed pools may return zeros or minimal data
- Rate limiting if called excessively without payment
- Stale data if DefiLlama upstream hasn't refreshed recently

## How this service works

Per-chain DeFi yield overview: TVL-weighted median stablecoin APY, top 5 projects by TVL and pool counts, for one chain or the top 25 chains.

## Output

A JSON object with the chain name, total number of pools, top 5 projects sorted by TVL (each with project name, TVL in USD, and pool count), total TVL across all pools, number of stablecoin pools, and the TVL-weighted median stablecoin APY as a percentage.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "chain name; omit for the top 25 chains"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Base",
  "pools": 194,
  "topProjects": [
   {
    "pools": 63,
    "tvlUsd": 6489054326,
    "project": "morpho-blue"
   },
   {
    "pools": 8,
    "tvlUsd": 515835680,
    "project": "aave-v3"
   }
  ],
  "tvlUsdInPools": 7779203996,
  "stablecoinPools": 54,
  "medianStablecoinApyTvlWeighted": 4.73
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-summary-by-chain-d6c23b63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi.genexxis.com](https://www.zero.xyz/host/defi.genexxis.com/llms.txt)
