Skip to main content
Glama

CoinGecko MCP Server

by IAcomunIA

get_range_coins_market_chart

Retrieve historical cryptocurrency price, market cap, and volume data for a specific coin within a defined time range using UNIX timestamps. Optimize response size with the jq_filter parameter for efficient data handling.

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 historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hr volume based on particular coin ID

Response Schema

{ type: 'object', properties: { market_caps: { type: 'array', items: { type: 'array', items: { type: 'number' } } }, prices: { type: 'array', items: { type: 'array', items: { type: 'number' } } }, total_volumes: { type: 'array', items: { type: 'array', items: { type: 'number' } } } } }

Input Schema

NameRequiredDescriptionDefault
fromYesstarting date in UNIX timestamp
idYes
intervalNodata interval, leave empty for auto granularity
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/).
precisionNodecimal place for currency price value
toYesending date in UNIX timestamp
vs_currencyYestarget currency of market data <br> *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies).

Input Schema (JSON Schema)

{ "properties": { "from": { "description": "starting date in UNIX timestamp ", "type": "number" }, "id": { "type": "string" }, "interval": { "description": "data interval, leave empty for auto granularity", "enum": [ "5m", "hourly", "daily" ], "type": "string" }, "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" }, "precision": { "description": "decimal place for currency price value", "enum": [ "full", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], "type": "string" }, "to": { "description": "ending date in UNIX timestamp", "type": "number" }, "vs_currency": { "description": "target currency of market data <br> *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies).", "type": "string" } }, "required": [ "id", "from", "to", "vs_currency" ], "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