Skip to main content
Glama

Osmosis MCP Server

get-historical-prices

Retrieve historical price data for token pairs on Osmosis by specifying pool ID, asset denominations, and time range with desired resolution for analysis.

Instructions

Returns historical price data for a token pair

Input Schema

NameRequiredDescriptionDefault
baseAssetDenomYesThe base asset denomination
endTimeNoEnd time for historical data (ISO 8601 format)
poolIdYesThe ID of the liquidity pool
quoteAssetDenomYesThe quote asset denomination
resolutionNoData resolution (1m, 5m, 15m, 1h, 4h, 1d)
startTimeNoStart time for historical data (ISO 8601 format)

Input Schema (JSON Schema)

{ "properties": { "baseAssetDenom": { "description": "The base asset denomination", "type": "string" }, "endTime": { "description": "End time for historical data (ISO 8601 format)", "type": "string" }, "poolId": { "description": "The ID of the liquidity pool", "type": "string" }, "quoteAssetDenom": { "description": "The quote asset denomination", "type": "string" }, "resolution": { "description": "Data resolution (1m, 5m, 15m, 1h, 4h, 1d)", "enum": [ "1m", "5m", "15m", "1h", "4h", "1d" ], "type": "string" }, "startTime": { "description": "Start time for historical data (ISO 8601 format)", "type": "string" } }, "required": [ "poolId", "baseAssetDenom", "quoteAssetDenom" ], "type": "object" }

Other Tools from Osmosis MCP Server

Related Tools

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/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server