Moralis MCP Server

Official
by MoralisWeb3

getTokenPrice

Fetch token prices in native blockchain currency and USD using the token contract address, exchange details, and block number with Moralis MCP Server's API tool.

Instructions

Get the token price denominated in the blockchain's native token and USD.

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the token contract
exchangeNoThe factory name or address of the token exchange
includeNoThis parameter is now deprecated as percentage change are included by default
max_token_inactivityNoExclude tokens inactive for more than the given amount of days
min_pair_side_liquidity_usdNoExclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair.
to_blockNoThe block number from which the token price should be checked

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address of the token contract", "type": "string" }, "exchange": { "description": "The factory name or address of the token exchange", "type": "string" }, "include": { "description": "This parameter is now deprecated as percentage change are included by default", "enum": [ "percent_change" ], "type": "string" }, "max_token_inactivity": { "description": "Exclude tokens inactive for more than the given amount of days", "type": "number" }, "min_pair_side_liquidity_usd": { "description": "Exclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair.", "type": "number" }, "to_block": { "description": "The block number from which the token price should be checked", "type": "integer" } }, "type": "object" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8