# getKalshiPriceHistory

**Identifier:** `kalshi_getKalshiPriceHistory`

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

Daily or hourly history of a Kalshi outcome's implied probability, volume and open interest, by market ticker, or event ticker for its likeliest outcome. Use it to see how the odds of an outcome moved around news, polls or a debate.

## Run it with the CLI

```bash
kirha tools run kalshi_getKalshiPriceHistory \
  --input '{
    "ticker": "<ticker>"
  }'
```

`--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_getKalshiPriceHistory",
  "input": {
    "ticker": "<ticker>"
  }
}'
```

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": {
    "days": {
      "default": 30,
      "maximum": 365,
      "minimum": 1,
      "type": "integer"
    },
    "interval": {
      "default": "day",
      "enum": [
        "day",
        "hour"
      ],
      "type": "string"
    },
    "ticker": {
      "description": "Market ticker from getKalshiEvent, or an event ticker",
      "type": "string"
    }
  },
  "required": [
    "ticker"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "first": {
      "type": "number"
    },
    "found": {
      "type": "boolean"
    },
    "high": {
      "type": "number"
    },
    "last": {
      "type": "number"
    },
    "low": {
      "type": "number"
    },
    "periods": {
      "type": "number"
    },
    "points": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "type": "string"
          },
          "openInterest": {
            "type": "number"
          },
          "probability": {
            "type": "number"
          },
          "volume": {
            "type": "number"
          }
        },
        "required": [
          "date"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "ticker": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "found",
    "ticker",
    "periods",
    "points"
  ],
  "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)