CoinGecko Public Treasury Transaction History

0.5积分/次
ae_coingecko_public_treasury_transaction_history

查看公共实体加密货币买卖的交易历史。

加密货币
0.5积分/次

价格说明

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

工具参数

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

参数类型必填说明默认值
pageinteger否Page through results. Default value: 11
orderenum (date_desc | date_asc | holding_net_change_desc | holding_net_change_asc | transaction_value_usd_desc | transaction_value_usd_asc | average_cost_desc | average_cost_asc)否use this to sort the order of transactions, default: `date_desc`date_desc
coin_idsstring否filter transactions by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list).—
per_pageinteger否Total results per page. Default value: 100 Valid values: 1...250100
entity_idstring是public company or government entity ID *refers to [`/entities/list`](/reference/entities-list).strategy

调用示例

复制请求代码,查看对应的返回示例。

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_public_treasury_transaction_history' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "entity_id": "strategy",
    "order": "date_desc",
    "page": 1,
    "per_page": 100
  }
}'
返回示例response.json
JSON部分内容
{
  "transactions": [
    {
      "average_entry_value_usd": 85839.0,
      "coin_id": "bitcoin",
      "date": 1791158400000,
      "holding_balance": 847999.0,
      "holding_net_change": 334.0,
      "type": "buy"
    }
  ]
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。