# getKalshiMarket

**Identifier:** `kalshi_getKalshiMarket`

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

One Kalshi outcome market in detail: implied probability, resolution rules, opening and closing dates, and the best bids of the order book on each side. Takes a market ticker, or an event ticker for its likeliest outcome.

## Run it with the CLI

```bash
kirha tools run kalshi_getKalshiMarket \
  --input '{
    "ticker": "KXFRENCHPRES-27-MLEP"
  }'
```

`--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_getKalshiMarket",
  "input": {
    "ticker": "KXFRENCHPRES-27-MLEP"
  }
}'
```

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": {
    "ticker": {
      "description": "Market ticker, e.g., KXFRENCHPRES-27-MLEP",
      "type": "string"
    }
  },
  "required": [
    "ticker"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "change24h": {
      "type": "number"
    },
    "closesOn": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "eventTicker": {
      "type": "string"
    },
    "expectedResolution": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "noBids": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "contracts": {
            "type": "number"
          },
          "price": {
            "type": "number"
          }
        },
        "required": [
          "price",
          "contracts"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "openInterest": {
      "type": "number"
    },
    "opensOn": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "probability": {
      "type": "number"
    },
    "question": {
      "type": "string"
    },
    "result": {
      "type": "string"
    },
    "rules": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "ticker": {
      "type": "string"
    },
    "volume": {
      "type": "number"
    },
    "volume24h": {
      "type": "number"
    },
    "yesAsk": {
      "type": "number"
    },
    "yesBid": {
      "type": "number"
    },
    "yesBids": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "contracts": {
            "type": "number"
          },
          "price": {
            "type": "number"
          }
        },
        "required": [
          "price",
          "contracts"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "found",
    "yesBids",
    "noBids"
  ],
  "type": "object"
}
```

-----

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