Skip to main content
Glama
Rekko-AI
by Rekko-AI

get_market

Retrieve detailed information about specific prediction markets from platforms like Kalshi and Polymarket to support market analysis and trading decisions.

Instructions

Get detailed information about a specific prediction market.

Args: market_id: Platform-specific market identifier (e.g. Kalshi ticker or Polymarket slug). source: Platform hint: "kalshi", "polymarket", or "" to search both.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes
sourceNo

Implementation Reference

  • The get_market tool implementation which queries the prediction market API.
    @mcp.tool()
    async def get_market(market_id: str, source: str = "") -> str:
        """Get detailed information about a specific prediction market.
    
        Args:
            market_id: Platform-specific market identifier (e.g. Kalshi ticker or Polymarket slug).
            source: Platform hint: "kalshi", "polymarket", or "" to search both.
        """
        if source:
            return await _request("GET", f"/v1/markets/{source}/{market_id}")
        return await _request("GET", "/v1/markets", params={"query": market_id, "limit": 1})

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/Rekko-AI/rekko-mcp'

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