DefiLlama Protocols Scraper
Pricing
from $3.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
π¦ DefiLlama Protocols Scraper β Scrape All DeFi Protocols & TVL Data

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
| Feature | What it gives you |
|---|---|
| π¦ Official DefiLlama API | Reliable, fully structured DeFi data β the same source the entire industry already trusts |
| π Full coverage | All 7,000+ DeFi protocols in one run β or a smaller subset with filters |
| π Rich per-protocol metrics | TVL, 1h / 1d / 7d TVL change %, market cap, category, primary chain, all chains |
| π Chain filter | Restrict results to protocols active on specific chains (Ethereum, Arbitrum, Solana, Base, etc.) |
| π·οΈ Category filter | Focus on Dexes, Lending, Liquid Staking, Yield, CDP, Bridge, Derivatives, RWA, Restaking and many more |
| π΅ TVL floor | Drop dust protocols by setting a minimum TVL threshold in USD |
| π Sortable | Rank by tvl, change_1d, change_7d or mcap |
| π Links & metadata | Website URL, Twitter handle, description, DefiLlama URL, listing date |
| π€ Flat structured rows | 18 columns, no nested JSON wrangling |
| πΎ JSON, CSV, Excel exports | Direct Apify Dataset β any format |
| π Public API only | No login, no API key, no Cloudflare bypass |
| β° Schedule-ready | Designed 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
| Field | Type | Required | Description |
|---|---|---|---|
chains | string[] | No | Filter 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. |
categories | string[] | No | Filter 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. |
minTvlUsd | int | No | Only include protocols with TVL at or above this USD value. 0 = no filter. Default 0. |
sortBy | string (enum) | No | Rank protocols by this metric. One of tvl, change_1d, change_7d, mcap. Default tvl. |
maxProtocols | int | No | Maximum 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)
| Field | Type | Meaning |
|---|---|---|
id | string | DefiLlama internal protocol ID |
name | string | Display name of the protocol |
symbol | string | Governance / native token symbol, or - if none |
slug | string | DefiLlama protocol slug (e.g. lido, aave-v3, uniswap-v3) β used in URLs |
category | string | Protocol category (Dexes, Lending, Liquid Staking, Liquid Restaking, Yield, CDP, Bridge, Derivatives, RWA, etc.) |
chain | string | Primary chain (where most of the TVL lives) |
chains | string[] | Array of every chain the protocol is deployed on |
tvl | number | Total Value Locked in USD |
change1h | number | TVL change over the last 1 hour, % |
change1d | number | TVL change over the last 1 day, % |
change7d | number | TVL change over the last 7 days, % |
mcap | number | Governance token market capitalization in USD |
url | string | Protocol official website URL |
twitter | string | Protocol Twitter / X handle |
description | string | Short DefiLlama-provided protocol description |
listedAt | string | ISO 8601 date the protocol was first listed on DefiLlama |
defillamaUrl | string | DefiLlama protocol page URL |
scrapedAt | string | ISO 8601 timestamp when this row was saved |
βοΈ How it works
- Reads input β chain / category filters, TVL floor, sort key, protocol cap.
- Pulls the DefiLlama
protocolsendpoint β returns the full 7,000+ protocol snapshot in one response. - Filters in-stream β drops protocols that fail your chain / category / TVL filters.
- Sorts the filtered list by your chosen metric (
tvl,change_1d,change_7d,mcap). - Trims to
maxProtocolsif a cap was set. - Flattens every protocol into an 18-field row.
- 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
| Workload | Time | API calls |
|---|---|---|
| All 7,000+ protocols (no filter) | ~5β8 seconds | 1 |
| All Ethereum protocols | ~5β8 seconds | 1 |
| All Lending category protocols | ~5β8 seconds | 1 |
| Top 100 by TVL | ~5β8 seconds | 1 |
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.
π Related scrapers
Combine this protocols scraper with other crypto data scrapers in the suite to build a complete DeFi + spot + derivatives + on-chain stack:
| Scraper | Purpose |
|---|---|
defillama-protocols-scraper | You are here. All 7,000+ DeFi protocols with TVL, 1h/1d/7d TVL change, category, chains. |
defillama-yields-scraper | 20,000+ DeFi yield pools with APY breakdown, TVL, IL risk, 1d/7d/30d APY trend. |
coingecko-coins-market-scraper | Full crypto market table β 17,000+ coins with price, market cap, volume, supply, ATH/ATL. |
coingecko-derivatives-scraper | All 22,000+ derivative tickers (perpetuals + futures) with funding, OI, basis, volume. |
geckoterminal-dex-pools-scraper | On-chain DEX liquidity pools across 100+ networks (price, FDV, reserve, volume, txns). |
dexscreener-token-pairs-scraper | Token contract β every live DEX pair across every chain. |
dexscreener-search-pairs-scraper | Free-text symbol/name search β matching DEX pairs. |
crypto-exchange-tickers-scraper | CEX 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.