Tools Reference
DeFi Protocol Tools
DeFi Protocol Tools
18 tools for DeFi protocol analytics, TVL tracking, and yield data.
MCP Endpoint: POST /hive_defi_protocol/mcp
Data Source: DefiLlama
TVL (Total Value Locked)
get_protocols
Get list of all DeFi protocols with TVL data.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | No parameters required |
Example:
curl -X POST https://api.hiveintelligence.xyz/api/execute \
-H "Content-Type: application/json" \
-d '{
"toolName": "get_protocols",
"arguments": {}
}'
Response:
[
{
"name": "Lido",
"symbol": "LDO",
"tvl": 28500000000,
"chain": "Ethereum",
"category": "Liquid Staking",
"change_1d": 1.5,
"change_7d": 3.2
}
]
get_defi_protocol
Get detailed data for a specific protocol.
| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | Yes | Protocol slug (e.g., "lido", "aave") |
get_protocol_tvl
Get TVL data for a specific protocol.
| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | Yes | Protocol slug |
get_chains
Get TVL data by blockchain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | No parameters required |
get_chain_tvl_history
Get historical TVL for a chain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| chain | string | Yes | Chain name |
get_chains_tvl_history
Get historical TVL for all chains.
Yield & APY
get_yield_pools
Get list of yield farming pools with APY.
| Parameter | Type | Required | Description |
|---|---|---|---|
| chain | string | No | Filter by chain |
| project | string | No | Filter by project |
Example:
curl -X POST https://api.hiveintelligence.xyz/api/execute \
-H "Content-Type: application/json" \
-d '{
"toolName": "get_yield_pools",
"arguments": {
"chain": "ethereum"
}
}'
Response:
[
{
"pool": "USDC-USDT",
"project": "Curve",
"chain": "Ethereum",
"apy": 5.2,
"tvl": 850000000,
"il_risk": "low"
}
]
get_yield_pool
Get details for a specific yield pool.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pool_id | string | Yes | Pool ID |
get_yield_pool_chart
Get historical APY for a yield pool.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pool_id | string | Yes | Pool ID |
Fees & Revenue
get_fees_overview
Get protocol fee and revenue overview.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | No parameters required |
get_protocol_fees
Get fees for a specific protocol.
| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | Yes | Protocol slug |
Response:
{
"name": "Uniswap",
"total_fees_24h": 2500000,
"total_fees_7d": 18000000,
"revenue_24h": 500000,
"revenue_7d": 3600000
}
get_chain_fees
Get fee data for a specific chain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| chain | string | Yes | Chain name |
Protocol Info
get_protocol_info
Get detailed protocol information.
| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | Yes | Protocol slug |
get_defi_protocols
Get list of all DeFi protocols.
get_global_defi
Get global DeFi statistics.
Quick Reference
| Tool | Description |
|---|---|
| get_protocols | All protocols with TVL |
| get_defi_protocol | Single protocol details |
| get_protocol_tvl | Protocol TVL data |
| get_chains | TVL by blockchain |
| get_chain_tvl_history | Historical chain TVL |
| get_chains_tvl_history | All chains historical TVL |
| get_yield_pools | Yield farming pools |
| get_yield_pool | Single pool details |
| get_yield_pool_chart | Historical APY |
| get_fees_overview | Protocol fees overview |
| get_protocol_fees | Single protocol fees |
| get_chain_fees | Chain fee data |
| get_protocol_info | Protocol information |
| get_defi_protocols | All DeFi protocols |
| get_global_defi | Global DeFi stats |