DefiLlama Protocols Scraper avatar

DefiLlama Protocols Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
DefiLlama Protocols Scraper

DefiLlama Protocols Scraper

Scrape all 7,000+ DeFi protocols from DefiLlama in one run β€” TVL, 1h/1d/7d TVL change, market cap, category, chains and links. Filter by chain, category and TVL. Schedule it daily to track the entire DeFi landscape.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

πŸ¦™ DefiLlama Protocols Scraper β€” Scrape All DeFi Protocols & TVL Data

DefiLlama Protocols Scraper

Bulk export of all 7,000+ DeFi protocols from DefiLlama β€” the canonical source of truth for DeFi TVL β€” in one run, with one flat dataset. Total Value Locked (TVL), 1-hour / 1-day / 7-day TVL change %, market cap, category, primary chain, all chains the protocol is deployed on, website URL, Twitter handle, description, listing date and DefiLlama page URL β€” for every protocol in the entire DeFi landscape.

Built for DeFi analysts, on-chain investors, DeFi protocol founders running competitive intelligence, DeFi index and ETF teams, crypto VCs, DeFi-focused funds, treasury managers, on-chain research desks, newsletter and dashboard operators, and DeFi data products that need the full DefiLlama protocol table on a recurring schedule β€” without writing pagination, retry, filter and sort logic by hand.

🟒 No login. No API key required. No headless browser. Pure official DefiLlama public API.


What this scraper does

DefiLlama is the canonical source of DeFi TVL. Their protocols database covers:

  • Money markets and lending (Aave, Compound, MakerDAO, Spark, Morpho, Sky, Radiant, Benqi, Venus)
  • Liquid staking (Lido, Rocket Pool, Frax Ether, Jito, Marinade, Coinbase cbETH, Binance WBETH)
  • Liquid restaking (EigenLayer, ether.fi, Renzo, Kelp, Puffer, Swell, Symbiotic, Karak)
  • DEXes (Uniswap, PancakeSwap, Curve, Balancer, SushiSwap, Aerodrome, Velodrome, Raydium, Orca, Meteora, Cetus, Bluefin)
  • Yield aggregators (Yearn, Beefy, Convex, Pendle, Spectra)
  • Perpetuals DEXes (GMX, Hyperliquid, dYdX, Drift, Vertex, Aevo)
  • Bridges (Stargate, Across, Hop, Synapse, deBridge, Mayan, LayerZero v2 bridges)
  • CDPs and stablecoins (MakerDAO, Sky USDS, Liquity, Frax, Ethena, Crvusd)
  • Real-world-assets (Ondo, Maple, Goldfinch, Centrifuge, Backed)
  • Insurance, prediction markets, NFT lending, options, structured products and dozens of other categories

The raw DefiLlama protocols endpoint returns 7,000+ protocol entries in nested JSON. This DefiLlama protocols scraper filters them by chain, category and minimum TVL, sorts by your preferred metric, flattens to clean rows, and exports to JSON / CSV / Excel β€” ready for your competitive intelligence dashboard, your fund's research database, or your DeFi newsletter.


✨ Key features

FeatureWhat it gives you
πŸ¦™ Official DefiLlama APIReliable, fully structured DeFi data β€” the same source the entire industry already trusts
🌐 Full coverageAll 7,000+ DeFi protocols in one run β€” or a smaller subset with filters
πŸ“Š Rich per-protocol metricsTVL, 1h / 1d / 7d TVL change %, market cap, category, primary chain, all chains
πŸ”Ž Chain filterRestrict results to protocols active on specific chains (Ethereum, Arbitrum, Solana, Base, etc.)
🏷️ Category filterFocus on Dexes, Lending, Liquid Staking, Yield, CDP, Bridge, Derivatives, RWA, Restaking and many more
πŸ’΅ TVL floorDrop dust protocols by setting a minimum TVL threshold in USD
πŸ”ƒ SortableRank by tvl, change_1d, change_7d or mcap
πŸ”— Links & metadataWebsite URL, Twitter handle, description, DefiLlama URL, listing date
πŸ“€ Flat structured rows18 columns, no nested JSON wrangling
πŸ’Ύ JSON, CSV, Excel exportsDirect Apify Dataset β†’ any format
πŸ”“ Public API onlyNo login, no API key, no Cloudflare bypass
⏰ Schedule-readyDesigned for daily TVL archive runs

🎯 Built for these use cases

1. TVL trend analytics and DeFi market intelligence

