# searchKalshiMarkets

**Identifier:** `kalshi_searchKalshiMarkets`

**Provider:** [Kalshi](https://kirha.com/providers/kalshi.md)

Search Kalshi prediction markets by topic and get the market-implied probability of each outcome, e.g., elections, Fed decisions, inflation prints, geopolitics, company events. Use it for crowd forecasts from a regulated exchange, alongside or instead of Polymarket.

## Run it with the CLI

```bash
kirha tools run kalshi_searchKalshiMarkets \
  --input '{
    "query": "French presidential election"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "kalshi_searchKalshiMarkets",
  "input": {
    "query": "French presidential election"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "type": "integer"
    },
    "query": {
      "description": "Topic, person or event in English, e.g., French presidential election, Fed October",
      "minLength": 2,
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "events": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "openOutcomes": {
            "type": "number"
          },
          "outcomes": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "closesOn": {
                  "type": "string"
                },
                "outcome": {
                  "type": "string"
                },
                "probability": {
                  "type": "number"
                },
                "ticker": {
                  "type": "string"
                }
              },
              "required": [
                "ticker"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "subtitle": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "volume": {
            "type": "number"
          }
        },
        "required": [
          "ticker",
          "url",
          "outcomes"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "events"
  ],
  "type": "object"
}
```

## Related tools

Other Kalshi tools that this tool refers to, or that refer to it.

- [`getKalshiEvent`](https://kirha.com/providers/kalshi/getKalshiEvent.md)

-----

[All Kalshi tools](https://kirha.com/providers/kalshi.md) · [< Back to tools list](https://kirha.com/tools.md)