DeFiLlama Protocol TVL Scraper
Pricing
from $1.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
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?
| Field | Description |
|---|---|
| name | Protocol or chain name |
| slug | URL-friendly identifier |
| tvl | Total Value Locked in USD |
| category | Protocol category (DEX, Lending, Liquid Staking, etc.) |
| chains | Array of supported blockchain networks |
| change_1h / change_1d / change_7d | TVL change percentages |
| mcap | Market cap |
| fdv | Fully diluted valuation |
| url | Protocol website |
| description | Protocol description |
| tvl_history | Historical TVL data (detail mode) |
| github | GitHub repository links (detail mode) |
| Twitter handle (detail mode) |
How to use it
- Click "Try for free" or "Start"
- Choose your mode:
protocols,protocol, orchains - Optionally filter by chain name (e.g. "Ethereum") or category (e.g. "DEX")
- Set max_items to limit results
- Run the Actor
- 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
| Parameter | Type | Default | Description |
|---|---|---|---|
| mode | string | protocols | protocols, protocol, or chains |
| chain | string | (empty) | Filter by chain name, e.g. "Ethereum", "Arbitrum" |
| category | string | (empty) | Filter by category, e.g. "DEX", "Lending" |
| protocol_name | string | (empty) | Required when mode is protocol |
| max_items | integer | 500 | Maximum 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.