DefiLlama Scraper avatar

DefiLlama Scraper

Pricing

from $0.25 / 1,000 results

Go to Apify Store
DefiLlama Scraper

DefiLlama Scraper

Scrapes DeFi and blockchain data from DefiLlama public APIs, extracting chain TVL, historical TVL changes, on-chain fees, DEX volumes, protocol metrics, and stablecoin supply. Ideal for crypto market research, DeFi analytics, and portfolio tracking.

Pricing

from $0.25 / 1,000 results

Rating

0.0

(0)

Developer

FalconScrape

FalconScrape

Maintained by Community

Actor stats

1

Bookmarked

37

Total users

0

Monthly active users

13 days ago

Last modified

Security

Limited permissions

Share

🚀 DefiLlama Scraper: TVL, Fees, DEX Volume and Stablecoin Data

Export DefiLlama data as clean JSON, CSV or Excel without writing code. The DefiLlama Scraper returns TVL by chain with 1d/7d/30d changes, chain and protocol fees, DEX volume, 8,000+ DeFi protocols and 400+ stablecoins in one dataset. Use it as a no-code alternative to the DefiLlama API for DeFi analytics, research and dashboards.

🎯 Use Cases

  • Track DefiLlama TVL by chain: schedule a daily run and build your own history of total value locked for Ethereum, Solana, Base and 100+ other chains.
  • Compare DefiLlama fees and revenue: rank chains and protocols by fees over 24 hours, 7 days, 30 days, 1 year and all time.
  • Monitor DEX volume by chain and protocol: see which DEXes grow or lose volume week over week.
  • Follow DefiLlama stablecoins: track circulating supply, peg type and price of USDT, USDC and 400+ other stablecoins.
  • Build DeFi analytics dashboards: send one flat table of chains and protocols to Google Sheets, Looker Studio or your database.
  • Research DefiLlama protocols: filter 8,000+ protocols by category, chain and TVL to find leads, competitors or investment ideas.

✨ Features

  • DefiLlama chains: TVL, TVL change over 1, 7 and 30 days, chain ID, token symbol, CoinGecko and CoinMarketCap IDs, plus each chain's fee totals and fee changes.
  • Protocols: name, symbol, category, chains, TVL with 1h/1d/7d changes, website, X (Twitter) handle, description and logo.
  • DEX volume: 24h, 7d, 30d, 1 year and all-time volume per DEX, with day, week, month and period-over-period changes.
  • Fees: the same time windows for fees generated by each protocol.
  • Stablecoins: peg type, peg mechanism, price, and circulating supply now, a day ago, a week ago and a month ago, summed across all chains.
  • One dataset, one type field: every row is tagged chain, protocol, dex, fee or stablecoin, so you can filter or split the export easily.
  • Numbers as numbers: TVL, fees and volumes are plain USD numbers, ready for spreadsheets and charts.
  • Fair billing: the run stops at your max charge, so you never pay for more rows than you allowed.

🛠️ How It Works

  1. Set Max chains: how many of the top chains by TVL to export (default 100).
  2. Switch on the extra datasets you need: protocols, DEX volumes, fees and stablecoins.
  3. Run the scraper and download the results as JSON, CSV or Excel, or pull them through the Apify API.

⚙️ Input

FieldWhat it does
Max chainsHow many top chains by TVL to export, from 1 to 1,000. Default 100. Chains are always included.
Scrape protocolsAdd every DeFi protocol (8,000+ rows) with TVL, category and chains. Default off.
Scrape DEXesAdd DEX volume per protocol (about 1,500 rows). Default off.
Scrape feesAdd fees per protocol (about 3,000 rows). Default off.
Scrape stablecoinsAdd every stablecoin (about 400 rows) with supply, peg and price. Default off.
{
"maxChains": 50,
"scrapeDexes": true,
"scrapeStablecoins": true
}

Rows are saved in this order: chains, protocols, DEXes, fees, stablecoins. If you set a low max charge, the later datasets may be cut off.

💰 Pricing

Pay only for the rows you get. No monthly rental.

EventPriceWhat you get
Result$0.00025 per row ($0.25 per 1,000)One chain, protocol, DEX, fee or stablecoin row
Actor start$0.00005 per runCharged once when the run starts.

Examples:

  • Default input (top 100 chains) = 100 rows = $0.025.
  • Top 50 chains + DEX volumes + stablecoins (about 2,000 rows) = about $0.50.
  • Everything (100 chains + all protocols, DEXes, fees and stablecoins, about 13,900 rows) = about $3.48.

📊 Sample Output Data

