get_etf_history
Retrieve historical AUM data for all Bitcoin ETFs to analyze fund performance and market trends over time.
Instructions
GET /etfs/history
Historical AUM of all BTC ETFs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- defillama_server.py:410-417 (handler)The handler function for the 'get_etf_history' tool. It is registered via @mcp.tool() decorator and fetches historical AUM data for all BTC ETFs from the DefiLlama API using the shared make_request helper.@mcp.tool() async def get_etf_history() -> str: """GET /etfs/history Historical AUM of all BTC ETFs. """ result = await make_request('GET', '/etfs/history') return str(result)