Daily snapshots of every protocol's TVL build a longitudinal record of where capital is flowing in DeFi. Track multi-week trends in lending vs. liquid staking vs. restaking vs. perps β€” the cleanest cross-sectional DeFi dataset you can build.

2. Competitive intelligence for protocol founders

If you're building in DeFi, this scraper gives you a continuously fresh view of your competitive set. Filter to your category (Lending, DEX, Restaking, Perps) and watch TVL share, 1d / 7d momentum and chain-by-chain footprint.

3. DeFi VC and fund research

Fund teams use TVL-by-category and TVL-by-chain breakdowns to size opportunities, screen for emerging protocols, and benchmark portfolio companies. Daily snapshots β†’ portfolio company dashboards β†’ LP reports.

4. DeFi index and ETF construction

Building a DeFi-blue-chip index, a restaking index, a chain-specific basket, or a category-weighted ETF? This scraper gives you the inputs β€” TVL, market cap, category, chain.

5. Treasury and risk monitoring

Watch for sharp 1d / 7d TVL drops across protocols your DAO or treasury is exposed to. Early warning for hacks, depegs, regulatory events and bank runs.

6. DeFi dashboards and newsletter operators

Power an always-current "top DeFi protocols" leaderboard filtered by chain or category. Weekly "biggest TVL gainers / losers" newsletters. Daily content sources for DeFi-focused publications.

7. Cross-chain TVL studies

The chains array tells you every chain a protocol is deployed on. Aggregate by chain to track chain-level TVL competition (Ethereum vs. Solana vs. Base vs. Arbitrum vs. BSC).

8. On-chain data products and APIs

Resell or expose DefiLlama TVL data through your own product. This scraper is the cheapest reliable upstream β€” refresh daily, store in your own database, expose your own API.


πŸ“₯ Inputs

FieldTypeRequiredDescription
chainsstring[]NoFilter to protocols active on these chains. Examples: Ethereum, Arbitrum, Solana, Base, BSC, Polygon, Avalanche, Optimism, Tron, Sui, TON, Aptos, Hyperliquid, Berachain, Sonic. Leave empty for all chains.
categoriesstring[]NoFilter by category. Examples: Dexes, Lending, Liquid Staking, Liquid Restaking, Yield, Yield Aggregator, CDP, Bridge, Derivatives, RWA, Insurance, Prediction Market, Options, Reserve Currency, NFT Lending, Stablecoin Issuer. Leave empty for all categories.
minTvlUsdintNoOnly include protocols with TVL at or above this USD value. 0 = no filter. Default 0.
sortBystring (enum)NoRank protocols by this metric. One of tvl, change_1d, change_7d, mcap. Default tvl.
maxProtocolsintNoMaximum number of protocols to save. 0 = all (7,000+).

Example inputs

Top 100 protocols by TVL across all chains and categories:

{
"chains": [],
"categories": [],
"minTvlUsd": 0,
"sortBy": "tvl",
"maxProtocols": 100
}

All Ethereum & Arbitrum DEXes and lending markets above $1M TVL:

{
"chains": ["Ethereum", "Arbitrum"],
"categories": ["Dexes", "Lending"],
"minTvlUsd": 1000000,
"sortBy": "tvl",
"maxProtocols": 0
}

7-day TVL movers β€” top 50 fastest-growing protocols (any chain):

{
"minTvlUsd": 5000000,
"sortBy": "change_7d",
"maxProtocols": 50
}

Liquid restaking landscape β€” all chains, all sizes:

{
"categories": ["Liquid Restaking"],
"sortBy": "tvl"
}

πŸ“€ Output

Each DeFi protocol is saved as one structured row in the Apify Dataset. Export to JSON, CSV, Excel (XLSX), HTML or JSONL.

Sample row

{
"id": "111",
"name": "Lido",
"symbol": "LDO",
"slug": "lido",
"category": "Liquid Staking",
"chain": "Ethereum",
"chains": ["Ethereum", "Polygon", "Moonriver", "Moonbeam", "Solana", "Terra Classic"],
"tvl": 38291847122,
"change1h": 0.04,
"change1d": 1.18,
"change7d": 3.42,
"mcap": 1284217312,
"url": "https://lido.fi",
"twitter": "LidoFinance",
"description": "Lido is the largest liquid staking protocol on Ethereum, allowing users to stake ETH without locking it up and receive stETH in return.",
"listedAt": "2020-12-19T00:00:00.000Z",
"defillamaUrl": "https://defillama.com/protocol/lido",
"scrapedAt": "2026-05-16T13:01:42.000Z"
}

