CoinGecko Contract Address Market Chart

0.5 credits/call
ae_coingecko_contract_address_market_chart

View a token’s historical price and trading volume using its verified contract address on CoinGecko.

Crypto
0.5 credits/call

Pricing

0.5 credits/call
ConditionCharge
Each call0.5 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
idstringYes必填。传 CoinGecko 资产平台 ID(如 ethereum),可先用 coingecko_asset_platforms_list 查询;不是 coin id。合约地址另填入 contract_address 或 contract_addresses。—
daysstringYesdata up to number of days ago You may use any integer or `max` for number of days—
intervalenum (daily)NoData interval for the chart. For non-Enterprise accounts, do not explicitly use `5m` or `hourly`; use `daily` or leave this parameter unset to let CoinGecko select the granularity automatically based on `days`.—
precisionenum (full | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18)Nodecimal place for currency price value—
vs_currencystringYes必填。只能传 CoinGecko 支持的法币/计价货币代码,必须来自 coingecko_simple_supported_currencies 或接口支持列表。禁止传中文、股票代码、自然语言或占位符。—
contract_addressstringYes必填。只能传目标链上的真实合约/池子地址。必须先确认 network/asset_platform 和 address 都是 CoinGecko 支持的真实链上标识;禁止传 symbol、中文名、股票代码、公司名、占位符、空字符串或伪地址。未确认地址时绝对不得调用本工具。—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_coingecko_contract_address_market_chart' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "contract_address": "test",
    "days": "7",
    "id": "bitcoin",
    "interval": "daily",
    "vs_currency": "usd"
  }
}'
Response exampleresponse.json
JSON
"当前用户已跳过第三方工具调用"