---
title: Get DeFi Protocol TVL Data API
slug: get-defi-protocol-tvl-data
url: https://apyhub.com/corsair96/service/get-defi-protocol-tvl-data
provider: API Forge
categories: [Finance]
tags: [defi, tvl, protocol-data, crypto, market-data]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 60
mcp: true
---

# Get DeFi Protocol TVL Data API

Fetch current TVL for a DeFi protocol with protocol metadata, chain breakdowns, and recent change signals. Useful for dashboards and crypto analytics.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/corsair96/get-defi-protocol-tvl-data/crypto/defi` | What it does Returns TVL data for a specified DeFi protocol. You provide the protocol identifier in… | 60 |

## Endpoint reference

### DeFi protocol TVL

`GET https://api.eu.apyhub.com/corsair96/get-defi-protocol-tvl-data/crypto/defi` · 60 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `protocol` | query | string | yes |  |

#### Quickstart

Fetch TVL data for a protocol by passing its `protocol` as a query parameter.

```bash
curl -X GET "https://api.eu.apyhub.com/corsair96/get-defi-protocol-tvl-data/crypto/defi?protocol=uniswap" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns a JSON object with required `source`, `slug`, `name`, and `degraded` fields, plus optional TVL metadata such as `chains`, `symbol`, `category`, change percentages, `chainTvls`, `marketCap`, and `currentTvl`.

```json
{
  "source": "defillama",
  "slug": "uniswap",
  "name": "Uniswap",
  "chainTvls": { 
     "Ethereum": 2462012546 
},
  "degraded": false
}
```

## About

## What it does
DeFi Protocol TVL lets you look up total value locked data for a DeFi protocol by passing its `protocol` query parameter. Send a protocol name or slug, and get back the protocol’s `name`, `slug`, `source`, `degraded` flag, and TVL-related metrics in a structured response.

The response can include the protocol’s `chains`, `symbol`, `category`, `currentTvl`, `marketCap`, `change1h`, `change1d`, `change7d`, and `chainTvls` by chain. That makes it useful when you need a quick snapshot of protocol size and recent movement without wiring up a market data feed yourself.

Use DeFi Protocol TVL when you are building dashboards, research tools, alerts, or portfolio views that need protocol-level TVL data. The `degraded` field tells you when the upstream payload was too large and only current TVL is available, so you can handle partial data explicitly.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/corsair96/service/get-defi-protocol-tvl-data
