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"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
id | string | 是 | 必填。传 CoinGecko 交易所 ID(如 binance),可先用 coingecko_exchanges_list 查询;不是 coin id 或交易所显示名称。 | — |
page | number | 否 | page through results | — |
depth | boolean | 否 | include 2% orderbook depth (Example: cost_to_move_up_usd & cost_to_move_down_usd),default: false | — |
order | enum (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_ids | string | 否 | filter tickers by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list). | — |
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 | — |

