Skip to main content

Market Data

CryptoClaw provides real-time and historical cryptocurrency market data through multiple data providers.

Data providers

ProviderAPI KeyRate LimitFeatures
CoinGeckoNot required~30 calls/minPrices, markets, trending, history
Dune AnalyticsDUNE_API_KEY10 exec/day (free)Custom SQL queries, on-chain data
DeFiLlamaNot requiredGenerousTVL, yields, stablecoin data

CoinGecko operations

OperationDescription
Price lookupCurrent price in USD/BTC/ETH for any token
Market overviewTop tokens by market cap with 24h changes
Trending tokensCurrently trending on CoinGecko
Price historyHistorical price charts (1d, 7d, 30d, 1y)
Token searchFind tokens by name or symbol
Token detailsFull info including links, description, market data

Examples

"What's the price of BNB?"
"Show me the top 10 tokens by market cap"
"What's trending on CoinGecko?"
"Show BTC price chart for the last 30 days"
"Find token info for Chainlink"

Dune Analytics

Query on-chain data with custom SQL through the Dune API.

Setup

export DUNE_API_KEY=your_key_here

Operations

OperationDescription
Execute queryRun a DuneSQL query
Check statusPoll query execution status
Get resultsRetrieve query results
Run saved queryExecute a public query by ID

Useful public queries

Query IDDescription
3286091Weekly DEX volume by protocol
3237721Daily active addresses by chain
2781844Stablecoin supply breakdown

Examples

"Run Dune query 3286091 for weekly DEX volumes"
"Query total gas spent on Ethereum today"
"Show daily active addresses on BSC this week"

DeFiLlama

Protocol and yield data without an API key.
OperationDescription
Protocol TVLCurrent and historical TVL for any protocol
Chain TVLTotal TVL per blockchain
Yield poolsTop yield pools ranked by APY
Stablecoin dataSupply and chain distribution
Token pricesPrice data for on-chain tokens

Examples

"What's Aave's total TVL?"
"Compare TVL across BSC, Ethereum, and Polygon"
"Top stablecoin yield pools on Ethereum"
"Show PancakeSwap TVL history"