# Trusted Information API — DeFi TVL Data

> Trusted Information API — DeFi TVL Data is a paid API for AI agents from api.trustedinformation.site, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns global DeFi total value locked (TVL) data by chain, including top chains and optional per-chain breakdown, sourced from DeFiLlama

## Facts

- Endpoint: GET https://api.trustedinformation.site/api/crypto/defi
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusted-information-api-defi-tvl-data-7db59637
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2htiLRjwF23AcC3cD0x33

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 trusted-information-api-defi-tvl-data-7db59637
```

Example prompt: What's the current total DeFi TVL and how does Base rank among all chains?

## When to prefer this

Choose this endpoint when you need current, authoritative DeFi TVL data sourced from DeFiLlama without requiring API key signup. Ideal for AI agents needing pay-per-call access to crypto market data with guaranteed no-charge on failed calls. Prefer over direct DeFiLlama API when you want a managed, x402-compatible micropayment interface with no account setup.

## Known failure modes

- Unknown or misspelled chain name may return null for chain field
- Payment failure results in no charge and no data returned
- Service unavailability returns an error with no charge to caller
- Rate limits or network issues may cause transient failures

## How this service works

Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.

## Output

Returns a JSON object with totalDefiTvlUsd (total DeFi TVL across all chains in USD), chainCount (number of chains tracked), topChains array (each with name, rank, and tvlUsd), and optionally a chain object for a queried specific chain (name, rank, tvlUsd, shareOfTotalPct). Data is sourced from DeFiLlama.

## 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",
     "properties": {
      "chain": {
       "type": "string",
       "description": "Optional chain name, e.g. Base, Ethereum, Solana"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "totalDefiTvlUsd",
      "topChains"
     ],
     "properties": {
      "chain": {
       "type": [
        "object",
        "null"
       ]
      },
      "topChains": {
       "type": "array"
      },
      "chainCount": {
       "type": "number"
      },
      "totalDefiTvlUsd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": {
   "name": "Base",
   "rank": 6,
   "tvlUsd": 4546917356,
   "shareOfTotalPct": 4.62
  },
  "source": "DeFiLlama",
  "topChains": [
   {
    "name": "Ethereum",
    "rank": 1,
    "tvlUsd": 60100000000
   }
  ],
  "chainCount": 461,
  "totalDefiTvlUsd": 98420000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusted-information-api-defi-tvl-data-7db59637/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustedinformation.site](https://www.zero.xyz/host/api.trustedinformation.site/llms.txt)
