# GlianaAI DeFi TVL Lookup

> GlianaAI DeFi TVL Lookup is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Fetches current total value locked (TVL) data across DeFi protocols via GlianaAI's pay-per-call gateway

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/defi-tvl?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-defi-tvl-lookup-89dda819
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Of6jal6PTzYjBztKHpjWj

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 glianaai-defi-tvl-lookup-89dda819
```

Example prompt: What's the current total value locked across DeFi protocols right now? Pull the latest TVL data for me.

## When to prefer this

Choose this endpoint when you need quick, cheap ($0.01 USDC) access to DeFi TVL data without signing up for a dedicated analytics service. Ideal for AI agents that already use GlianaAI's x402 payment rail and want to enrich DeFi research or monitoring workflows alongside other GlianaAI capabilities like LLM chat or market data in a single integrated platform.

## Known failure modes

- Payment not received or insufficient USDC balance — returns 402 Payment Required
- Upstream DeFi data provider unavailable — may return 503 or stale data
- Malformed request body — returns 400 with schema validation error
- Rate limiting if prepaid balance is exhausted

## How this service works

GlianaAI - pay-per-call AI, market data and identity APIs, no signup, USDC. This resource: tools/defi-tvl. Total value locked in a DeFi protocol or a whole chain, from DefiLlama. https://ai.glianalabs.com

## Output

Returns a JSON object containing TVL data for DeFi protocols, likely including aggregate TVL figures and/or per-protocol breakdowns, delivered via the GlianaAI pay-per-call gateway for $0.01 USDC per request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "protocol": {
   "type": "string",
   "description": "DefiLlama protocol slug, e.g. \"aave\"."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/defi-tvl"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-defi-tvl-lookup-89dda819/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
