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
string[]Required

coins Separate values with commas.

numberRequired

string

Spacing: a number followed by `m`, `h`, `d` or `w` (e.g. `1d`, `4h`); default `1d`.

number

Number of points (1..500, default 30).

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "defillama-com",
    capability: "crypto/price_chart",
    options: {
      coins: [
        "coingecko:bitcoin",
      ],
      period: "1d",
      span: 5,
      start: 1700000000,
    },
  },
});
2Response example

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

{
  "api_url": "https://coins.llama.fi/chart/coingecko:bitcoin?start=1700000000&span=5&period=1d",
  "count": 1,
  "missing": [],
  "observed_at_ms": 1790118334606,
  "series": [
    {
      "coin": "coingecko:bitcoin",
      "confidence": 0.99,
      "points": [
        {
          "price": 35625,
          "timestamp": 1700000098
        },
        {
          "price": 37553,
          "timestamp": 1700086497
        },
        {
          "price": 36066,
          "timestamp": 1700172896
        },
        {
          "price": 36463,
          "timestamp": 1700259299
        },
        {
          "price": 36590.13756569477,
          "timestamp": 1700345529
        }
      ],
      "symbol": "BTC"
    }
  ]
}

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