Skip to main content
Glama

get_addresses_networks_simple_onchain_token_price

Retrieve cryptocurrency token prices using contract addresses and network information, with optional market data like 24-hour changes, volume, and market capitalization.

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

{ $ref: '#/$defs/token_price_get_addresses_response', $defs: { token_price_get_addresses_response: { type: 'object', properties: { data: { type: 'object', properties: { id: { type: 'string' }, attributes: { type: 'object', properties: { h24_price_change_percentage: { type: 'object', additionalProperties: true }, h24_volume_usd: { type: 'object', additionalProperties: true }, last_trade_timestamp: { type: 'object', additionalProperties: true }, market_cap_usd: { type: 'object', additionalProperties: true }, token_prices: { type: 'object', additionalProperties: true }, total_reserve_in_usd: { type: 'object', additionalProperties: true } } }, type: { type: 'string' } } } } } } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkYes
addressesYes
include_24hr_price_changeNoinclude 24hr price change, default: false
include_24hr_volNoinclude 24hr volume, default: false
include_inactive_sourceNoinclude token price data from inactive pools using the most recent swap, default: false
include_market_capNoinclude market capitalization, default: false
include_total_reserve_in_usdNoinclude total reserve in USD, default: false
mcap_fdv_fallbackNoreturn FDV if market cap is not available, 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/).

Latest Blog Posts

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