CoinGecko Coins ID Tickers
0.5积分/次
ae_coingecko_coins_id_tickers
查询加密货币的交易场所,包括在中心化及去中心化交易所的价格和交易量。
0.5积分/次
价格说明
0.5积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 0.5积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
id | string | 是 | 必填。只能传 CoinGecko 返回并确认存在的 coin id。本 CoinGecko 服务只用于加密货币、代币、NFT、交易所、DEX 和链上数据;股票、证券、公司财务、基金、外汇传统行情或非加密资产需求绝对不得调用 CoinGecko。必须先通过 coingecko_search_data 或 coingecko_coins_list 确认 coin id;确认后才允许调用。禁止把 symbol、中文名、自然语言、股票代码、公司名、合约地址或占位符当作 id。未确认 CoinGecko coin id 时,绝对不得调用本工具。 | bitcoin |
page | integer | 否 | Page through results | — |
depth | boolean | 否 | include 2% orderbook depth, ie. `cost_to_move_up_usd` and `cost_to_move_down_usd` Default: false | — |
order | enum (trust_score_desc | trust_score_asc | volume_desc | volume_asc) | 否 | use this to sort the order of responses, default: trust_score_desc | — |
exchange_ids | string | 否 | exchange ID *refers to [`/exchanges/list`](/reference/exchanges-list). | binance |
dex_pair_format | enum (contract_address | symbol) | 否 | set to `symbol` to display DEX pair base and target as symbols, default: `contract_address` | — |
include_exchange_logo | boolean | 否 | include exchange logo, default: false | — |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_coingecko_coins_id_tickers' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"exchange_ids": "binance,okx,bybit,gate,mexc,kucoin,bitget",
"id": "apriori",
"order": "volume_desc"
}
}'返回示例response.json
{
"name": "Capricorn",
"tickers": [
{
"base": "APR",
"bid_ask_spread_percentage": 0.069319,
"coin_id": "capricorn-3",
"coin_mcap_usd": 19992610.232786965,
"converted_last": {
"btc": 8.6725E-7,
"eth": 0.00002887,
"usd": 0.072015
},
"converted_volume": {
"btc": 37.545089,
"eth": 1250,
"usd": 3117660
}
}
]
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

