CoinGecko Pool Ohlcv Contract Address
0.5 credits/call
ae_coingecko_pool_ohlcv_contract_address
Get historical price and volume candlestick data for a specific liquidity pool.
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 |
|---|---|---|---|---|
limit | integer | No | number of OHLCV results to return, maximum 1000 Default value: 100 | — |
token | string | No | return OHLCV for token use this to invert the chart Available values: 'base', 'quote' or token address Default value: 'base' | — |
network | string | Yes | 必填。只能传 CoinGecko onchain networks 返回并确认存在的 network id。必须先调用 coingecko_networks_list 确认;禁止传中文链名、自然语言、占位符或猜测值。未确认 network 时绝对不得调用本工具。 | — |
currency | enum (usd | token) | No | return OHLCV in USD or quote token Default value: usd | — |
aggregate | string | No | time period to aggregate each OHLCV Available values (day): `1` Available values (hour): `1` , `4` , `12` Available values (minute): `1` , `5` , `15` Available values (second): `1`, `15`, `30` Default value: 1 | — |
timeframe | enum (day | hour | minute | second) | Yes | timeframe of the OHLCV chart | — |
pool_address | string | Yes | 必填。只能传目标链上的真实合约/池子地址。必须先确认 network/asset_platform 和 address 都是 CoinGecko 支持的真实链上标识;禁止传 symbol、中文名、股票代码、公司名、占位符、空字符串或伪地址。未确认地址时绝对不得调用本工具。 | — |
before_timestamp | integer | No | return OHLCV data before this timestamp (integer seconds since epoch) | — |
include_empty_intervals | boolean | No | include empty intervals with no trade 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_pool_ohlcv_contract_address' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"network": "test",
"pool_address": "test",
"timeframe": "day"
}
}'Response exampleresponse.json
{
"status": {
"error_code": 404,
"error_message": "Not found",
"timestamp": "2026-10-08T10:11:32.700Z"
}
}
