Chain TVL History API

Daily total value locked (TVL) in USD for blockchains such as Ethereum or Solana, from DefiLlama, with the one-day change. Several chains side by side, sliced by start date and sampled every N days.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 5 fieldsv1.0

Data from api.llama.fi/v2/historicalChainTvl/%7Bchain%7D

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Chains
Chain names as DefiLlama writes them. One per line, or separated by commas.
Example: Ethereum, Solana
Sinceoptional
Start date (YYYY-MM-DD). Default: all history.
Example: 2025-01-01
Step daysoptional
Keep one point every N days (default 1).
Example: 1

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/defillama-chain-tvl-history/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/defillama-chain-tvl-history/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"chains":["Ethereum","Solana"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

chainslistrequired
Chain names as DefiLlama writes them.
example: Ethereum, Solana
sincetext
Start date (YYYY-MM-DD). Default: all history.
example: 2025-01-01
step_daysnumber
Keep one point every N days (default 1).
example: 1

What's in each record

5 fields: 4 here, 1 technical one under Technical details.

Basics

  • Chain name

    Example Ethereum

  • Tvl (USD)

    Total value locked at that day, in USD.

    Example 43,415,451,803

  • Change 1d (%)

    Change since the previous day, in percent.

    Example 0.3694%

Dates

  • Date

    Day (UTC).

    Example Nov 1, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idChain and day, such as Ethereum:2026-11-01.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
chaintextChain name3 of 3
datedateDate3 of 3
tvl_usdnumberTvl (USD)3 of 3
change_1d_pctnumberChange 1d (%)3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordChain nameTvl (USD)Change 1d (%)Date
1Ethereum43,415,451,8030.3694%Nov 1, 2026
2Ethereum43,488,943,8440.1693%Nov 2, 2026
3Ethereum43,306,273,972-0.42%Nov 3, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One row per chain and day, oldest first; history starts when DefiLlama began tracking each chain (Ethereum 2017).
  • tvl_usd follows DefiLlama's default method, which leaves out borrowed funds and staking of a protocol's own token.
  • change_1d_pct is the change from the previous day in the source, even when step_days samples fewer days; it is empty for a chain's first day.
  • The last day is today's partial figure and can still change. Chain names must be written as DefiLlama writes them, such as Ethereum, Solana, Arbitrum or OP Mainnet (case ignored); unknown chains return a note.
  • At most 20 chains per call.
  • Data from DefiLlama's open API: credit DefiLlama (defillama.com) when you publish it.

Version history

A run uses the live version unless the request names another one with version.