# Protocol TVL Lookup

> Protocol TVL Lookup is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-11).

Returns the current Total Value Locked (TVL) in USD for a specified DeFi protocol using its DefiLlama slug.

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/data/protocol-tvl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/protocol-tvl-lookup-0c7be4f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E_KpLRI9vQC8GMTIOPQ7p

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 protocol-tvl-lookup-0c7be4f5
```

Example prompt: What is the current total value locked for Aave right now?

## When to prefer this

Use this endpoint when you need a quick, single-protocol TVL figure by DefiLlama slug. Prefer it over broader DeFi analytics APIs when you already know the protocol slug and just need the USD TVL value. At $0.002 per call it is cost-effective for per-protocol spot checks or lightweight monitoring loops.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty result
- Protocol not tracked by DefiLlama returns no data
- Network timeout causing a failed payment-gated call
- Misspelled slug (e.g. 'uni' instead of 'uniswap-v2') returns wrong or null data

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

A JSON object containing the protocol's slug identifier and its current Total Value Locked expressed in USD (e.g. {"protocol": "aave", "tvlUsd": 34000000000}).

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "protocol"
     ],
     "properties": {
      "protocol": {
       "type": "string",
       "description": "DefiLlama protocol slug, e.g. aave"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tvlUsd": 34000000000,
  "protocol": "aave"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/protocol-tvl-lookup-0c7be4f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
