CoinGecko Public Treasury Transaction History

0.5 credits/call
ae_coingecko_public_treasury_transaction_history

See the transaction history of cryptocurrency buys and sells by public entities.

Crypto
0.5 credits/call

Pricing

0.5 credits/call
ConditionCharge
Each call0.5 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerNoPage 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)Nouse this to sort the order of transactions, default: `date_desc`date_desc
coin_idsstringNofilter transactions by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list).—
per_pageintegerNoTotal results per page. Default value: 100 Valid values: 1...250100
entity_idstringYespublic company or government entity ID *refers to [`/entities/list`](/reference/entities-list).strategy

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.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 exampleresponse.json
JSONPartial content
{
  "transactions": [
    {
      "average_entry_value_usd": 85839.0,
      "coin_id": "bitcoin",
      "date": 1791158400000,
      "holding_balance": 847999.0,
      "holding_net_change": 334.0,
      "type": "buy"
    }
  ]
}

This example shows part of the response. Copied content is valid JSON.