Get Token Price By Contract

Query one or more token prices using their token contract addresses.

Tool Name: get_token_price_by_contract

Category Endpoint: POST /hive_market_data/mcp

Data Source: CoinGecko


Overview

This tool is documented under the Market Data category.

For schemas and the complete live catalog, also use:

  • GET /api/v1/tools
  • hive://tools
  • get_api_endpoint_schema from the root MCP endpoint

Quick Example

bash
curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_HIVE_API_KEY" \
  -d '{
  "tool": "get_token_price_by_contract",
  "args": {
    "id": "ethereum",
    "contract_addresses": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "vs_currencies": "usd"
  }
}'

Required fields in the current live schema: id, contract_addresses, vs_currencies. Use schema-valid IDs, symbols, addresses, timestamps, ranges, or market identifiers for those fields; example values are illustrative, not defaults.