Skip to main content
Glama

CoinGecko MCP Server

by IAcomunIA

get_addresses_networks_simple_onchain_token_price

Retrieve token prices using the contract address and network. Optimize response size with the jq_filter parameter. Includes options for 24hr changes, volume, market cap, and total reserve in USD.

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 token price based on the provided token contract address on a network

Response Schema

{ type: 'object', properties: { data: { type: 'object', properties: { id: { type: 'string' }, attributes: { type: 'object', properties: { token_prices: { type: 'object' } } }, type: { type: 'string' } } } } }

Input Schema

NameRequiredDescriptionDefault
addressesYes
include_24hr_price_changeNoinclude 24hr price change, default: false
include_24hr_volNoinclude 24hr volume, default: false
include_market_capNoinclude market capitalization, default: false
include_total_reserve_in_usdNoinclude total reserve in USD, 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/).
mcap_fdv_fallbackNoreturn FDV if market cap is not available, default: false
networkYes

Input Schema (JSON Schema)

{ "properties": { "addresses": { "type": "string" }, "include_24hr_price_change": { "description": "include 24hr price change, default: false", "type": "boolean" }, "include_24hr_vol": { "description": "include 24hr volume, default: false", "type": "boolean" }, "include_market_cap": { "description": "include market capitalization, default: false", "type": "boolean" }, "include_total_reserve_in_usd": { "description": "include total reserve in USD, 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" }, "mcap_fdv_fallback": { "description": "return FDV if market cap is not available, default: false", "type": "boolean" }, "network": { "type": "string" } }, "required": [ "network", "addresses" ], "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