Use when an agent needs live crowd odds on a future event (elections, crypto prices, sports, Fed, tech)

$0.005 per call20 free calls/day via MCP

Use when an agent needs live crowd odds on a future event (elections, crypto prices, sports, Fed, tech). Searches Polymarket and Kalshi in one call and returns each market with outcome probabilities, 24h volume, liquidity, close date and link, sorted by activity; no query returns the most traded. Not charged when nothing matches. Under 3 s.

prediction-marketspolymarketkalshioddsforecastingprobabilityeventstrading

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool prediction_markets:

{
  "name": "prediction_markets",
  "arguments": {
    "query": "bitcoin",
    "limit": 5
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/prediction-markets \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"query":"bitcoin","limit":5}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.005 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Keywords (optional)"
    },
    "venue": {
      "type": "string",
      "description": "all (default), polymarket or kalshi"
    },
    "limit": {
      "type": "number",
      "description": "Max markets (1-30, default 10)"
    }
  },
  "required": []
}

Example output

{
  "query": "bitcoin",
  "markets": [
    {
      "venue": "polymarket",
      "question": "Will Bitcoin reach $150k by December 31?",
      "outcomes": [
        {
          "name": "Yes",
          "probability": 0.23
        },
        {
          "name": "No",
          "probability": 0.77
        }
      ],
      "volume24hUsd": 1250000,
      "liquidityUsd": 830000,
      "closes": "2026-12-31",
      "url": "https://polymarket.com/event/..."
    }
  ]
}

Related tools

Use when a trading agent is about to buy a token and must know if it is a honeypot, rug or scam ($0.01) · Use when an agent needs crypto prices ($0.002) · Use when a trading agent needs perpetual futures data ($0.003) · Use when an agent wants the crypto market mood before trading or writing about markets ($0.001)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402