> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Kalshi Get Market Candlesticks

Get OHLC candlestick price history for a Kalshi market. Returns open, high, low, close prices, volume, and open interest per period. Supports 1-minute, 1-hour, and 1-day intervals. Ideal for: price charting, technical analysis, historical trend monitoring, backtesting strategies.

![Kalshi Get Market Candlesticks logo](https://cdn.b3.fun/kalshi-logo.png)
Catalog action Utility

Get OHLC candlestick price history for a Kalshi market. Returns open, high, low, close prices, volume, and open interest per period. Supports 1-minute, 1-hour, and 1-day intervals. Ideal for: price charting, technical analysis, historical trend monitoring, backtesting strategies.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `kalshi-get-market-candlesticks` |
| Category | Utility |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `kalshi`, `prediction-market`, `market-data`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `seriesTicker` | `string` | Yes | The series ticker \(e.g., 'KXBTC'\) |
| `ticker` | `string` | Yes | The market ticker \(e.g., 'KXBTC-25MAR14-B95500'\) |
| `startTs` | `number` | No | Start timestamp \(Unix seconds\) for the candlestick range |
| `endTs` | `number` | No | End timestamp \(Unix seconds\) for the candlestick range |
| `periodInterval` | `number` | No | Candlestick period interval in minutes. 1 = 1 minute, 60 = 1 hour, 1440 = 1 day. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `candlesticks` | `array` | Yes | Array of candlestick data points |
| `count` | `number` | No | Number of candlesticks returned |
| `ticker` | `string` | No | Market ticker |
| `seriesTicker` | `string` | No | Series ticker |

## Examples

**Workflow node**

```json
{
  "type": "kalshi-get-market-candlesticks",
  "payload": {
    "seriesTicker": "example-seriesTicker",
    "ticker": "example-ticker"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/kalshi-get-market-candlesticks/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "seriesTicker": "example-seriesTicker",
    "ticker": "example-ticker"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.