kalshi_trades

Pack: kalshi · Endpoint: https://gateway.pipeworx.io/kalshi/mcp

Recent executed trades for a market ticker. Returns most-recent N trades with price (cents), size, side, timestamp. Useful for sanity-checking what the market is actually paying vs the resting orderbook.

Parameters

NameTypeRequiredDescription
tickerstringyesKalshi market ticker
limitnumberno1-1000 (default 50)

Example call

Arguments

{
  "ticker": "KXFED-26OCT-T3.50",
  "limit": 50
}

curl

curl -X POST https://gateway.pipeworx.io/kalshi/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"kalshi_trades","arguments":{"ticker":"KXFED-26OCT-T3.50","limit":50}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('kalshi_trades', {
  "ticker": "KXFED-26OCT-T3.50",
  "limit": 50
});

Response shape

Always returns: ticker, count, cursor, trades

FieldTypeDescription
tickerstringMarket ticker
countnumberNumber of trades returned
cursorstring | nullPagination cursor
tradesarrayRecent executed trades
Full JSON Schema
{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "Market ticker"
    },
    "count": {
      "type": "number",
      "description": "Number of trades returned"
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pagination cursor"
    },
    "trades": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "trade_id": {
            "type": "string",
            "description": "Unique trade ID"
          },
          "ticker": {
            "type": "string",
            "description": "Market ticker"
          },
          "yes_price_cents": {
            "type": "number",
            "description": "YES price in cents"
          },
          "no_price_cents": {
            "type": "number",
            "description": "NO price in cents"
          },
          "count": {
            "type": "number",
            "description": "Number of contracts traded"
          },
          "taker_side": {
            "type": "string",
            "description": "yes|no (which side took liquidity)"
          },
          "created_time": {
            "type": "string",
            "description": "Trade execution timestamp"
          }
        }
      },
      "description": "Recent executed trades"
    }
  },
  "required": [
    "ticker",
    "count",
    "cursor",
    "trades"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "kalshi": {
      "url": "https://gateway.pipeworx.io/kalshi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 8, 2026