A chain row from a real run:

{
"type": "chain",
"name": "Ethereum",
"tvl": 50387169539.28383,
"geckoId": "ethereum",
"tokenSymbol": "ETH",
"cmcId": "1027",
"chainId": 1,
"tvlChange1d": 2.12,
"tvlChange7d": -0.82,
"tvlChange30d": -5.35,
"fees24h": 9995461.170000004,
"fees7d": 74684679.70000002,
"fees30d": 346248400.36999875,
"fees1y": 4426175611.920123,
"feesAllTime": 48334124351.65003,
"fees48hto24h": 10859363.199999996,
"fees14dto7d": 79196200.47000009,
"fees60dto30d": 325791178.6799994,
"fees7DaysAgo": 10655577.4,
"fees30DaysAgo": 9179915.459999993,
"feesChange1d": -7.96,
"feesChange7d": -6.2,
"feesChange1m": 8.88,
"feesChange7dover7d": -5.7,
"feesChange30dover30d": 6.28,
"feesProtocolCount": 629
}

A dex row:

{
"type": "dex",
"name": "Uniswap V3",
"slug": "uniswap-v3",
"category": "Dexs",
"chains": ["Ethereum", "Arbitrum", "OP Mainnet", "Polygon", "…"],
"volume24h": 1048688749,
"volume7d": 6968642284,
"volume30d": 35388097295,
"volume1y": 398454316673,
"volumeAllTime": 2886932507448,
"volumeChange1d": 18.31,
"volumeChange7d": -31.04,
"volumeChange1m": -12.04,
"volumeChange7dover7d": -4.69,
"volumeChange30dover30d": -22.19
}

A stablecoin row:

{
"type": "stablecoin",
"name": "Tether",
"symbol": "USDT",
"geckoId": "tether",
"pegType": "peggedUSD",
"pegMechanism": "fiat-backed",
"price": 0.9990870003525827,
"circulating": 182744416281.58725,
"circulatingPrevDay": 182978341322.755,
"circulatingPrevWeek": 183958788554.15884,
"circulatingPrevMonth": 183186580940.0396,
"chains": ["Tron", "Ethereum", "BSC", "Solana", "…"]
}

protocol rows add symbol, chain ("Multi-Chain" or a single chain), tvl, tvlChange1h, tvlChange1d, tvlChange7d, url, description, twitter and logo. fee rows have the same layout as dex rows, with fees24h … feesChange30dover30d instead of volume fields.

All money values are in USD and all changes are percentages. On chain rows, fees48hto24h, fees14dto7d and fees60dto30d are the previous period's totals, so you can compute your own changes. feesProtocolCount is how many protocols report fees on that chain.

🔁 Schedule DefiLlama TVL Tracking and Integrate

For TVL and fee tracking, run it once a day with the same input: every run is a dated snapshot, and together they form your own DefiLlama TVL history. Set it up in Apify Schedules. Send the results to Google Sheets, Zapier, Make, n8n or a webhook with Apify integrations, so fresh DeFi numbers land where your team already works.

🤖 Use with AI Agents (MCP)

This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (https://mcp.apify.com). An agent can call it with:

{ "maxChains": 20, "scrapeStablecoins": true }

❓ DefiLlama API FAQ

Does DefiLlama have an official API? Yes. DefiLlama publishes a free public API and a paid Pro plan with an API key for extra data. This Actor needs no key and no code: one run joins chains, fees, DEX volumes, protocols and stablecoins into one flat table, adds 1d/7d/30d TVL changes per chain, sums stablecoin supply across chains, and exports straight to CSV, Excel, Google Sheets or your own app on a schedule.

Do I need a DefiLlama API key or account? No. All data comes from DefiLlama's public pages and data.

How do I get DefiLlama TVL by chain? Run the Actor with the default input. You get the top 100 chains by TVL with TVL changes over 1, 7 and 30 days. Raise Max chains to get all of them.

Why is a field empty? Many protocols and DEXes have no TVL, volume or change figure for a period (new, inactive or not tracked yet), and some chains have no token, chain ID or fee data. Those fields are null then. Fields are never invented.

Are there limits? Each run returns the current snapshot, not historical time series. Max chains goes up to 1,000; protocols, DEXes, fees and stablecoins are always the full lists. Chain names can differ slightly between datasets (for example "BSC" and "Binance") because DefiLlama labels them differently.

How do I track DeFi analytics over time? Schedule a daily run and keep each run's dataset, or append the rows to one Google Sheet. Compare tvl, fees24h or volume24h across days to see trends.