Hive Intelligence

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.

ParameterTypeRequiredDescription
(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.

ParameterTypeRequiredDescription
protocolstringYesProtocol slug (e.g., "lido", "aave")

get_protocol_tvl

Get TVL data for a specific protocol.

ParameterTypeRequiredDescription
protocolstringYesProtocol slug

get_chains

Get TVL data by blockchain.

ParameterTypeRequiredDescription
(none)--No parameters required

get_chain_tvl_history

Get historical TVL for a chain.

ParameterTypeRequiredDescription
chainstringYesChain name

get_chains_tvl_history

Get historical TVL for all chains.


Yield & APY

get_yield_pools

Get list of yield farming pools with APY.

ParameterTypeRequiredDescription
chainstringNoFilter by chain
projectstringNoFilter 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.

ParameterTypeRequiredDescription
pool_idstringYesPool ID

get_yield_pool_chart

Get historical APY for a yield pool.

ParameterTypeRequiredDescription
pool_idstringYesPool ID

Fees & Revenue

get_fees_overview

Get protocol fee and revenue overview.

ParameterTypeRequiredDescription
(none)--No parameters required

get_protocol_fees

Get fees for a specific protocol.

ParameterTypeRequiredDescription
protocolstringYesProtocol 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.

ParameterTypeRequiredDescription
chainstringYesChain name

Protocol Info

get_protocol_info

Get detailed protocol information.

ParameterTypeRequiredDescription
protocolstringYesProtocol slug

get_defi_protocols

Get list of all DeFi protocols.


get_global_defi

Get global DeFi statistics.


Quick Reference

ToolDescription
get_protocolsAll protocols with TVL
get_defi_protocolSingle protocol details
get_protocol_tvlProtocol TVL data
get_chainsTVL by blockchain
get_chain_tvl_historyHistorical chain TVL
get_chains_tvl_historyAll chains historical TVL
get_yield_poolsYield farming pools
get_yield_poolSingle pool details
get_yield_pool_chartHistorical APY
get_fees_overviewProtocol fees overview
get_protocol_feesSingle protocol fees
get_chain_feesChain fee data
get_protocol_infoProtocol information
get_defi_protocolsAll DeFi protocols
get_global_defiGlobal DeFi stats
Previous
DEX Analytics