# fastapi.online — Protocol TVL Lookup

> fastapi.online — Protocol TVL Lookup is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Returns the Total Value Locked (TVL) data for a specified DeFi protocol by name

## Facts

- Endpoint: POST https://api.fastapi.online/protocol-tvl?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-protocol-tvl-lookup-eae81f7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kRyHdkW2lgByVhfKhqyES

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 fastapi-online-protocol-tvl-lookup-eae81f7a -d '<json body>'
```

Example prompt: What is the current total value locked for the Uniswap protocol?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call TVL lookup for a named DeFi protocol without requiring API key signup. Prefer this over scraping DeFi dashboards when you need programmatic access at low cost and without authentication overhead.

## Known failure modes

- Unknown or misspelled protocol name returns empty or error response
- Protocol not tracked returns null or 404-equivalent
- Data may be stale if the underlying data source is not frequently updated
- Crypto payment failure if wallet balance is insufficient

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns TVL (Total Value Locked) data for the specified DeFi protocol, likely including the TVL figure in USD and possibly historical or breakdown information depending on the data source.

## Request schema (JSON Schema)

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

## More

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