# DefiLlama — List all protocols on defillama along with their tvl

Get DefiLlama All Protocols TVL data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, configure supported query parameters and filters, and retrieve structured data including defiLlama protocol ID, protocol name, protocol token symbol, category, and chains to build defi tvl leaderboards, discover protocol slugs, and track capital rotation.

Documentation: https://openany.si/defillama/defillama-list-all-protocols-on-defillama-along-with-their-tvl/c54900cb-52c2-48a7-ad3e-088adfa21f46/
API ID: c54900cb-52c2-48a7-ad3e-088adfa21f46
Provider: defillama
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/defillama/protocols
Page update time: 2026-12-03T02:39:15.651Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:39:14.755Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## DefiLlama All Protocols TVL API

Send a parameter-free GET request to list every tracked DeFi protocol with its current USD TVL, `category`, `chains[]`, `chainTvls` map, and `change_1d` and `change_7d` percentages.

## What You Can Build

- **Build DeFi TVL leaderboards**: Rank all protocols globally or filter by category such as Lending, Bridge or Liquid Staking.
- **Discover protocol slugs**: Index protocol names before calling the Protocol Historical TVL or Protocol Current TVL APIs.
- **Track capital rotation**: Sort by change\_1d and change\_7d to spot protocols gaining or losing liquidity rapidly.

## Returned Data

| Field | Meaning |
| --- | --- |
| `[]` | Array of DeFi protocol TVL records |
| `[].id` | DefiLlama protocol ID |
| `[].name` | Protocol name |
| `[].symbol` | Protocol token symbol |
| `[].category` | DeFi sector category such as Lending or Dexs |
| `[].tvl` | Current total value locked in USD |
| `[].chains` | Array of blockchains where the protocol holds TVL |
| `[].chainTvls` | Map of current USD TVL per blockchain |
| `[].change_1d` | 1-day percentage change in TVL |
| `[].change_7d` | 7-day percentage change in TVL |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DefiLlama — List all protocols on defillama along with their tvl request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "category": {
        "type": "string"
      },
      "chainTvls": {
        "type": "object",
        "properties": {
          "Ethereum": {
            "type": "integer"
          },
          "Polygon": {
            "type": "integer"
          }
        }
      },
      "chains": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "change_1d": {
        "type": "number"
      },
      "change_7d": {
        "type": "number"
      },
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "symbol": {
        "type": "string"
      },
      "tvl": {
        "type": "integer"
      }
    }
  }
}
```

## Request example
Scenario: Official UI example (not runtime verified)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/defillama/protocols' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[
  {
    "category": "Lending",
    "chainTvls": {
      "Ethereum": 3200000000,
      "Polygon": 2000000000
    },
    "chains": [
      "Ethereum",
      "Polygon"
    ],
    "change_1d": 2.1,
    "change_7d": -5.3,
    "id": "2269",
    "name": "Aave",
    "symbol": "AAVE",
    "tvl": 5200000000
  }
]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Are any query or path parameters required?
No. Send a plain GET request with your OpenAny API key in the Authorization header.

### Can I filter by category or chain in the request?
No filter parameters are defined in the contract; filter the returned JSON array client-side by category or chains.

### Does this endpoint include per-chain TVL for each protocol?
Yes. Each protocol object includes a chainTvls map keyed by chain name alongside the chains array.

### How do I fetch historical TVL for one protocol?
Pass the protocol slug to the DefiLlama Protocol Historical TVL API.

### What if I only need the latest numeric TVL for one protocol?
Use the DefiLlama Protocol Current TVL API for a minimal single-number response.

### How do I list blockchains with their aggregate TVL instead?
Use the DefiLlama All Chains TVL API.

## Available implementations
- defillama: https://openany.si/defillama/defillama-list-all-protocols-on-defillama-along-with-their-tvl/c54900cb-52c2-48a7-ad3e-088adfa21f46/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
