Skip to main content
Glama

get_ticker

Retrieve current market price and trading data for a cryptocurrency from Upbit to inform trading decisions and monitor market movements.

Instructions

Get the latest ticker data from Upbit

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Implementation Reference

  • The main handler function for the 'get_ticker' tool. It makes an async HTTP GET request to the Upbit API ticker endpoint with the given symbol and returns the JSON response.
    async def get_ticker(symbol: str) -> dict: """Get the latest ticker data from Upbit""" url = f"{API_BASE}/ticker" async with httpx.AsyncClient() as client: res = await client.get(url, params={"markets": symbol}) return res.json()[0]
  • main.py:42-42 (registration)
    Registration of the get_ticker tool function with the FastMCP server using the mcp.tool() decorator.
    mcp.tool()(get_ticker)

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/solangii/upbit-mcp-server'

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