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

get_consensus

Retrieve consensus probability from aggregated agent trades on prediction markets to inform trading decisions.

Instructions

Get consensus probability from aggregated agent trades.

Args: market_id: Platform-specific market identifier. platform: Platform: "kalshi" or "polymarket". period: Lookback period: "48h", "7d", or "30d".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes
platformNokalshi
periodNo7d

Implementation Reference

  • The get_consensus tool fetches consensus probability from aggregated agent trades by making a GET request to the /v1/markets/{platform}/{market_id}/consensus endpoint.
    async def get_consensus(
        market_id: str, platform: str = "kalshi", period: str = "7d"
    ) -> str:
        """Get consensus probability from aggregated agent trades.
    
        Args:
            market_id: Platform-specific market identifier.
            platform: Platform: "kalshi" or "polymarket".
            period: Lookback period: "48h", "7d", or "30d".
        """
        return await _request(
            "GET",
            f"/v1/markets/{platform}/{market_id}/consensus",
            params={"period": period},
        )

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