Firecrawl Alexandria

DeFiLlama

DeFiLlama analytics from the free llama.fi JSON APIs behind defillama.com: stablecoin supply and history, protocol and chain TVL, fees/revenue and DEX/options volume, yield pools, token prices and the hacks dataset.

1 Firecrawl tool uses DeFiLlama

Try DeFiLlama now.

Choose an example or ask your own question.

DeFiLlama
TRY ASKING
1Request
stringRequired

Protocol slug as in defillama.com/protocol/{slug} (e.g. `aave`, `lido`).

number

Maximum TVL history points returned, newest first (0..4000, default 30).

number

Maximum tokens in the latest breakdown, largest USD value first (0..100, default 15).

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "defillama-com",
    capability: "crypto/protocol",
    options: {
      history_limit: 5,
      slug: "lido",
      token_limit: 5,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from DeFiLlama.

{
  "api_url": "https://api.llama.fi/protocol/lido",
  "category": "Liquid Staking",
  "chains": [
    "Terra",
    "Moonriver",
    "Moonbeam",
    "Ethereum",
    "Solana"
  ],
  "cmc_id": "8000",
  "current_chain_tvls": [
    {
      "chain": "Ethereum",
      "tvl_usd": 26923348741.06953
    },
    {
      "chain": "Solana",
      "tvl_usd": 6080809.55811
    },
    {
      "chain": "Moonbeam",
      "tvl_usd": 0
    },
    {
      "chain": "Moonriver",
      "tvl_usd": 0
    },
    {
      "chain": "Terra",
      "tvl_usd": 0
    }
  ],
  "description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
  "gecko_id": "lido-dao",
  "hacks": [],
  "hallmarks": [
    {
      "date": 1610496000,
      "label": "Start of incentives for curve pool"
    },
    {
      "date": 1651881600,
      "label": "UST depeg"
    },
    {
      "date": 1654819200,
      "label": "stETH depeg"
    },
    {
      "date": 1667865600,
      "label": "FTX collapse"
    },
    {
      "date": 1684108800,
      "label": "ETH Withdrawal Activation"
    }
  ],
  "id": "182",
  "is_parent": false,
  "logo": "https://icons.llamao.fi/icons/protocols/lido",
  "mcap_usd": 355671379.4194845,
  "name": "Lido",
  "observed_at_ms": 1790118293234,
  "other_protocols": [],
  "raises": [
    {
      "amount_usd_millions": 73,
      "date": 1620172800,
      "lead_investors": [
        "Paradigm"
      ],
      "other_investors": [
        "Coinbase Ventures",
        "3AC",
        "Jump Trading",
        "Alameda Research",
        "DCG"
      ],
      "round": "Private token sale",
      "source": null
    },
    {
      "amount_usd_millions": 70,
      "date": 1646265600,
      "lead_investors": [
        "a16z"
      ],
      "other_investors": [],
      "round": null,
      "source": null
    },
    {
      "amount_usd_millions": 24,
      "date": 1663113600,
      "lead_investors": [
        "Dragonfly Capital"
      ],
      "other_investors": [],
      "round": "Treasury Diversification",
      "source": null
    }
  ],
  "slug": "lido",
  "source_url": "https://defillama.com/protocol/lido",
  "symbol": "LDO",
  "top_tokens": [
    {
      "symbol": "WETH",
      "value_usd": 26922566762.52227
    },
    {
      "symbol": "SOL",
      "value_usd": 6080809.55811
    },
    {
      "symbol": "WMATIC",
      "value_usd": 781978.54727
    }
  ],
  "tvl_as_of": 1790112095,
  "tvl_history": [
    {
      "date": 1790112095,
      "tvl_usd": 26929429550
    },
    {
      "date": 1790035200,
      "tvl_usd": 27121629192
    },
    {
      "date": 1789948800,
      "tvl_usd": 26285013053
    },
    {
      "date": 1789862400,
      "tvl_usd": 25716468110
    },
    {
      "date": 1789776000,
      "tvl_usd": 25632504262
    }
  ],
  "tvl_history_total_points": 2104,
  "tvl_usd": 26929429550,
  "twitter": "LidoFinance",
  "url": "https://lido.fi/"
}

Quality, speed and cost, last 24 hours, across every agent call to DeFiLlama through Alexandria.

Quality
99%
Calls answered without a tool error
Speed
45.5 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
105
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Prices100%393 ms25
Protocol metrics100%717 ms21
Browse the library
//
Get started
//
Give your agent DeFiLlama.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options