# Heurist Mesh: DeFi Protocol Metrics

> Heurist Mesh: DeFi Protocol Metrics 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-15).

Fetches key DeFi protocol metrics including TVL, fees, volume, revenue, deployed chains, and growth trend using a DefiLlama slug.

## Facts

- Endpoint: POST https://mesh.heurist.xyz/x402/agents/DefiLlamaAgent/get_protocol_metrics
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/heurist-mesh-defi-protocol-metrics-3878220f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jvDy-CfO1Me8IUqsvCegB

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-defi-protocol-metrics-3878220f -d '<json body>'
```

Example prompt: Can you pull up the full DeFi metrics for Uniswap — I want to see its TVL, fees, volume, revenue, which chains it's deployed on, and whether it's been growing lately? The DefiLlama slug is 'uniswap'.

## When to prefer this

Use this endpoint when you need structured, quantitative DeFi protocol metrics (TVL, fees, volume, revenue, chains) for a specific protocol identified by its DefiLlama slug. Prefer this over general web search when you need precise, up-to-date numeric data for DeFi analysis rather than narrative summaries.

## Known failure modes

- Invalid or unknown defillama slug returns an error or empty result
- Protocol not indexed on DefiLlama returns no data
- Payment failure or insufficient USDC balance blocks the request
- Network timeout or upstream DefiLlama API unavailability causes failure

## How this service works

Get metrics for a DeFi protocol including TVL, fees, volume (for DEXes), revenue, deployed chains, and growth trend. Use this tool when you want to analyze a DeFi project. You must input the defillama slug obtained from project knowledge base.

## Output

Returns structured DeFi protocol metrics including Total Value Locked (TVL), protocol fees, trading volume (for DEXes), revenue, a list of deployed blockchain networks, and a growth trend indicator — sourced from DefiLlama data.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/heurist-mesh-defi-protocol-metrics-3878220f/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)
