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.

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
limitintegerNonumber of OHLCV results to return, maximum 1000 Default value: 100—
tokenstringNoreturn OHLCV for token use this to invert the chart Available values: 'base', 'quote' or token address Default value: 'base'—
networkstringYes必填。只能传 CoinGecko onchain networks 返回并确认存在的 network id。必须先调用 coingecko_networks_list 确认;禁止传中文链名、自然语言、占位符或猜测值。未确认 network 时绝对不得调用本工具。—
currencyenum (usd | token)Noreturn OHLCV in USD or quote token Default value: usd—
aggregatestringNotime 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—
timeframeenum (day | hour | minute | second)Yestimeframe of the OHLCV chart—
pool_addressstringYes必填。只能传目标链上的真实合约/池子地址。必须先确认 network/asset_platform 和 address 都是 CoinGecko 支持的真实链上标识;禁止传 symbol、中文名、股票代码、公司名、占位符、空字符串或伪地址。未确认地址时绝对不得调用本工具。—
before_timestampintegerNoreturn OHLCV data before this timestamp (integer seconds since epoch)—
include_empty_intervalsbooleanNoinclude 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-Key
Request 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
JSON
{
  "status": {
    "error_code": 404,
    "error_message": "Not found",
    "timestamp": "2026-10-08T10:11:32.700Z"
  }
}