DeFiLlama TVL, Yields & Stablecoins Scraper avatar

DeFiLlama TVL, Yields & Stablecoins Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
DeFiLlama TVL, Yields & Stablecoins Scraper

DeFiLlama TVL, Yields & Stablecoins Scraper

Get real-time DeFi data from DeFiLlama across protocols, yield pools, blockchains, and stablecoins. Pull TVL metrics, APY yields, token prices, and chain rankings with no API key required.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Willy Lengkong

Willy Lengkong

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Extract real-time decentralized finance data from DeFiLlama across four dedicated data modules: protocols, yield pools, blockchains, and stablecoins. Filter results by blockchain, protocol category, minimum TVL, and minimum APY to capture clean, structured records ready for quantitative analysis. Runs fast and lightweight with zero browser overhead.


Modes

ModeInputWhat you get
DeFi Protocols (protocols)chain, category, minTvl, maxItemsProtocol TVL rankings, multi-chain breakdowns, 1h/1d/7d TVL changes, market cap, audits, oracles, and DeFiLlama links.
Yield Pools (yields)chain, minTvl, minApy, maxItemsLive farming, lending, and staking pools with total APY, base vs. reward APY, reward tokens, IL risk, and 1d/7d volume.
Chains (chains)maxItemsBlockchain-level Total Value Locked (TVL), native token symbols, chain IDs, and CoinGecko/CMC identifiers.
Stablecoins (stablecoins)maxItemsStablecoin prices, circulating USD supply, peg types, backing mechanisms, and supported blockchains.

Supported Coverage

  • Data Modules:
    • Protocols: TVL, category, chain distribution, price/TVL changes (change_1h, change_1d, change_7d), mcap, audits, forkedFrom, and oracles.
    • Yields: Total apy, apy_base, apy_reward, underlying_tokens, reward_tokens, stablecoin flag, il_risk, exposure, and volume_usd_1d / volume_usd_7d.
    • Chains: Layer 1 and Layer 2 ecosystems across Ethereum, Solana, Arbitrum, BSC, Polygon, Base, Optimism, Avalanche, Sui, TON, and more.
    • Stablecoins: Fiat-backed, crypto-backed, and algorithmic stablecoins with peg_type, peg_mechanism, and circulating_usd.
  • Filters: Filter by any blockchain name (Ethereum, Solana, Arbitrum, BSC, Polygon, or all), protocol category (Dexs, Lending, Liquid Staking, Bridge, Yield, or all), minimum TVL in USD, and minimum APY percentage.

Output Modes & Proxy Tips

  • No Proxy Required: DeFiLlama data is publicly accessible and runs reliably using a direct connection (useApifyProxy optional).
  • Filter Behavior by Mode:
    • chain and minTvl filter results in protocols and yields modes.
    • category filters results in protocols mode.
    • minApy filters results in yields mode.
    • chains and stablecoins modes return records capped by maxItems.

Use Cases

  • Yield & Liquidity Screening: Monitor high-APY lending and liquidity pools above custom TVL and impermanent-loss thresholds.
  • On-Chain Capital Flow Tracking: Track 1-hour, 24-hour, and 7-day TVL shifts across blockchains and DeFi categories.
  • Stablecoin Supply & Peg Monitoring: Track circulating supply, multi-chain issuance, and peg stability across major stablecoins.
  • Crypto Research & AI Agents: Feed structured protocol, audit, and yield datasets into quantitative backtests, dashboards, or research workflows.

Input Parameters

ParameterTypeDefaultDescription
modeString"protocols"DeFi data category to extract: "protocols", "yields", "chains", or "stablecoins".
chainString"all"Filter protocols or yield pools by blockchain (e.g. Ethereum, Solana, Arbitrum, BSC, Polygon, all).
categoryString"all"Filter protocols by category (e.g. Dexs, Lending, Liquid Staking, Bridge, Yield, all).
minTvlInteger100000Minimum Total Value Locked in USD to include in results.
minApyNumber1.0Minimum Annual Percentage Yield percentage (applicable in yields mode).
maxItemsInteger100Maximum number of items to output (1–50000).
proxyConfigurationObjectnullOptional Apify Proxy configuration (DeFiLlama works directly without proxies).

Sample Output

{
"id": "2272",
"name": "OKX",
"symbol": "OKB",
"url": "https://www.okx.com",
"category": "CEX",
"tvl": 29365035026.31,
"chain": "Multi-Chain",
"chains": [
"Ethereum",
"Bitcoin",
"X Layer",
"Solana",
"Doge",
"Tron",
"Ripple",
"Litecoin",
"Linea",
"Arbitrum",
"Polkadot",
"Aptos",
"TON",
"Base",
"Optimism",
"zkSync Era",
"Avalanche",
"Scroll",
"Starknet",
"Polygon"
],
"change_1h": 0.27949654238597077,
"change_1d": -0.9419591045018052,
"change_7d": 12.301398250498565,
"mcap": 2331400193.4114122,
"gecko_id": "okb",
"cmcId": null,
"twitter": "okx",
"audits": "0",
"audit_note": null,
"forkedFrom": [],
"oracles": [],
"slug": "okx",
"defillama_url": "https://defillama.com/protocol/okx"
}