Skip to main content
Glama

get_ticker

Retrieve real-time cryptocurrency price data from Bithumb exchange for specific coins like BTC or ETH to monitor market movements.

Instructions

Get cryptocurrency ticker information (Public)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinCodeYesCryptocurrency symbol (e.g. BTC, ETH)

Implementation Reference

  • Core handler function that executes the get_ticker tool logic by making a public API request to Bithumb's ticker endpoint.
    public async getTicker(coinCode: string): Promise<IGetTicker> { const param = `${coinCode}_${this.paymentCurrency}`; const res = <IGetTicker>await this.requestPublic('ticker', param); return res; }
  • src/index.ts:64-72 (registration)
    MCP tool registration defining the name, description, and input schema for get_ticker.
    name: 'get_ticker', description: 'Get cryptocurrency ticker information (Public)', inputSchema: { type: 'object', properties: { coinCode: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' } }, required: ['coinCode'] }
  • Dispatch handler in MCP CallToolRequestSchema that invokes the getTicker method with the provided coinCode argument.
    case 'get_ticker': result = await this.bithumbApi.getTicker(args.coinCode as string);
  • TypeScript interface defining the output schema for the ticker response.
    export interface IGetTicker extends IBithumbResponse { data: 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/zereight/bithumb-mcp'

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