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

`fees` (fees and revenue), `dexs` (spot DEX volume) or `options` (options volume).

string

Exact DeFiLlama category; case-insensitive.

string

Chain to scope to, as DeFiLlama writes it (e.g. `Ethereum`); omit for all chains.

string

Opaque cursor from a previous page's `next_continuation`.

number

Items per page (1..100, default 20).

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "defillama-com",
    capability: "crypto/metrics_overview",
    options: {
      limit: 5,
      metric: "fees",
    },
  },
});
2Response example

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

{
  "api_url": "https://api.llama.fi/overview/fees?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true&dataType=dailyFees",
  "chain": "all",
  "chains_available": 362,
  "count": 5,
  "data_type": "dailyFees",
  "metric": "fees",
  "next_continuation": "5",
  "observed_at_ms": 1790118366763,
  "protocols": [
    {
      "category": "Stablecoin Issuer",
      "chains": [
        "Off Chain"
      ],
      "change_1d": 0.5,
      "change_1m": 7.65,
      "change_7d": 1.76,
      "display_name": "Tether",
      "id": "5009",
      "methodology_url": "https://github.com/DefiLlama/dimension-adapters/blob/master/fees/tether",
      "name": "Tether",
      "parent_protocol": null,
      "protocol_type": "protocol",
      "slug": "tether",
      "source_url": "https://defillama.com/fees/tether",
      "total_1y": 5923224679,
      "total_24h": 17126963,
      "total_30d": 491186694,
      "total_7d": 119475037,
      "total_all_time": 19654767958
    },
    {
      "category": "Stablecoin Issuer",
      "chains": [
        "Ethereum",
        "Off Chain"
      ],
      "change_1d": 0.62,
      "change_1m": 8.67,
      "change_7d": 1.91,
      "display_name": "Circle USDC",
      "id": "5008",
      "methodology_url": "https://github.com/DefiLlama/dimension-adapters/blob/master/fees/circle.ts",
      "name": "Circle USDC",
      "parent_protocol": "parent#circle",
      "protocol_type": "protocol",
      "slug": "circle-usdc",
      "source_url": "https://defillama.com/fees/circle-usdc",
      "total_1y": 2371301734,
      "total_24h": 6996430,
      "total_30d": 199891075,
      "total_7d": 48610971,
      "total_all_time": 7439283290
    },
    {
      "category": "Derivatives",
      "chains": [
        "Hyperliquid L1"
      ],
      "change_1d": 108.7,
      "change_1m": 58.24,
      "change_7d": 57.96,
      "display_name": "Hyperliquid Perps",
      "id": "5507",
      "methodology_url": "https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/hyperliquid-perp",
      "name": "Hyperliquid Perps",
      "parent_protocol": "parent#hyperliquid",
      "protocol_type": "protocol",
      "slug": "hyperliquid-perps",
      "source_url": "https://defillama.com/fees/hyperliquid-perps",
      "total_1y": 879127257,
      "total_24h": 4440326,
      "total_30d": 73924506,
      "total_7d": 20042586,
      "total_all_time": 1486548639
    },
    {
      "category": "Dexs",
      "chains": [
        "Solana"
      ],
      "change_1d": 3.46,
      "change_1m": 11.37,
      "change_7d": 3.05,
      "display_name": "PumpSwap",
      "id": "5936",
      "methodology_url": "https://github.com/DefiLlama/dimension-adapters/blob/master/fees/pump-swap",
      "name": "PumpSwap",
      "parent_protocol": "parent#pump",
      "protocol_type": "protocol",
      "slug": "pumpswap",
      "source_url": "https://defillama.com/fees/pumpswap",
      "total_1y": 656851860,
      "total_24h": 3357626,
      "total_30d": 102350092,
      "total_7d": 24255668,
      "total_all_time": 864697768
    },
    {
      "category": "Dexs",
      "chains": [
        "Ethereum",
        "Unichain",
        "OP Mainnet",
        "Base",
        "Arbitrum",
        "Polygon",
        "Blast",
        "Zora",
        "World Chain",
        "Ink",
        "Soneium",
        "Avalanche",
        "BSC",
        "Monad",
        "X Layer",
        "Celo",
        "Tempo",
        "MegaETH",
        "Robinhood Chain",
        "Arc"
      ],
      "change_1d": 38.04,
      "change_1m": 34.18,
      "change_7d": -7.27,
      "display_name": "Uniswap V4",
      "id": "5690",
      "methodology_url": "https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/uniswap-v4.ts",
      "name": "Uniswap V4",
      "parent_protocol": "parent#uniswap",
      "protocol_type": "protocol",
      "slug": "uniswap-v4",
      "source_url": "https://defillama.com/fees/uniswap-v4",
      "total_1y": 396612914,
      "total_24h": 3034050,
      "total_30d": 133101559,
      "total_7d": 21651807,
      "total_all_time": 474949826
    }
  ],
  "total_matches": 2745,
  "totals": {
    "change_1d": 20.98,
    "change_1m": 30.32,
    "change_7d": 11.84,
    "total_1y": 23996166622.56891,
    "total_24h": 89245247.36999995,
    "total_30d": 2405718858.9699836,
    "total_48h_to_24h": 73771292.37000002,
    "total_7d": 558035999.3499981,
    "total_all_time": 119158852836.27008
  }
}

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