# Heurist Mesh: DefiLlama Yield Pool Search

> Heurist Mesh: DefiLlama Yield Pool Search is a paid API for AI agents from mesh.heurist.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Search DefiLlama yield pools with optional filters for projects, chains, symbols, and stablecoin status, returning APY and TVL trend metrics.

## Facts

- Endpoint: POST https://mesh.heurist.xyz/x402/solana/agents/DefiLlamaAgent/search_yield_pools
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/heurist-mesh-defillama-yield-pool-search-f4fc4396
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iAstCDeyQUCy9vbAnLcko

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 heurist-mesh-defillama-yield-pool-search-f4fc4396 -d '<json body>'
```

Example prompt: Search DefiLlama for the best yield pools offering stablecoin yields on Ethereum and Arbitrum — filter for USDC and USDT symbols and show me APY and TVL trends for each pool.

## When to prefer this

Use this endpoint when you need structured yield pool data from DefiLlama with flexible multi-dimensional filtering (project, chain, symbol, stablecoin). Prefer this over generic DeFi APIs when you need compact APY+TVL trend data quickly and want OR logic within filter categories combined with AND logic across them. Ideal for agents comparing yield opportunities across protocols or chains.

## Known failure modes

- No pools match the specified filter combination (returns empty results)
- Invalid project, chain, or symbol names produce no results without error
- Stale data if DefiLlama upstream is delayed
- Payment failure if insufficient USDC balance for $0.003 per call
- Rate limiting or timeout if querying very broad filters

## How this service works

Search DefiLlama yield pools with optional filters for projects, chains, symbols, and stablecoin flag. Returns compact results with APY and TVL trend metrics. List filters (projects/chains/symbols) use OR matching, while different filter types are combined with AND.

## Output

Returns a compact list of matching yield pools from DefiLlama, each including pool name, project, chain, symbol, current APY, TVL, and trend metrics indicating whether APY and TVL are rising or falling.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {
      "debug": {
       "type": "boolean",
       "default": false,
       "description": "Debug mode flag. ALWAYS use false."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1,
       "description": "Number of pools to return (1-50)"
      },
      "chains": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional chain names (e.g., ['Ethereum', 'Arbitrum'])"
      },
      "sort_by": {
       "enum": [
        "apy",
        "tvl"
       ],
       "type": "string",
       "default": "apy",
       "description": "Sort field: APY or TVL"
      },
      "symbols": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional token symbols (e.g., ['USDC', 'USDT'])"
      },
      "projects": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional project slugs (e.g., ['aave-v3', 'curve-dex'])"
      },
      "stablecoin": {
       "type": "boolean",
       "description": "Optional stablecoin-only filter"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "object",
       "additionalProperties": true
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/heurist-mesh-defillama-yield-pool-search-f4fc4396/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mesh.heurist.xyz](https://www.zero.xyz/host/mesh.heurist.xyz/llms.txt)
