CoinGecko Exchanges ID Tickers

0.5积分/次
ae_coingecko_exchanges_id_tickers

获取特定加密货币交易所的交易对、价格和成交量数据。

加密货币
0.5积分/次

价格说明

0.5积分/次
条件费用
每次调用0.5积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_coingecko_exchanges_id_tickers' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "id": "xxx"
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
idstring是必填。传 CoinGecko 交易所 ID(如 binance),可先用 coingecko_exchanges_list 查询;不是 coin id 或交易所显示名称。—
pagenumber否page through results—
depthboolean否include 2% orderbook depth (Example: cost_to_move_up_usd & cost_to_move_down_usd),default: false—
orderenum (market_cap_asc | market_cap_desc | trust_score_desc | trust_score_asc | volume_desc | volume_asc | base_target)否use this to sort the order of responses, default: trust_score_desc—
coin_idsstring否filter tickers by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list).—
dex_pair_formatenum (contract_address | symbol)否set to `symbol` to display DEX pair base and target as symbols, default: `contract_address`—
include_exchange_logoboolean否include exchange logo, default: false—