# AgenticFi DeFi Pool Details

> AgenticFi DeFi Pool Details is a paid API for AI agents from defi-api.agenticfi.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).

Retrieves detailed information about a specific DeFi liquidity pool using its DeFi Llama pool ID

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/defi/pool-details/%7BpoolId%7D?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-defi-pool-details-1f73455b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JxyLWaxkPQRsDaiH2Hcvn

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 agenticfi-defi-pool-details-1f73455b
```

Example prompt: Can you pull up the full details for DeFi Llama pool ID '747c1d2a-c668-4682-b9f9-296708a3dd90' — I want to see the APY, TVL, token composition, and which protocol it belongs to?

## When to prefer this

Use this endpoint when you have a specific DeFi Llama pool ID and need comprehensive pool-level details such as TVL, APY, and token composition. Prefer this over token pricing endpoints when the unit of interest is a liquidity pool rather than an individual token. Ideal for yield comparison workflows or on-chain portfolio analytics where pool-level granularity is required.

## Known failure modes

- Invalid or non-existent pool ID returns 404 or empty result
- Pool ID format mismatch causes request failure
- Payment not processed (x402 payment required before data is returned)
- DeFi Llama upstream outage causes stale or missing data
- Pool has been deprecated or removed from DeFi Llama index

## How this service works

DeFi APIs for AI agents. 36 pay-per-call endpoints for token data, pricing, wallet analytics, swap routing, and on-chain workflows. Powered by x402 on Base.

## Output

Returns detailed metadata for the specified liquidity pool including TVL, APY, token pair composition, underlying protocol, blockchain network, pool fee tier, and other on-chain pool metrics sourced via DeFi Llama.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "poolId": "747c1d2a-c668-4682-b9f9-296708a3dd90"
  },
  "queryParams": {
   "poolId": "747c1d2a-c668-4682-b9f9-296708a3dd90"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "pathParams",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "poolId"
     ],
     "properties": {
      "poolId": {
       "type": "string",
       "title": "poolId (required)",
       "description": "Required. DeFi Llama pool ID"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "poolId"
     ],
     "properties": {
      "poolId": {
       "type": "string",
       "title": "poolId (required)",
       "description": "Required. DeFi Llama pool ID"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-defi-pool-details-1f73455b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-api.agenticfi.wtf](https://www.zero.xyz/host/defi-api.agenticfi.wtf/llms.txt)
