DefiLlama Protocols & Chains TVL avatar

DefiLlama Protocols & Chains TVL

Pricing

$0.59 / 1,000 defillama protocol or chain results

Go to Apify Store
DefiLlama Protocols & Chains TVL

DefiLlama Protocols & Chains TVL

Collect structured DeFi protocol and blockchain TVL, market cap, and change metrics from the official DefiLlama public API.

Pricing

$0.59 / 1,000 defillama protocol or chain results

Rating

0.0

(0)

Developer

Lantern Lab

Lantern Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Export normalized DeFi protocol and blockchain TVL metrics from the official DefiLlama public API to an Apify dataset. No API key, proxy, browser, or paid upstream service is used.

Quick start

{
"mode": "protocols",
"category": "Liquid Staking",
"minTvlUsd": 1000000,
"sortBy": "tvl",
"maxItems": 20,
"maxUpstreamRequests": 1
}

Input and limits

mode selects either protocols (https://api.llama.fi/protocols) or chains (https://api.llama.fi/v2/chains). Optional filters include search (substring match across name, symbol, slug, and CoinGecko ID), category (exact case-insensitive match), chain (matches mainChain or chains), and minTvlUsd (>= 0). Matching rows are sorted descending by sortBy (tvl, change_1d, or change_7d).

maxItems caps unique billable rows (1–1000, default 100). maxUpstreamRequests caps all upstream attempts including failures (1–20, default 5).

Output and billing

Each protocol row includes id (protocol:<slug> or chain:<slug>), recordKind, slug, name, symbol, category, mainChain, chains, tvlUsd, change1h, change1d, change7d, mcapUsd, url, defillamaUrl, twitter, audits, geckoId, sourceUrl, and collectedAt. Deduplication is by stable id.

Only unique real result rows use the protocol billing event. Free input_status rows report empty queries, upstream failures, and budget stops. RUN_SUMMARY in the key-value store records results, charged rows, requests, failures, and stop reason.

Cost and access boundaries

Requests are restricted to https://api.llama.fi with no redirects, credentials, or alternate ports. Requests run sequentially with 1.1-second pacing, 30-second per-request timeout, 25 MiB decoded response cap (accommodating the ~9.2 MiB live /protocols payload), and 180-second wall-clock collection budget (capped by the platform run timeout).

Source and scope

Official DefiLlama API documentation: https://defillama.com/docs/api

Only public protocol and chain TVL metadata is retrieved. No wallet, private, or authenticated endpoints are accessed. This Actor is independently maintained and is not endorsed by DefiLlama.