Full field reference (18 fields)

FieldTypeMeaning
idstringDefiLlama internal protocol ID
namestringDisplay name of the protocol
symbolstringGovernance / native token symbol, or - if none
slugstringDefiLlama protocol slug (e.g. lido, aave-v3, uniswap-v3) β€” used in URLs
categorystringProtocol category (Dexes, Lending, Liquid Staking, Liquid Restaking, Yield, CDP, Bridge, Derivatives, RWA, etc.)
chainstringPrimary chain (where most of the TVL lives)
chainsstring[]Array of every chain the protocol is deployed on
tvlnumberTotal Value Locked in USD
change1hnumberTVL change over the last 1 hour, %
change1dnumberTVL change over the last 1 day, %
change7dnumberTVL change over the last 7 days, %
mcapnumberGovernance token market capitalization in USD
urlstringProtocol official website URL
twitterstringProtocol Twitter / X handle
descriptionstringShort DefiLlama-provided protocol description
listedAtstringISO 8601 date the protocol was first listed on DefiLlama
defillamaUrlstringDefiLlama protocol page URL
scrapedAtstringISO 8601 timestamp when this row was saved

βš™οΈ How it works

  1. Reads input β€” chain / category filters, TVL floor, sort key, protocol cap.
  2. Pulls the DefiLlama protocols endpoint β€” returns the full 7,000+ protocol snapshot in one response.
  3. Filters in-stream β€” drops protocols that fail your chain / category / TVL filters.
  4. Sorts the filtered list by your chosen metric (tvl, change_1d, change_7d, mcap).
  5. Trims to maxProtocols if a cap was set.
  6. Flattens every protocol into an 18-field row.
  7. Streams rows into the Apify Dataset.

The scraper uses ONLY DefiLlama's officially-supported public API (api.llama.fi/protocols). No HTML scraping, no headless browser, no proxy, no anti-bot bypass. Endpoint is documented at api-docs.defillama.com.


⚑ Performance

WorkloadTimeAPI calls
All 7,000+ protocols (no filter)~5–8 seconds1
All Ethereum protocols~5–8 seconds1
All Lending category protocols~5–8 seconds1
Top 100 by TVL~5–8 seconds1

DefiLlama's protocols endpoint returns the full snapshot in one large response, so every run is essentially the same speed regardless of filters.


πŸ’° Cost model

This actor uses Pay-Per-Result pricing β€” you pay only for the protocol rows actually saved (after filters). Protocols dropped by your filters are not billed.

Typical run sizes:

  • Top 100 protocols β†’ 100 rows
  • All Dexes above $1M TVL β†’ ~150–250 rows
  • All Lending category protocols β†’ ~200–300 rows
  • All protocols above $1M TVL β†’ ~1,500–2,500 rows
  • All protocols, no filter β†’ ~7,000 rows

πŸ”„ Schedule for continuous monitoring

This scraper plays nicely with Apify's scheduler. Common patterns:

  • Every hour β€” DeFi TVL dashboards for active users
  • Every 6 hours β€” competitive intelligence for protocol founders
  • Daily at midnight UTC β€” DeFi TVL archive for research and quant teams (the most common cadence)
  • Weekly β€” newsletter "DeFi state of the union" reports
  • On-demand β€” pre / post-event snapshots around upgrades, hacks, depegs, regulatory news

Use Apify Webhooks to push the dataset into TimescaleDB, BigQuery, Snowflake, Postgres, Google Sheets, Slack, Discord, Make.com, n8n, or your own DeFi analytics pipeline.


πŸ› οΈ FAQ

Do I need a DefiLlama API key? No. DefiLlama's protocols endpoint is public, free, and requires no authentication.

How many protocols does DefiLlama track? 7,000+ at the time of writing, growing as new protocols are listed. The free public endpoint returns all of them in one response.

Which categories are available? The most common categories include: Dexes, Lending, Liquid Staking, Liquid Restaking, Yield, Yield Aggregator, CDP, Bridge, Derivatives, RWA, Insurance, Prediction Market, Options, Options Vault, Reserve Currency, NFT Lending, Stablecoin Issuer, Cross Chain Bridge, Synthetics, Algo-Stables, Index, Launchpad, Indexer, Privacy and several dozen more β€” see defillama.com/categories for the live list.

