DefiLlama Protocol, Chain & Yield Data Extractor
Pull DeFi protocol TVL history, chain rankings, stablecoin supply, yield-pool APY, DEX and lending volume, fees, bridge flow, and token prices from DefiLlama's open datasets.
Open in Apify Store$0.99 / 1K on Free
Short answer
DefiLlama Protocol, Chain & Yield Data Extractor is an Apify Store Actor that returns 7 published output fields, including name, category, chain, tvl. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 12 input settings; one is required (mode). Last updated Nov 26, 2026.
From the public Store listing and published build schema, synced 2026-11-26.What it returns
7 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
recordTypenamecategorychaintvltvlUsdurl
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| mode | string | Yes | protocols | What to fetch. |
| protocolSlug | string | No | – | DefiLlama protocol slug — visible in the URL on defillama.com (e.g. `aave`, `lido`, `uniswap`, `curve-dex`). Example: `aave`. |
| chain | string | No | – | Chain name as DefiLlama uses it. Use the dropdown for top chains, OR paste an exact chain name from the chains list (case-sensitive — DefiLlama uses `Ethereum`, `BSC`, etc.). |
| category | string | No | – | Filter protocols by DefiLlama category (e.g. `Lending`, `Dexes`, `Liquid Staking`, `Yield Aggregator`, `Bridge`, `CDP`, `Yield`, `Derivatives`, `Cross Chain`). |
| minTvlUsd | integer | No | – | Drop records with TVL below this threshold (USD). |
| stablecoinId | integer | No | – | DefiLlama stablecoin ID (e.g. `1` = USDT, `2` = USDC). See `mode=stablecoins` to enumerate. |
| poolId | string | No | – | DefiLlama yield pool UUID (visible in the pool URL on yields.llama.fi). |
| bridgeName | string | No | – | Bridge identifier from the bridges list. |
| tokenIds | array | No | [] | List of token IDs in DefiLlama format: `coingecko:bitcoin`, `ethereum:0x...`, `bsc:0x...`. Up to 100 per call. |
| stablecoinIncludePrices | boolean | No | true | When true, the stablecoins endpoint includes current price data per asset. |
Show the other 2 settings
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| url | string | No | – | Any defillama.com URL — auto-detected. Examples: defillama.com/protocol/aave , defillama.com/chain/Ethereum , stablecoins.llama.fi (homepage → top stablecoins). |
| maxItems | integer | No | 100 | Hard cap on emitted records. Example: `100`. |
Example input
Built from the input form's published example values and defaults.
{
"mode": "protocols",
"tokenIds": [],
"stablecoinIncludePrices": true,
"maxItems": 20
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"mode": "protocols",
"tokenIds": [],
"stablecoinIncludePrices": True,
"maxItems": 20
}
run = client.actor("vexaloom-labs/defillama-protocol-chain-and-yield-data-extractor").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"mode": "protocols",
"tokenIds": [],
"stablecoinIncludePrices": true,
"maxItems": 20
};
const run = await client.actor("vexaloom-labs/defillama-protocol-chain-and-yield-data-extractor").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/vexaloom-labs~defillama-protocol-chain-and-yield-data-extractor/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"mode":"protocols","tokenIds":[],"stablecoinIncludePrices":true,"maxItems":20}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=vexaloom-labs/defillama-protocol-chain-and-yield-data-extractor",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
What people use it for
- Monitor DeFi metrics
- Analyze yield pools
Similar Actors
Pump.fun & Solana New Pool Launch Tracker
Track newly launched and trending Solana token pools, including Pump.fun tokens that graduated to a DEX, with price, volume, liquidity and…
DexScreener Token Pair & Boosted Token Scraper
Look up decentralized exchange trading pairs by token or pair address, search tokens by name or symbol, or pull the latest boosted tokens and…
CoinGecko Coin Rankings, Trending & Categories
Get CoinGecko coin rankings, search results, per-coin detail, trending coins, and category listings with price, market cap, and 24h change, in…
Crypto Market Sentiment Index Tracker
Get the live crypto market-sentiment reading, the last N daily values, or any historical date range since 2018 - with a 0-100 score, an Extreme…
Google Finance Quotes, Analyst & Earnings Data
Collect Google Finance quotes for stocks, ETFs, indexes, FX and crypto, or discover market movers and lists. Each quote bundles key stats, company…
Polymarket Market Odds & Volume Scraper
Pull Polymarket prediction markets by keyword, event, category or condition ID, or browse trending and recently resolved markets, with outcome…
Questions people ask
How much does DefiLlama Protocol, Chain & Yield Data Extractor cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does DefiLlama Protocol, Chain & Yield Data Extractor return?
Its published output schema lists 7 fields: recordType, name, category, chain, tvl, tvlUsd, url. A listed field is not guaranteed to be filled in every row.
What input does DefiLlama Protocol, Chain & Yield Data Extractor need?
Required: mode. Optional settings include protocolSlug, chain, category, minTvlUsd, stablecoinId, poolId.
How do I run DefiLlama Protocol, Chain & Yield Data Extractor from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("vexaloom-labs/defillama-protocol-chain-and-yield-data-extractor").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("vexaloom-labs/defillama-protocol-chain-and-yield-data-extractor").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/vexaloom-labs~defillama-protocol-chain-and-yield-data-extractor/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- DefiLlama Protocol, Chain & Yield Data Extractor on Apify Store
- Published build with input and output schema (JSON)
Cite this page
Scraper Finder. "DefiLlama Protocol, Chain & Yield Data Extractor." https://scraperfinder.com/catalogue/defillama-protocol-chain-and-yield-data-extractor/ (data checked 2026-11-26).
Run DefiLlama Protocol, Chain & Yield Data Extractor
$0.99 per 1,000 results. Paste the example input above, set your target query, then export the dataset.