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

search_markets

Find prediction markets by searching titles with keywords to identify trading opportunities on platforms like Kalshi, Polymarket, and Robinhood.

Instructions

Search prediction markets by keyword in market title.

Args: query: Search query string to match against market titles. limit: Maximum number of results to return.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
limitNo

Implementation Reference

  • Implementation of the search_markets MCP tool, which proxies a GET request to the /v1/markets API endpoint with search parameters.
    @mcp.tool()
    async def search_markets(query: str, limit: int = 20) -> str:
        """Search prediction markets by keyword in market title.
    
        Args:
            query: Search query string to match against market titles.
            limit: Maximum number of results to return.
        """
        return await _request("GET", "/v1/markets", params={"query": query, "limit": limit})

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