Which chains does DefiLlama cover? Every chain with meaningful DeFi activity β€” Ethereum, Arbitrum, Optimism, Base, BSC, Polygon, Avalanche, Solana, Tron, Sui, TON, Aptos, Hyperliquid, Berachain, Sonic, Monad, Linea, Mantle, Scroll, zkSync Era, Blast, Mode, Manta, PulseChain, Cronos, Fantom, Sei, Celo, Gnosis, Moonbeam, Cosmos, Osmosis, Injective, Cardano, Stellar, NEAR and many more.

How fresh is the data? DefiLlama refreshes its protocol TVL snapshot every ~1 hour. So scheduling more frequently than hourly gives you the same data multiple times β€” schedule hourly or longer for fresh updates.

Can I build a historical TVL archive? Yes β€” schedule daily snapshots and aggregate over time. After a few weeks you have a longitudinal dataset of per-protocol TVL, momentum and market-cap drift that's perfect for DeFi research.

Can I get per-chain TVL breakdown for a protocol? Not from this scraper β€” this returns each protocol's chain (primary) and chains (list) but not the per-chain TVL split. DefiLlama's separate per-protocol endpoint (/protocol/{slug}) returns that detail.

Can I sort by 1-hour or 1-day TVL change? Yes β€” set sortBy=change_1d to surface the day's biggest movers, or sortBy=change_7d for the week's. (1-hour change is in the output but not a sort key β€” sort downstream if needed.)

Does the actor respect DefiLlama's rate limits? Yes β€” one request per run, built-in backoff on HTTP 429. You can run unattended without getting throttled.

Can I filter to only protocols with a tradable token (non-null mcap)? Not from the input schema β€” filter downstream by mcap != null or mcap > 0. Many DeFi protocols have governance tokens; some (like Maker before MKR was renamed, or single-product apps) don't.

Can I export to CSV or Excel? Yes. Apify Dataset exports support JSON, CSV, Excel (XLSX), HTML and JSONL.

Can I integrate via webhook / API? Yes. Apify provides REST API access to runs and datasets. Trigger from Zapier, Make.com, n8n, custom code, or any HTTP client.


Combine this protocols scraper with other crypto data scrapers in the suite to build a complete DeFi + spot + derivatives + on-chain stack:

ScraperPurpose
defillama-protocols-scraperYou are here. All 7,000+ DeFi protocols with TVL, 1h/1d/7d TVL change, category, chains.
defillama-yields-scraper20,000+ DeFi yield pools with APY breakdown, TVL, IL risk, 1d/7d/30d APY trend.
coingecko-coins-market-scraperFull crypto market table β€” 17,000+ coins with price, market cap, volume, supply, ATH/ATL.
coingecko-derivatives-scraperAll 22,000+ derivative tickers (perpetuals + futures) with funding, OI, basis, volume.
geckoterminal-dex-pools-scraperOn-chain DEX liquidity pools across 100+ networks (price, FDV, reserve, volume, txns).
dexscreener-token-pairs-scraperToken contract β†’ every live DEX pair across every chain.
dexscreener-search-pairs-scraperFree-text symbol/name search β†’ matching DEX pairs.
crypto-exchange-tickers-scraperCEX spot ticker tables across exchanges.

πŸ”‘ Keyword cloud

Core: defillama api, defillama scraper, defillama protocols scraper, defi tvl scraper, defi tvl data, defi protocols api, defi protocol list, defi market data, defi analytics, defi protocol export, total value locked api, defi landscape data.

Per niche / protocol: aave tvl, compound tvl, makerdao tvl, sky usds tvl, lido tvl, rocket pool tvl, eigenlayer tvl, ether.fi tvl, renzo tvl, kelp dao tvl, pendle tvl, uniswap v3 tvl, curve tvl, balancer tvl, sushiswap tvl, aerodrome tvl, velodrome tvl, raydium tvl, gmx tvl, hyperliquid tvl, dydx tvl, ondo tvl, maple tvl, frax tvl, ethena tvl, morpho tvl.

Per category: dex tvl scraper, lending tvl data, liquid staking tvl tracker, liquid restaking tvl tracker, yield aggregator tvl, cdp tvl tracker, bridge tvl tracker, perpetuals dex tvl, real world assets tvl, rwa scraper, options tvl tracker, stablecoin issuer tvl.

Per use case: defi competitive intelligence, defi vc research data, defi index construction, defi etf data, defi treasury monitoring, defi risk monitoring, defi tvl archive, defi newsletter data, defi market share tracker, cross-chain tvl study, defi protocol research, defi opportunity screener.

Per audience: defi data for analysts, defi data for vcs, defi data for protocol founders, defi data for treasury teams, defi data for index products, defi data for newsletter operators, defi data for risk desks, defi data for data products.