DeFiLlama Yield Pools Scraper
parseforge/defillama-yields-pools-v2-scraper
AutomationIntegrationsBusiness
Scrapes DeFiLlama yield pools with filters for chain, project, symbol, TVL, APY, and stablecoin status. Returns each pool as a flat row with APY, TVL, and metadata.
- Total users
- 1
- Monthly active
- 0
- Total runs
- 88
- Bookmarked
- 0
- Rating
- Not rated yet
- Last modified
- 9 days ago
Overview
DeFiLlama Yield Pools Scraper
Scrape DeFi yield pools from DeFiLlama, filtered by chain, project, TVL, APY, or stablecoin flag, up to a million per run. Every pool comes with its APY, TVL, symbol, and chain. No API key or browser. Export to CSV, JSON, Excel, or XML.
DeFiLlama lists thousands of yield pools across dozens of chains, but the web dashboard limits how you can slice the data. This Actor reads the public DeFiLlama yields endpoint directly, applies your filters on chain, project, symbol, TVL, APY, and stablecoin status, and returns each matching pool in one flat row. You get the raw data behind the dashboard, ready for your own analysis or pipeline.
| Who uses it | What they scrape DeFiLlama for |
|---|---|
| Yield farmers | Find the highest APY pools on a specific chain while ignoring dust TVL. |
| Crypto treasury managers | Monitor stablecoin pool yields across protocols for cash deployment decisions. |
| DeFi aggregators | Pull a daily feed of pool metadata and rates to power a comparison site. |
| Quantitative researchers | Collect historical snapshots of pool TVL and APY for backtesting strategies. |
What it does
This Actor collects DeFiLlama yield pool records by chain, project, symbol, TVL, and APY filters, and returns each pool as a flat row.
- โ๏ธ Chain filter: restrict results to a single chain like Ethereum, Arbitrum, or Solana.
- ๐ฆ Project filter: target a specific DeFiLlama project slug such as aave-v3, lido, or curve-dex.
- ๐ Symbol search: case-insensitive substring match on the pool symbol to find specific tokens.
- ๐ฐ TVL and APY thresholds: set minimum TVL in USD and minimum APY percentage to weed out tiny or dead pools.
- ๐ช Stablecoin toggle: limit the dataset to stablecoin pools only.
- ๐ Sort control: order results by TVL or APY, descending, so the largest or highest-yielding pools come first.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with DeFiLlama data
๐ Build a high-yield watchlist.
A yield farmer runs the Actor daily with minTvl=100000 and minApy=5 on Ethereum, sorts by APY, and picks the top 20 pools to research.
๐ต Monitor stablecoin deployment options.
A DAO treasury manager sets stablecoinOnly=true, minTvl=1000000, and chain=Arbitrum to see where large stablecoin pools are earning the best rates this week.
๐ Track a specific protocol's pools.
A DeFi analyst filters by project=aave-v3 and chain=Polygon to pull every Aave v3 pool on Polygon into a spreadsheet for a risk review.
๐ Feed a DeFi dashboard.
A data engineer schedules the Actor to run every hour with no filters, maxItems=50000, and pipes the JSON into a live TVL and APY dashboard.
Why choose this scraper
| What you get | |
|---|---|
| No API key | Reads the same public endpoint the DeFiLlama frontend uses, no registration needed. |
| Flat schema | Every pool is one row with fixed columns, ready for a spreadsheet or database. |
| High throughput | Collect up to a million pools per run, filtered server-side before counting toward your limit. |
| Flexible export | Download as CSV, JSON, Excel, or XML from the Apify dataset tab. |
How it compares
This Actor focuses on the raw DeFiLlama yields feed with server-side filtering and sorting, while other scrapers add computed scores or target a curated subset of pools.
| Feature | ParseForge | Defillama Yields Pools Scraper | DeFi Yield APY Scanner | DeFi Yields & Lending Rates Tracker |
|---|---|---|---|---|
| Filter by chain | Yes, exact chain name | Not listed | Yes | Yes |
| Filter by project slug | Yes | Not listed | Not listed | Not listed |
| Filter by symbol substring | Yes, case-insensitive | Not listed | Not listed | Not listed |
| Minimum TVL filter | Yes, in USD | Not listed | Yes | Not listed |
| Minimum APY filter | Yes, in percent | Not listed | Not listed | Not listed |
| Stablecoin-only toggle | Yes | Not listed | Not listed | Yes |
| Sort by TVL or APY | Yes, descending | Not listed | Not listed | Not listed |
Configure the run
Drive the Actor with optional chain, project, symbol, TVL, APY, and stablecoin filters, and sorting runs before the row limit is applied so only the most relevant pools reach your dataset. The Input tab lists every parameter.
A first run with the defaults:
{
"maxItems": 10
}
A larger pull:
{
"maxItems": 200
}
Pricing
Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the DeFiLlama Yield Pools Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to DeFiLlama through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/defillama-yields-pools-v2-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Your filters may be too restrictive. Try removing the chain, project, or symbol filter, or lowering the minTvl and minApy thresholds. Check that the project slug matches DeFiLlama's URL exactly.
The chain name I used returns nothing.
Chain names are case-sensitive and must match DeFiLlama's spelling. Use the exact name from the DeFiLlama chains page, such as Arbitrum not arbitrum.
My project filter is not working.
Project filters use the DeFiLlama slug, not the display name. For example, use aave-v3 not Aave V3. Find the slug in the project's DeFiLlama URL.
The run takes a long time.
Large maxItems values with no filters will pull many pools. Add a chain or project filter, or lower maxItems, to speed up the run.
APY values look different from the website.
DeFiLlama updates APY values frequently. A small difference is normal due to timing. If the gap is large, check that you are comparing the same pool and the same APY field.
FAQ
| Question | Answer |
|---|---|
| Do I need a DeFiLlama API key? | No. The Actor reads the same public data endpoint that the DeFiLlama website uses, so no key or registration is required. |
| What chains are supported? | All chains that DeFiLlama tracks are available. Use the chain filter with the exact name as it appears on DeFiLlama, such as Ethereum, Arbitrum, or Solana. |
| How do I find the correct project slug? | Visit a project page on DeFiLlama and look at the URL. The slug is the last part, for example aave-v3 or curve-dex. Use that value in the project filter. |
| Can I get both lending and liquidity pool yields? | Yes. The Actor returns all pool types that DeFiLlama classifies as yield pools, including lending markets, DEX liquidity pools, and vaults. |
| What does the stablecoin filter do? | When enabled, the Actor returns only pools that DeFiLlama tags as stablecoin pools, which typically involve pairs of USD-pegged assets. |
| How is APY calculated? | The Actor returns the APY value as reported by DeFiLlama, which may include base yield plus reward emissions. Refer to DeFiLlama's methodology for details. |
| Can I sort by APY instead of TVL? | Yes. Set the sortBy input to apy, and the highest-yielding pools that pass your filters will be returned first. |
| What happens if I set maxItems higher than the number of matching pools? | The Actor returns all pools that match your filters. maxItems is an upper cap, not a target. |
| Is this the same data as the DeFiLlama Pro API? | This Actor reads the public yields endpoint that powers the free DeFiLlama dashboard. It does not use the paid Pro API. |
| Can I run this on a schedule? | Yes. Apify supports scheduled runs. Set the Actor to run hourly or daily to build a time series of pool data. |
Related actors
Browse the full ParseForge collection for more scrapers.
๐ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
โ ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by DeFiLlama. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
Input
| Field | Type | What it does | Default |
|---|---|---|---|
| maxItems | integer | How many pools to collect per run. | 10 |
| chain | string | Filter pools to a specific chain (e.g. Ethereum, Arbitrum, Solana). | not set |
| project | string | Filter by DeFiLlama project slug (e.g. aave-v3, lido, curve-dex). | not set |
| symbolContains | string | Case-insensitive substring match on pool symbol. | not set |
| minTvl | integer | Only return pools with TVL at least this many USD. | not set |
| minApy | number | Only return pools with APY at least this many percent. | not set |
| stablecoinOnly | boolean | Restrict to stablecoin pools. | not set |
| sortBy | string (2 options) | Field used to order the results. | tvlUsd |
Pricing
from $7.50 per 1,000 results
| Charged for | What it is | Price each |
|---|---|---|
| result | Single result in the default dataset. | $0.0075 to $0.0085 |
Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.
API
One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.
curl -X POST "https://api.apify.com/v2/acts/parseforge~defillama-yields-pools-v2-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"helloWorld": 123
}' Examples
Input that runs as-is.
{
"helloWorld": 123
} Reviews
No reviews yet. Be the first.
Issues
We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.
Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.
