OpenAny
Get API keyAPI Key
APICrypto & DeFiData

DefiLlama logo
DefiLlama Protocol Historical TVL API

Get DefiLlama Protocol Historical 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 identifier, protocol display name, protocol summary description, mcap, and current chain tvls to analyze multi-chain expansion, separate borrowed vs supplied tvl, and build protocol research pages.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

DefiLlama Protocol Historical TVL API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
DefiLlama Protocol Historical TVL API

DefiLlama Protocol Historical TVL API

Pass a protocol slug such as aave in the protocol path parameter. The response includes protocol metadata (name, symbol, mcap, description), currentChainTvls and historical chainTvls time series.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required path parameter: protocol (protocol slug such as aave, obtainable from the All Protocols TVL API).
Selected implementation defillama · DefiLlama — Get historical TVL of a protocol and breakdowns by token and chain
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Analyze multi-chain expansion: Compare historical TVL trajectories across Arbitrum, Base, Avalanche and Ethereum for one protocol.
  • Separate borrowed vs supplied TVL: Inspect chainTvls entries suffixed with -borrowed alongside core chain liquidity.
  • Build protocol research pages: Display protocol description, mcap, github links and historical TVL charts from one call.

Returned Data

Field Meaning
id DefiLlama protocol identifier
name Protocol display name
symbol Protocol governance or native token symbol
description Protocol summary description
mcap Reported protocol token market capitalization
currentChainTvls Map of current USD TVL keyed by chain and category (e.g. borrowed)
chainTvls Map of historical TVL series keyed by chain and category
chainTvls.<chain>.tvl[].date UNIX timestamp of a per-chain TVL snapshot
chainTvls.<chain>.tvl[].totalLiquidityUSD Historical USD liquidity on that chain at the snapshot
tvl Protocol-wide historical TVL array

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/defillama/protocol/aave \
  -H "Authorization: Bearer ${OPENANY_API_KEY}"

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published DefiLlama Protocol Historical TVL API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
protocol slug

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
defillamaCurrent
DefiLlama — Get historical TVL of a protocol and breakdowns by token and chain · GET · View API reference
$0 / call1
100.00%successP501.87s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · defillamaUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/defillama/protocol/{protocol}
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
protocolURL path parameterspathstringYes

