# DeFi Pool Detail by DefiLlama ID

> DeFi Pool Detail by DefiLlama ID 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 current APY breakdown, TVL, risk flags, and 30-day daily APY/TVL history (min/max/avg) for a single DeFi pool identified by its DefiLlama UUID.

## Facts

- Endpoint: GET https://defi.genexxis.com/pool?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-pool-detail-by-defillama-id-a1e4f6d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dK88uOhzDm9Kpq0zIxU5-

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-pool-detail-by-defillama-id-a1e4f6d7
```

Example prompt: Pull up the full details for the DefiLlama pool with ID 747c1d2a-c668-4682-b9f9-296708a3dd90 — I want the current APY, TVL, risk level, and a summary of how the APY has moved over the last 30 days.

## When to prefer this

Choose this endpoint when you need detailed, per-pool data for a specific DeFi pool already identified by its DefiLlama UUID — including historical 30-day APY/TVL trends, risk flags, and base vs reward APY breakdown. Prefer this over the ranked-yields sibling when you already know the pool ID and need deep single-pool analytics rather than discovery or cross-pool comparison.

## Known failure modes

- Missing or invalid pool ID returns a 400/422 error
- Unknown UUID (pool not in DefiLlama) returns 404 not found
- Pool with insufficient history may return fewer than 30 days in the history array
- Reward APY may be null for non-incentivized pools
- Service unavailability or upstream DefiLlama outage may return 5xx errors
- Payment failure (x402) if USDC is not provided or balance is insufficient

## How this service works

One DeFi pool by DefiLlama id: current APY split, TVL, risk flags and its daily APY and TVL history for the last 30 days with min/max/avg.

## Output

A JSON object containing: (1) pool metadata — DefiLlama UUID, current APY, chain, project name, token symbol, TVL in USD, risk flags array, and a risk level string; (2) 30-day aggregate stats — number of days, average APY, max APY, min APY; (3) history30d array — one entry per day with date, APY, base APY, reward APY, and TVL in USD.

## 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": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "DefiLlama pool id (UUID) from /yields"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pool": {
   "id": "747c1d2a-c668-4682-b9f9-296708a3dd90",
   "apy": 2.78,
   "chain": "Ethereum",
   "flags": [],
   "symbol": "STETH",
   "tvlUsd": 22547349669,
   "project": "lido",
   "riskLevel": "low"
  },
  "stats": {
   "days": 30,
   "apyAvg": 2.74,
   "apyMax": 2.9,
   "apyMin": 2.6
  },
  "history30d": [
   {
    "apy": 2.75,
    "date": "2026-10-23",
    "tvlUsd": 22500000000,
    "apyBase": 2.75,
    "apyReward": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-pool-detail-by-defillama-id-a1e4f6d7/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)
