# BRAINIAC DeFi Intelligence — Protocol TVL Current

> BRAINIAC DeFi Intelligence — Protocol TVL Current is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-11).

Returns the current Total Value Locked (TVL) for a specified DeFi protocol by its ID, paid per-call via USDC on Base.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/defi-intelligence/protocols/tvl/current?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-defi-intelligence-protocol-tvl-current-cce720f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y46AmCuAsVOptxbwjJ3-H

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 brainiac-defi-intelligence-protocol-tvl-current-cce720f0 -d '<json body>'
```

Example prompt: What's the current TVL for Uniswap? Look it up using its protocol ID 'uniswap'.

## When to prefer this

Use this endpoint when you need quick, pay-per-call access to current TVL data for a specific DeFi protocol without setting up an account or subscription. Ideal for agents that need on-demand DeFi intelligence without ongoing API key management, especially when operating in a crypto-native environment using x402 micropayments on Base.

## Known failure modes

- Invalid or unrecognized protocol ID returns an error or empty result
- Payment failure via x402/USDC on Base prevents the call from completing
- Protocol ID not supported or missing in the dataset returns no data
- Network or upstream data provider outage yields a service error
- Malformed request body (e.g., missing or too-long id field) returns a validation error

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing the current TVL figure and associated metadata for the requested DeFi protocol, identified by the provided protocol ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string",
   "maxLength": 100,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "uniswap",
  "tvl": 3572400648.223155,
  "source": {
   "url": "https://api.llama.fi/tvl/uniswap",
   "status": "OK",
   "retrievedAt": "2026-11-07T12:08:58.011Z"
  },
  "limitations": [
   "Current TVL is retrieved from the DeFiLlama public API.",
   "TVL is the current Total Value Locked in USD for the protocol.",
   "TVL is a delayed reference value, not a real-time market value.",
   "Source: https://defillama.com"
  ],
  "retrievedAt": "2026-11-07T12:08:58.011Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-defi-intelligence-protocol-tvl-current-cce720f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