protocol slug

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • addressstring
  • chainTvlsobject
    • Aptosobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Aptos-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Arbitrumobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Arbitrum-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Arcobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Arc-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Avalancheobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Avalanche-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • BSCobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • BSC-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Baseobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Base-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Celoobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Celo-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Ethereumobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Ethereum-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Ethereum-pool2object
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Ethereum-stakingobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Fantomobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Fantom-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Gnosisobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Gnosis-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Lineaobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Linea-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Mantleobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Mantle-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • MegaETHobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • MegaETH-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Metisobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Metis-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Monadobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Monad-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • OP Mainnetobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • OP Mainnet-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Plasmaobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Plasma-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Polygonobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Polygon-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Scrollobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Scroll-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Soneiumobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Soneium-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Sonicobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • Sonic-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • X Layerobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • X Layer-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • ZKsync Eraobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • ZKsync Era-borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • borrowedobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • pool2object
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
    • stakingobject
      • tokensnull
      • tokensInUsdnull
      • tvlobject[]
        • dateinteger
        • totalLiquidityUSDinteger
  • chainsunknown[]
  • cmcIdstring
  • currentChainTvlsobject
    • Aptosinteger
    • Aptos-borrowedinteger
    • Arbitruminteger
    • Arbitrum-borrowedinteger
    • Arcinteger
    • Arc-borrowedinteger
    • Avalancheinteger
    • Avalanche-borrowedinteger
    • BSCinteger
    • BSC-borrowedinteger
    • Baseinteger
    • Base-borrowedinteger
    • Celointeger
    • Celo-borrowedinteger
    • Ethereuminteger
    • Ethereum-borrowedinteger
    • Ethereum-pool2integer
    • Ethereum-stakinginteger
    • Fantominteger
    • Fantom-borrowedinteger
    • Gnosisinteger
    • Gnosis-borrowedinteger
    • Lineainteger
    • Linea-borrowedinteger
    • Mantleinteger
    • Mantle-borrowedinteger
    • MegaETHinteger
    • MegaETH-borrowedinteger
    • Metisinteger
    • Metis-borrowedinteger
    • Monadinteger
    • Monad-borrowedinteger
    • OP Mainnetinteger
    • OP Mainnet-borrowedinteger
    • Plasmainteger
    • Plasma-borrowedinteger
    • Polygoninteger
    • Polygon-borrowedinteger
    • Scrollinteger
    • Scroll-borrowedinteger
    • Soneiuminteger
    • Soneium-borrowedinteger
    • Sonicinteger
    • Sonic-borrowedinteger
    • X Layerinteger
    • X Layer-borrowedinteger
    • ZKsync Erainteger
    • ZKsync Era-borrowedinteger
    • borrowedinteger
    • pool2integer
    • stakinginteger
  • descriptionstring
  • gecko_idstring
  • githubstring[]
  • governanceIDstring[]
  • hacksobject[]
    • amountinteger
    • bridgeHackboolean
    • chainstring[]
    • classificationstring
    • dateinteger
    • defillamaIdstring
    • descriptionstring
    • languagestring
    • namestring
    • parentProtocolIdstring
    • returnedFundsinteger
    • sourcestring
    • targetTypestring
    • techniquestring
  • hallmarks((integer | string)[])[]
  • idstring
  • isParentProtocolboolean
  • logostring
  • mcapnumber
  • namestring
  • otherProtocolsstring[]
  • raisesobject[]
    • amountinteger
    • categorystring
    • categoryGroupstring
    • chainsstring[]
    • dateinteger
    • defillamaIdstring
    • leadInvestorsstring[]
    • namestring
    • otherInvestorsunknown[]
    • roundstring
    • sectorstring
    • sourcestring
    • valuationnull
  • stablecoinsstring[]
  • symbolstring
  • tokensobject[]
    • dateinteger
    • tokensobject
      • BATnumber
      • BUSDnumber
      • DAInumber
      • KNCLnumber
      • LENDnumber
      • LINKnumber
      • MANAnumber
      • MKRnumber
      • SNXnumber
      • SUSDnumber
      • TUSDnumber
      • UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)integer
      • USDCnumber
      • USDTnumber
      • WBTCnumber
      • WETHnumber
      • ZRXnumber
  • tokensInUsdobject[]
    • dateinteger
    • tokensobject
      • BATnumber
      • BUSDnumber
      • DAInumber
      • KNCLnumber
      • LENDnumber
      • LINKnumber
      • MANAnumber
      • MKRnumber
      • SNXnumber
      • SUSDnumber
      • TUSDnumber
      • UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)integer
      • USDCnumber
      • USDTnumber
      • WBTCnumber
      • WETHnumber
      • ZRXnumber
  • treasurystring
  • tvlobject[]
    • dateinteger
    • totalLiquidityUSDinteger
  • twitterstring
  • urlstring
  • wrongLiquidityboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Recorded upstream (abridged; 2026-11-18)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    protocol
    protocol slug
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/defillama/protocol/aave' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
      "chainTvls": {
        "Aptos": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1755820800,
              "totalLiquidityUSD": 571891
            },
            {
              "date": 1755907200,
              "totalLiquidityUSD": 582546
            }
          ]
        },
        "Aptos-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1755820800,
              "totalLiquidityUSD": 208757
            },
            {
              "date": 1755907200,
              "totalLiquidityUSD": 209007
            }
          ]
        },
        "Arbitrum": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Arbitrum-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Arc": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1789603200,
              "totalLiquidityUSD": 77312253
            },
            {
              "date": 1789689600,
              "totalLiquidityUSD": 126518592
            }
          ]
        },
        "Arc-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1789603200,
              "totalLiquidityUSD": 55
            },
            {
              "date": 1789689600,
              "totalLiquidityUSD": 100584
            }
          ]
        },
        "Avalanche": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1632182400,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1632268800,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Avalanche-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1632182400,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1632268800,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "BSC": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1707868800,
              "totalLiquidityUSD": 6557959
            },
            {
              "date": 1707955200,
              "totalLiquidityUSD": 7333347
            }
          ]
        },
        "BSC-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1707868800,
              "totalLiquidityUSD": 3767711
            },
            {
              "date": 1707955200,
              "totalLiquidityUSD": 4022296
            }
          ]
        },
        "Base": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1692748800,
              "totalLiquidityUSD": 13595
            },
            {
              "date": 1692835200,
              "totalLiquidityUSD": 45994
            }
          ]
        },
        "Base-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1692748800,
              "totalLiquidityUSD": 3262
            },
            {
              "date": 1692835200,
              "totalLiquidityUSD": 27893
            }
          ]
        },
        "Celo": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1744243200,
              "totalLiquidityUSD": 5346069
            },
            {
              "date": 1744329600,
              "totalLiquidityUSD": 5299851
            }
          ]
        },
        "Celo-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1744243200,
              "totalLiquidityUSD": 224520
            },
            {
              "date": 1744329600,
              "totalLiquidityUSD": 225551
            }
          ]
        },
        "Ethereum": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1589932800,
              "totalLiquidityUSD": 54026260
            },
            {
              "date": 1590019200,
              "totalLiquidityUSD": 57638725
            }
          ]
        },
        "Ethereum-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1589932800,
              "totalLiquidityUSD": 12345606
            },
            {
              "date": 1590019200,
              "totalLiquidityUSD": 12298508
            }
          ]
        },
        "Ethereum-pool2": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1606953600,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1607040000,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Ethereum-staking": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1606953600,
              "totalLiquidityUSD": 244094753
            },
            {
              "date": 1607040000,
              "totalLiquidityUSD": 243189473
            }
          ]
        },
        "Fantom": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Fantom-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Gnosis": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1699401600,
              "totalLiquidityUSD": 13521986
            },
            {
              "date": 1699488000,
              "totalLiquidityUSD": 13282273
            }
          ]
        },
        "Gnosis-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1699401600,
              "totalLiquidityUSD": 904752
            },
            {
              "date": 1699488000,
              "totalLiquidityUSD": 1838930
            }
          ]
        },
        "Linea": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1739404800,
              "totalLiquidityUSD": 1639513
            },
            {
              "date": 1739491200,
              "totalLiquidityUSD": 2704979
            }
          ]
        },
        "Linea-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1739404800,
              "totalLiquidityUSD": 728026
            },
            {
              "date": 1739491200,
              "totalLiquidityUSD": 902667
            }
          ]
        },
        "Mantle": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1771459200,
              "totalLiquidityUSD": 156456424
            },
            {
              "date": 1771545600,
              "totalLiquidityUSD": 166163178
            }
          ]
        },
        "Mantle-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1771459200,
              "totalLiquidityUSD": 78485950
            },
            {
              "date": 1771545600,
              "totalLiquidityUSD": 126188314
            }
          ]
        },
        "MegaETH": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1770768000,
              "totalLiquidityUSD": 137292
            },
            {
              "date": 1770854400,
              "totalLiquidityUSD": 211687
            }
          ]
        },
        "MegaETH-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1770768000,
              "totalLiquidityUSD": 2999
            },
            {
              "date": 1770854400,
              "totalLiquidityUSD": 3001
            }
          ]
        },
        "Metis": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1683590400,
              "totalLiquidityUSD": 519439
            },
            {
              "date": 1683676800,
              "totalLiquidityUSD": 516119
            }
          ]
        },
        "Metis-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1683590400,
              "totalLiquidityUSD": 74346
            },
            {
              "date": 1683676800,
              "totalLiquidityUSD": 75475
            }
          ]
        },
        "Monad": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1783036800,
              "totalLiquidityUSD": 37482317
            },
            {
              "date": 1783123200,
              "totalLiquidityUSD": 54276357
            }
          ]
        },
        "Monad-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1783036800,
              "totalLiquidityUSD": 14101644
            },
            {
              "date": 1783123200,
              "totalLiquidityUSD": 36982720
            }
          ]
        },
        "OP Mainnet": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "OP Mainnet-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1647216000,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1647302400,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "Plasma": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1758844800,
              "totalLiquidityUSD": 1898853398
            },
            {
              "date": 1758931200,
              "totalLiquidityUSD": 2820564197
            }
          ]
        },
        "Plasma-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1758844800,
              "totalLiquidityUSD": 1171389826
            },
            {
              "date": 1758931200,
              "totalLiquidityUSD": 1829095325
            }
          ]
        },
        "Polygon": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1617235200,
              "totalLiquidityUSD": 778520
            },
            {
              "date": 1617321600,
              "totalLiquidityUSD": 1386996
            }
          ]
        },
        "Polygon-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1617235200,
              "totalLiquidityUSD": 90847
            },
            {
              "date": 1617321600,
              "totalLiquidityUSD": 265749
            }
          ]
        },
        "Scroll": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1707868800,
              "totalLiquidityUSD": 1681053
            },
            {
              "date": 1707955200,
              "totalLiquidityUSD": 1851392
            }
          ]
        },
        "Scroll-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1707868800,
              "totalLiquidityUSD": 150770
            },
            {
              "date": 1707955200,
              "totalLiquidityUSD": 233802
            }
          ]
        },
        "Soneium": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1749168000,
              "totalLiquidityUSD": 1401655
            },
            {
              "date": 1749254400,
              "totalLiquidityUSD": 1410276
            }
          ]
        },
        "Soneium-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1749168000,
              "totalLiquidityUSD": 26
            },
            {
              "date": 1749254400,
              "totalLiquidityUSD": 26
            }
          ]
        },
        "Sonic": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1741132800,
              "totalLiquidityUSD": 40250410
            },
            {
              "date": 1741219200,
              "totalLiquidityUSD": 43958698
            }
          ]
        },
        "Sonic-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1741132800,
              "totalLiquidityUSD": 7170854
            },
            {
              "date": 1741219200,
              "totalLiquidityUSD": 15189673
            }
          ]
        },
        "X Layer": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1774915200,
              "totalLiquidityUSD": 53409
            },
            {
              "date": 1775001600,
              "totalLiquidityUSD": 91558
            }
          ]
        },
        "X Layer-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1774915200,
              "totalLiquidityUSD": 72
            },
            {
              "date": 1775001600,
              "totalLiquidityUSD": 283
            }
          ]
        },
        "ZKsync Era": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1727222400,
              "totalLiquidityUSD": 2546458
            },
            {
              "date": 1727308800,
              "totalLiquidityUSD": 2574440
            }
          ]
        },
        "ZKsync Era-borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1727222400,
              "totalLiquidityUSD": 182391
            },
            {
              "date": 1727308800,
              "totalLiquidityUSD": 286599
            }
          ]
        },
        "borrowed": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1589932800,
              "totalLiquidityUSD": 12345606
            },
            {
              "date": 1590019200,
              "totalLiquidityUSD": 12298508
            }
          ]
        },
        "pool2": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1606953600,
              "totalLiquidityUSD": 0
            },
            {
              "date": 1607040000,
              "totalLiquidityUSD": 0
            }
          ]
        },
        "staking": {
          "tokens": null,
          "tokensInUsd": null,
          "tvl": [
            {
              "date": 1606953600,
              "totalLiquidityUSD": 244094753
            },
            {
              "date": 1607040000,
              "totalLiquidityUSD": 243189473
            }
          ]
        }
      },
      "chains": [],
      "cmcId": "7278",
      "currentChainTvls": {
        "Aptos": 204864,
        "Aptos-borrowed": 18462,
        "Arbitrum": 439461214,
        "Arbitrum-borrowed": 312961419,
        "Arc": 182319411,
        "Arc-borrowed": 94134942,
        "Avalanche": 366801223,
        "Avalanche-borrowed": 226839964,
        "BSC": 167408211,
        "BSC-borrowed": 73409544,
        "Base": 465837869,
        "Base-borrowed": 333158153,
        "Celo": 2442949,
        "Celo-borrowed": 595218,
        "Ethereum": 12373017294,
        "Ethereum-borrowed": 9084308202,
        "Ethereum-pool2": 428513,
        "Ethereum-staking": 272249897,
        "Fantom": 2757,
        "Fantom-borrowed": 930,
        "Gnosis": 40101711,
        "Gnosis-borrowed": 13897562,
        "Linea": 6009999,
        "Linea-borrowed": 4468609,
        "Mantle": 45132113,
        "Mantle-borrowed": 33964623,
        "MegaETH": 4736270,
        "MegaETH-borrowed": 1632203,
        "Metis": 234726,
        "Metis-borrowed": 23860,
        "Monad": 247307515,
        "Monad-borrowed": 189400235,
        "OP Mainnet": 36747056,
        "OP Mainnet-borrowed": 25165832,
        "Plasma": 345221523,
        "Plasma-borrowed": 569311450,
        "Polygon": 123020243,
        "Polygon-borrowed": 56433906,
        "Scroll": 1265232,
        "Scroll-borrowed": 234827,
        "Soneium": 67322,
        "Soneium-borrowed": 23319,
        "Sonic": 3718883,
        "Sonic-borrowed": 1484173,
        "X Layer": 148425270,
        "X Layer-borrowed": 93760408,
        "ZKsync Era": 505161,
        "ZKsync Era-borrowed": 132840,
        "borrowed": 11115360689,
        "pool2": 428513,
        "staking": 272249897
      },
      "description": "Aave is an Open Source and Non-Custodial protocol to earn interest on deposits and borrow assets",
      "gecko_id": "aave",
      "github": [
        "aave",
        "aave-dao"
      ],
      "governanceID": [
        "snapshot:aave.eth",
        "eip155:1:0xEC568fffba86c094cf06b22134B23074DFE2252c"
      ],
      "hacks": [
        {
          "amount": 862000,
          "bridgeHack": false,
          "chain": [
            "Ethereum"
          ],
          "classification": "Oracle Manipulation",
          "date": 1773273600,
          "defillamaId": "1599",
          "description": "Aave V3 oracle misconfiguration on March 10-12, 2026 caused ~$862K in losses. Chaos Labs' CAPO system reported wstETH at 1.1939 instead of 1.228, triggering liquidations of 34 otherwise-healthy E-Mode positions due to inconsistent snapshot configuration.",
          "language": "Solidity",
          "name": "Aave V3",
          "parentProtocolId": "parent#aave",
          "returnedFunds": 862000,
          "source": "",
          "targetType": "DeFi Protocol",
          "technique": "Oracle Misconfiguration"
        }
      ],
      "hallmarks": [
        [
          1619395200,
          "Start Ethereum V2 Rewards"
        ],
        [
          1633305600,
          "Start AVAX V2 Rewards"
        ]
      ],
      "id": "parent#aave",
      "isParentProtocol": true,
      "logo": "https://icons.llamao.fi/icons/protocols/aave",
      "mcap": 1708854624.3378103,
      "name": "Aave",
      "otherProtocols": [
        "Aave",
        "Aave V3"
      ],
      "raises": [
        {
          "amount": 3,
          "category": "DeFi",
          "categoryGroup": "DeFi & CeFi",
          "chains": [
            "Ethereum",
            "Polygon"
          ],
          "date": 1594771200,
          "defillamaId": "111",
          "leadInvestors": [
            "Framework Ventures",
            "3AC"
          ],
          "name": "Aave",
          "otherInvestors": [],
          "round": "Private token sale",
          "sector": "Aave is an open source non-custodial protocol on Ethereum for decentralized lending and borrowing.",
          "source": "",
          "valuation": null
        },
        {
          "amount": 25,
          "category": "DeFi",
          "categoryGroup": "DeFi & CeFi",
          "chains": [
            "Ethereum",
            "Polygon"
          ],
          "date": 1602460800,
          "defillamaId": "111",
          "leadInvestors": [
            "Blockchain Capital",
            "Blockchain.com Ventures"
          ],
          "name": "Aave",
          "otherInvestors": [],
          "round": "Strategic",
          "sector": "Aave is an open source non-custodial protocol on Ethereum for decentralized lending and borrowing.",
          "source": "",
          "valuation": null
        }
      ],
      "stablecoins": [
        "gho"
      ],
      "symbol": "AAVE",
      "tokens": [
        {
          "date": 1589932800,
          "tokens": {
            "BAT": 1792178.22175,
            "BUSD": 45902.47036,
            "DAI": 1913939.12256,
            "KNCL": 2853268.86176,
            "LEND": 263912681.33932,
            "LINK": 5743118.64061,
            "MANA": 2361387.30781,
            "MKR": 810.66287,
            "SNX": 122478.3059,
            "SUSD": 54066.49116,
            "TUSD": 170182.03868,
            "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
            "USDC": 2050328.58009,
            "USDT": 2918703.28861,
            "WBTC": 94.27992,
            "WETH": 27995.69606,
            "ZRX": 635513.63715
          }
        },
        {
          "date": 1590019200,
          "tokens": {
            "BAT": 1791584.32533,
            "BUSD": 45891.21606,
            "DAI": 1838175.94959,
            "KNCL": 2856877.51038,
            "LEND": 264911161.07269,
            "LINK": 5743218.86928,
            "MANA": 3260688.94223,
            "MKR": 814.48361,
            "SNX": 194169.71582,
            "SUSD": 57631.94457,
            "TUSD": 152442.4912,
            "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
            "USDC": 2639634.09834,
            "USDT": 2918104.39134,
            "WBTC": 92.7539,
            "WETH": 27876.93571,
            "ZRX": 596450.36434
          }
        }
      ],
      "tokensInUsd": [
        {
          "date": 1589932800,
          "tokens": {
            "BAT": 368714.69822,
            "BUSD": 46032.09949,
            "DAI": 1919430.83155,
            "KNCL": 1822600.42115,
            "LEND": 14987355.50652,
            "LINK": 22146066.508,
            "MANA": 88072.39169,
            "MKR": 266705.02232,
            "SNX": 103070.92941,
            "SUSD": 54095.62096,
            "TUSD": 169720.1993,
            "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
            "USDC": 2045465.91864,
            "USDT": 2920443.78219,
            "WBTC": 913613.5134,
            "WETH": 5944444.67404,
            "ZRX": 230428.25632
          }
        },
        {
          "date": 1590019200,
          "tokens": {
            "BAT": 372918.78236,
            "BUSD": 45887.14498,
            "DAI": 1843465.86141,
            "KNCL": 1847443.66997,
            "LEND": 16848426.28384,
            "LINK": 23296167.27079,
            "MANA": 124201.00809,
            "MKR": 264447.49053,
            "SNX": 162345.88416,
            "SUSD": 57459.3695,
            "TUSD": 152307.82199,
            "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
            "USDC": 2638075.27992,
            "USDT": 2916023.11185,
            "WBTC": 913308.45247,
            "WETH": 5934209.87952,
            "ZRX": 222038.54353
          }
        }
      ],
      "treasury": "aave.js",
      "tvl": [
        {
          "date": 1589932800,
          "totalLiquidityUSD": 54026260
        },
        {
          "date": 1590019200,
          "totalLiquidityUSD": 57638725
        }
      ],
      "twitter": "aave",
      "url": "https://aave.com",
      "wrongLiquidity": true
    }

Common questions

Where do I find valid protocol slugs?

List protocols with the DefiLlama All Protocols TVL API and use the protocol slug (for example, aave).

Why do chainTvls keys include suffixes like -borrowed?

DefiLlama separates borrowed, staking or pool2 categories into distinct keys alongside base chain names.

What if I only need the latest numeric TVL without full history?

Use the DefiLlama Protocol Current TVL API, which returns a single numeric USD TVL value.

Does this endpoint include protocol token market cap?

Yes. The top-level mcap field is included in the recorded upstream response alongside TVL data.

Are token-level breakdowns always populated for every chain?

No. Fields such as chainTvls.<chain>.tokens and tokensInUsd can be null for certain chains or snapshots.

How do I check a protocol’s fees or DEX volume instead?

Use the DefiLlama Protocol Fees Summary API or DEX Protocol Volume API with the same protocol slug.

Use DefiLlama Protocol Historical TVL API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.