Skip to main content
Glama

CoinGecko MCP Server

by IAcomunIA

get_timeframe_tokens_networks_onchain_ohlcv

Retrieve OHLCV (Open, High, Low, Close, Volume) data for a specific token on a blockchain network using token address and timeframe. Use jq_filter to customize response size and optimize performance.

Instructions

When using this tool, always use the jq_filter parameter to reduce the response size and improve performance.

Only omit if you're sure you don't need the data.

This endpoint allows you to get the OHLCV chart (Open, High, Low, Close, Volume) of a token based on the provided token address on a network

Response Schema

{ type: 'object', properties: { data: { type: 'object', properties: { id: { type: 'string' }, attributes: { type: 'object', properties: { ohlcv_list: { type: 'array', items: { type: 'array', items: { type: 'number' } } } } }, type: { type: 'string' } } }, meta: { type: 'object', properties: { base: { type: 'object', properties: { address: { type: 'string' }, coingecko_coin_id: { type: 'string' }, name: { type: 'string' }, symbol: { type: 'string' } } }, quote: { type: 'object', properties: { address: { type: 'string' }, coingecko_coin_id: { type: 'string' }, name: { type: 'string' }, symbol: { type: 'string' } } } } } } }

Input Schema

NameRequiredDescriptionDefault
aggregateNotime period to aggregate each OHLCV <br> Available values (day): `1` <br> Available values (hour): `1` , `4` , `12` <br> Available values (minute): `1` , `5` , `15` <br> Default value: 1
before_timestampNoreturn OHLCV data before this timestamp (integer seconds since epoch)
currencyNoreturn OHLCV in USD or quote token <br> Default value: usd
include_empty_intervalsNoinclude empty intervals with no trade data, default: false
jq_filterNoA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/).
limitNonumber of OHLCV results to return, maximum 1000 <br> Default value: 100
networkYes
timeframeYes
token_addressYes

Input Schema (JSON Schema)

{ "properties": { "aggregate": { "description": "time period to aggregate each OHLCV <br> Available values (day): `1` <br> Available values (hour): `1` , `4` , `12` <br> Available values (minute): `1` , `5` , `15` <br> Default value: 1", "type": "string" }, "before_timestamp": { "description": "return OHLCV data before this timestamp (integer seconds since epoch)", "type": "integer" }, "currency": { "description": "return OHLCV in USD or quote token <br> Default value: usd", "enum": [ "usd", "token" ], "type": "string" }, "include_empty_intervals": { "description": "include empty intervals with no trade data, default: false", "type": "boolean" }, "jq_filter": { "description": "A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide \".results[].name\".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).", "title": "jq Filter", "type": "string" }, "limit": { "description": "number of OHLCV results to return, maximum 1000 <br> Default value: 100", "type": "integer" }, "network": { "type": "string" }, "timeframe": { "enum": [ "day", "hour", "minute" ], "type": "string" }, "token_address": { "type": "string" } }, "required": [ "network", "token_address", "timeframe" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IAcomunIA/MCP_firts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server