CoinGecko Public Treasury Transaction History
0.5积分/次
ae_coingecko_public_treasury_transaction_history
查看公共实体加密货币买卖的交易历史。
0.5积分/次
价格说明
0.5积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 0.5积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
page | integer | 否 | Page through results. Default value: 1 | 1 |
order | enum (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_ids | string | 否 | filter transactions by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list). | — |
per_page | integer | 否 | Total results per page. Default value: 100 Valid values: 1...250 | 100 |
entity_id | string | 是 | 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
{
"transactions": [
{
"average_entry_value_usd": 85839.0,
"coin_id": "bitcoin",
"date": 1791158400000,
"holding_balance": 847999.0,
"holding_net_change": 334.0,
"type": "buy"
}
]
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

