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 DeFiLlamaTry DeFiLlama now.
Choose an example or ask your own question.
TRY ASKING
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"
}
]
}Firecrawl tools
1Ready-made Firecrawl tools that call DeFiLlama.
Benchmarks
Finance benchmarksQuality, 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
| Tool | Quality | Speed | Calls |
|---|---|---|---|
| Prices | 100% | 393 ms | 25 |
| Protocol metrics | 100% | 717 ms | 21 |
Related providers
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