# SiteCheck DeFi TVL Lookup

> SiteCheck DeFi TVL Lookup is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Returns the current total value locked (TVL) in USD for a given DeFi protocol or blockchain chain, sourced from DefiLlama

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/defi/tvl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-defi-tvl-lookup-8189b821
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MFHEJTRPMQNNd08p_hPUX

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 sitecheck-defi-tvl-lookup-8189b821
```

Example prompt: What is the current total value locked in Aave V3? Use the DefiLlama-backed TVL lookup with protocol slug 'aave-v3'.

## When to prefer this

Use this endpoint when you need a fast, low-cost TVL snapshot for a specific DeFi protocol or chain. Prefer this over raw DefiLlama API calls when you want a pay-per-call model without managing API keys, and when you only need current TVL (not historical TVL trends, per-chain breakdowns, or 1/7-day changes — those require DefiLlama's heavier per-protocol files which this endpoint does not fetch).

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty result
- Chain name not recognized returns no data
- DefiLlama upstream API unavailable causes fetch failure
- Protocol slug misspelling leads to no result
- Response may be up to 10 minutes stale due to caching

## How this service works

Total value locked in DeFi from DefiLlama. For a protocol (its slug, e.g. aave-v3) the current TVL; for a chain (Base, Ethereum...) its TVL with 1-day and 7-day changes. A protocol's history is too large to read here, so it has no change figures. Attribution: Data: DefiLlama. Information only, not financial advice.

## Output

A JSON object containing the protocol slug, current TVL in USD (as a float), data source attribution (DefiLlama), a timestamp of when the data was checked, a note about limitations (no per-chain breakdown or historical changes), and a financial disclaimer. Data is cached for 10 minutes.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Or a chain name, e.g. Base"
      },
      "protocol": {
       "type": "string",
       "description": "DefiLlama protocol slug, e.g. aave-v3"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Current total value locked only. Category, per-chain TVL and 1-day or 7-day changes need DefiLlama's per-protocol file (about 30 MB for Aave V3), which this tool does not read.",
  "slug": "aave-v3",
  "type": "protocol",
  "source": "DefiLlama open API (https://api.llama.fi/tvl/aave-v3), cached 10 minutes",
  "tvlUsd": 17540073270.73,
  "checkedAt": "2026-10-14T04:49:20.652Z",
  "disclaimer": "Information only, not financial advice.",
  "attribution": "Data: DefiLlama"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-defi-tvl-lookup-8189b821/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
