# Stride20k DeFi TVL Lookup

> Stride20k DeFi TVL Lookup is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns the current Total Value Locked (TVL) in USD for a specified DeFi protocol, sourced from DeFiLlama.

## Facts

- Endpoint: GET https://gateway.stride20k.com/defi/tvl/%7Bprotocol%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-defi-tvl-lookup-c7e63e5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qWHZtHpkVP0eKuFvPEjWU

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 stride20k-defi-tvl-lookup-c7e63e5a
```

Example prompt: What's the current total value locked in Aave? I want a live TVL number from DeFiLlama so I can check protocol health before making a yield decision.

## When to prefer this

Choose this endpoint when you need a single, normalized TVL figure for a named DeFi protocol without managing API keys or accounts. It is ideal for AI agents that need pay-per-call access to DeFi liquidity data sourced from DeFiLlama, especially in x402-enabled pipelines where USDC micropayments are already supported. Prefer this over direct DeFiLlama integration when you want schema-stable, normalized JSON with guaranteed response structure.

## Known failure modes

- Unknown or misspelled protocol slug returns a 404 or error response
- Upstream DeFiLlama outage may cause stale or failed data fetch
- Payment failure via x402 if USDC balance is insufficient
- Malformed protocol path parameter results in an error response
- Rate limiting if too many calls are made in rapid succession

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

A JSON object containing the protocol's current TVL in USD (e.g. $13.25B), the canonical protocol slug, a boolean indicating whether the result was cached, the upstream data source (DeFiLlama), and the ISO 8601 timestamp of when the data was fetched.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "tvlUsd": 13253759411.02,
   "protocol": "aave"
  },
  "meta": {
   "cached": false,
   "source": "defillama",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/defi/tvl/:protocol"
 }
}
```

## More

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