{
  "id": "surf.prediction-market.kalshi.open-interest",
  "object": "tool",
  "name": "Kalshi Open Interest History",
  "summary": "Daily open interest time series for a Kalshi market.",
  "description": "Daily open interest time series for a Kalshi market. Data refresh: ~30 minutes.\n\nRaw surf#prediction-market/kalshi/open-interest endpoint: input is { body, queryParams, pathParams } as the provider documents them (https://docs.asksurf.ai/data-api/prediction-market/kalshi-open-interest).",
  "category": "lookup",
  "hosted_by": "Surf",
  "runtime": "partner",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": null,
  "providers": [
    {
      "id": "surf",
      "name": "Surf",
      "price": null,
      "own_key_only": true
    }
  ],
  "mcp_name": "surf_prediction-market_kalshi_open-interest",
  "input_schema": {
    "type": "object",
    "properties": {
      "queryParams": {
        "type": "object",
        "properties": {
          "ticker": {
            "type": "string",
            "minLength": 1,
            "description": "Market ticker identifier. Use GET /v1/prediction-market/kalshi/markets or GET /v1/search/prediction-market?platform=kalshi&q={keyword} to discover valid tickers. Example: KXBTC2026250-27JAN01-250000."
          },
          "time_range": {
            "default": "30d",
            "type": "string",
            "enum": [
              "7d",
              "30d",
              "90d",
              "180d",
              "1y"
            ],
            "description": "Window of history to return: 7d, 30d, 90d, 180d, or 1y. This endpoint uses time_range only — it does NOT accept interval. Example: 30d. Defaults to \"30d\"."
          }
        },
        "required": [
          "ticker"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "queryParams"
    ],
    "additionalProperties": false
  },
  "kind": "endpoint"
}