Skip to main content
Glama

CoinGecko MCP Server

by IAcomunIA

get_pools_networks_onchain_trades

Query the last 300 trades in the past 24 hours for a specific pool address on a blockchain network. Use the jq_filter parameter to customize the response and optimize performance by including only relevant data fields.

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 query the last 300 trades in the past 24 hours based on the provided pool address

Response Schema

{ type: 'object', properties: { data: { type: 'array', items: { type: 'object', properties: { id: { type: 'string' }, attributes: { type: 'object', properties: { block_number: { type: 'integer' }, block_timestamp: { type: 'string' }, from_token_address: { type: 'string' }, from_token_amount: { type: 'string' }, kind: { type: 'string' }, price_from_in_currency_token: { type: 'string' }, price_from_in_usd: { type: 'string' }, price_to_in_currency_token: { type: 'string' }, price_to_in_usd: { type: 'string' }, to_token_address: { type: 'string' }, to_token_amount: { type: 'string' }, tx_from_address: { type: 'string' }, tx_hash: { type: 'string' }, volume_in_usd: { type: 'string' } } }, type: { type: 'string' } } } } } }

Input Schema

NameRequiredDescriptionDefault
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/).
networkYes
pool_addressYes
tokenNoreturn trades for token <br> use this to invert the chart <br> Available values: 'base', 'quote' or token address <br> Default value: 'base'
trade_volume_in_usd_greater_thanNofilter trades by trade volume in USD greater than this value <br> Default value: 0

Input Schema (JSON Schema)

{ "properties": { "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" }, "network": { "type": "string" }, "pool_address": { "type": "string" }, "token": { "description": "return trades for token <br> use this to invert the chart <br> Available values: 'base', 'quote' or token address <br> Default value: 'base'", "type": "string" }, "trade_volume_in_usd_greater_than": { "description": "filter trades by trade volume in USD greater than this value <br> Default value: 0", "type": "number" } }, "required": [ "network", "pool_address" ], "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