CoinGecko Public Treasury Entity Chart
0.5 credits/call
ae_coingecko_public_treasury_entity_chart
View historical charts of cryptocurrency holdings for public companies and governments.
0.5 credits/call
Pricing
0.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 0.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
days | string | Yes | data up to number of days ago Valid values: `7, 14, 30, 90, 180, 365, 730, max` | — |
coin_id | string | Yes | 必填。只能传 CoinGecko 返回并确认存在的 coin_id。必须先通过 coingecko_search_data 或 coingecko_coins_list 确认;禁止把 symbol、中文名、股票代码、公司名、自然语言或占位符当作 coin_id。非加密资产不得调用 CoinGecko。 | — |
entity_id | string | Yes | public company or government entity ID *refers to [`/entities/list`](/reference/entities-list). | — |
include_empty_intervals | boolean | No | include empty intervals with no transaction data, default: false | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_coingecko_public_treasury_entity_chart' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"coin_id": "test",
"days": "test",
"entity_id": "test"
}
}'Response exampleresponse.json
"validating \"arguments\": validating root: validating /properties/days: enum: test does not equal any of: [7 14 30 90 180 365 730 max]"
