DeFiLlama Protocol TVL Scraper avatar

DeFiLlama Protocol TVL Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
DeFiLlama Protocol TVL Scraper

DeFiLlama Protocol TVL Scraper

Fetch DeFi protocol TVL, chain, category, token, and protocol metadata from the DeFiLlama public API.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

GhostGrid

GhostGrid

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

DeFiLlama Protocol Scraper

Fetch DeFi protocol data, TVL rankings, and blockchain analytics from DeFiLlama without an API key. Covers 4,000+ protocols across 570+ chains.

What does this Actor do?

This Actor pulls structured DeFi data from DeFiLlama's public API. It supports three modes:

  • Protocols - List all DeFi protocols with TVL, category, chain breakdown, and market cap
  • Protocol detail - Get deep data for a single protocol including TVL history, GitHub repos, and social links
  • Chains - Get TVL rankings for all blockchain networks

Why use it?

  • DeFi research - Compare protocols by TVL, category, and chain before investing
  • Portfolio tracking - Monitor TVL changes across protocols you follow
  • Competitive analysis - Track how protocols in the same category perform against each other
  • Market intelligence - Identify trending protocols with 1h/24h/7d TVL changes
  • Data feeds - Build dashboards or alerting systems with fresh DeFi data

No API key needed. Data comes directly from DeFiLlama's public endpoints.

What data can it extract?

FieldDescription
nameProtocol or chain name
slugURL-friendly identifier
tvlTotal Value Locked in USD
categoryProtocol category (DEX, Lending, Liquid Staking, etc.)
chainsArray of supported blockchain networks
change_1h / change_1d / change_7dTVL change percentages
mcapMarket cap
fdvFully diluted valuation
urlProtocol website
descriptionProtocol description
tvl_historyHistorical TVL data (detail mode)
githubGitHub repository links (detail mode)
twitterTwitter handle (detail mode)

How to use it

  1. Click "Try for free" or "Start"
  2. Choose your mode: protocols, protocol, or chains
  3. Optionally filter by chain name (e.g. "Ethereum") or category (e.g. "DEX")
  4. Set max_items to limit results
  5. Run the Actor
  6. Download results as JSON, CSV, or Excel from the Dataset tab

How much will it cost?

This Actor uses pay-per-event pricing:

  • Actor start: $0.005 per run
  • Per result: $0.001 per data point

A typical run fetching 100 protocols costs about $0.11 total.

Input

ParameterTypeDefaultDescription
modestringprotocolsprotocols, protocol, or chains
chainstring(empty)Filter by chain name, e.g. "Ethereum", "Arbitrum"
categorystring(empty)Filter by category, e.g. "DEX", "Lending"
protocol_namestring(empty)Required when mode is protocol
max_itemsinteger500Maximum items to return

Output

Example for a single protocol (protocols mode):

{
"name": "Lido",
"slug": "lido",
"tvl": 16166552459,
"chain": "Ethereum",
"chains": ["Ethereum", "Solana", "Moonbeam"],
"category": "Liquid Staking",
"change_1h": -0.12,
"change_1d": 1.34,
"change_7d": -2.56,
"mcap": 8923456789,
"fdv": 12345678901,
"url": "https://lido.fi",
"description": "Liquid staking for Ethereum and other chains"
}

FAQ

Do I need an API key? No. DeFiLlama's API is completely free and public.

How fresh is the data? DeFiLlama updates TVL data continuously. You get real-time data on every run.

Can I track specific protocols over time? Yes. Use the protocol mode with a protocol name, then schedule the Actor to run daily and compare TVL history across runs.

What if a protocol has no TVL? It will still appear in the list with tvl: 0. Filter these out in your analysis if needed.

Disclaimer

This Actor uses DeFiLlama's public API responsibly. Data accuracy depends on DeFiLlama's sources. This Actor is not affiliated with DeFiLlama. Use data at your own risk for financial decisions.

Questions or issues? Use the Issues tab on this Actor's page.