CoinGecko Coins Contract Address
0.5 credits/call
ae_coingecko_coins_contract_address
Look up detailed metadata and current market stats for a token using its smart contract address.
0.5 credits/call
Pricing
0.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 0.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
id | string | Yes | 必填。传 CoinGecko 资产平台 ID(如 ethereum),可先用 coingecko_asset_platforms_list 查询;不是 coin id。合约地址另填入 contract_address 或 contract_addresses。 | — |
contract_address | string | Yes | 必填。只能传目标链上的真实合约/池子地址。必须先确认 network/asset_platform 和 address 都是 CoinGecko 支持的真实链上标识;禁止传 symbol、中文名、股票代码、公司名、占位符、空字符串或伪地址。未确认地址时绝对不得调用本工具。 | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_coingecko_coins_contract_address' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"contract_address": "test",
"id": "bitcoin"
}
}'Response exampleresponse.json
"当前用户已跳过第三方工具调用"
