# AgenticFi Chain Stats Analytics

> AgenticFi Chain Stats Analytics 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-09-14).

Returns on-chain blockchain statistics and analytics for DeFi activity across chains, powered by the AgenticFi API on Base.

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/analytics/chain-stats
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-chain-stats-analytics-7f9a7c43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzgJ-mCD0yuO19Y0GEcJE

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-chain-stats-analytics-7f9a7c43
```

Example prompt: Pull the current chain stats for Base — things like transaction volume, active addresses, and DeFi activity metrics — so I can see how healthy the network is right now.

## When to prefer this

Choose this endpoint when you need aggregate, chain-level on-chain statistics (e.g. network activity, DeFi volume, transaction throughput) rather than token-specific pricing, wallet-level data, or swap routing. Ideal for dashboards, health checks, or macro DeFi analysis on a given blockchain.

## Known failure modes

- Invalid or unsupported chain identifier returns 400 or empty result
- Payment not fulfilled via x402 returns 402 Payment Required
- Rate limiting or server overload returns 429 or 503
- Malformed input schema returns 422 validation error
- Chain data temporarily unavailable returns 503 or stale data

## How this service works

Chain-level stats - TVL, active chains, token symbols

## Output

Returns a JSON object containing blockchain-level statistics such as transaction counts, DeFi volume, active wallet counts, and other on-chain network metrics for the queried chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-chain-stats-analytics-7f9a7c43/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)
