# Base Pulse – DeFi Protocol TVL Lookup

> Base Pulse – DeFi Protocol TVL Lookup is a paid API for AI agents from base-pulse.annushka1190.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Fetches the total value locked (TVL) in USD for a specified DeFi protocol sourced from DefiLlama data

## Facts

- Endpoint: GET https://base-pulse.annushka1190.workers.dev/v1/defi/tvl
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-pulse-defi-protocol-tvl-lookup-8be972a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UvPbEzUvql5OXWRVapsqg

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 base-pulse-defi-protocol-tvl-lookup-8be972a0
```

Example prompt: What's the current total value locked for Aave v3 according to DefiLlama? I want to gauge how liquid the protocol is before I make a move.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call TVL figure for a specific DeFi protocol without setting up a DefiLlama API key. It is ideal for AI agents that need on-demand protocol health checks before executing a trade or deposit, and is especially convenient within Base/Solana payment workflows using x402 USDC micropayments.

## Known failure modes

- Unknown or misspelled protocol slug returns an error or empty result
- Protocol not tracked by DefiLlama returns no TVL data
- Upstream DefiLlama API downtime causes stale or failed response
- Missing required 'protocol' query parameter results in a validation error
- Payment failure via x402 blocks the call before it reaches the data layer

## How this service works

Pay-per-call market intel and data tools for AI agents: trending Base tokens with momentum/risk scores, live token scoring, multi-source spot prices, Base gas tips, wallet intel, x402 merchant reliability checks, DefiLlama TVL, GitHub trending repos, RSS feed digests, and WHOIS domain lookups. Built from free public data — no API keys for callers. USDC via x402 on Base and Solana.

## Output

Returns a JSON object with the protocol's total value locked in USD (tvl_usd) and the protocol name/slug (protocol), sourced from DefiLlama public data with no API key required for the caller.

## 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": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "protocol": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tvl_usd": 12000000000,
  "protocol": "aave-v3"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-pulse-defi-protocol-tvl-lookup-8be972a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-pulse.annushka1190.workers.dev](https://www.zero.xyz/host/base-pulse.annushka1190.workers.dev/llms.txt)
