> ## 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 Integration

Streamline your prediction market strategies by connecting Kalshi to your automated trading workflows via B3OS. Seamlessly bridge market data, order exe...

![Kalshi logo](https://ai-icon.b3.fun/logo/kalshi) Integration available

Streamline your prediction market strategies by connecting Kalshi to your automated trading workflows via B3OS. Seamlessly bridge market data, order execution, and portfolio management using our robust API-driven automation engine.


**[Public page](https://b3os.org/integrations/app/kalshi)**

Open the user-facing integration overview for examples, templates, and sharing.
  **[Action reference](/actions/reference)**

Schema-level references for executable actions and test payloads.
  **[Trigger reference](/actions/trigger-reference)**

Event and schedule triggers that can start B3OS workflows.

## Build With Kalshi

Use Kalshi when a workflow needs to react to Kalshi: Market Closed, Kalshi: New Market Listed and follow up with actions such as Kalshi Cancel Order, Kalshi Get Balance, Kalshi Get Deposits. Start in the visual editor to connect an account, then use the references below for payload shape, required fields, and API testing.

## Available Actions

| Action | ID | Connector | Required fields |
| --- | --- | --- | --- |
| ![Kalshi Cancel Order logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Cancel Order](/actions/reference/generated/kalshi-cancel-order) | `kalshi-cancel-order` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | `orderId` |
| ![Kalshi Get Balance logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Balance](/actions/reference/generated/kalshi-get-balance) | `kalshi-get-balance` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Deposits logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Deposits](/actions/reference/generated/kalshi-get-deposits) | `kalshi-get-deposits` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Event logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Event](/actions/reference/generated/kalshi-get-event) | `kalshi-get-event` | `-` | `eventTicker` |
| ![Kalshi Get Market logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Market](/actions/reference/generated/kalshi-get-market) | `kalshi-get-market` | `-` | `ticker` |
| ![Kalshi Get Market Candlesticks logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Market Candlesticks](/actions/reference/generated/kalshi-get-market-candlesticks) | `kalshi-get-market-candlesticks` | `-` | `seriesTicker`, `ticker` |
| ![Kalshi Get Market Orderbook logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Market Orderbook](/actions/reference/generated/kalshi-get-market-orderbook) | `kalshi-get-market-orderbook` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | `ticker` |
| ![Kalshi Get Orders logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Orders](/actions/reference/generated/kalshi-get-orders) | `kalshi-get-orders` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Portfolio Fills logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Portfolio Fills](/actions/reference/generated/kalshi-get-portfolio-fills) | `kalshi-get-portfolio-fills` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Positions logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Positions](/actions/reference/generated/kalshi-get-positions) | `kalshi-get-positions` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Settlements logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Settlements](/actions/reference/generated/kalshi-get-settlements) | `kalshi-get-settlements` | ![kalshi logo](https://ai-icon.b3.fun/logo/kalshi) `kalshi` | - |
| ![Kalshi Get Trades logo](https://cdn.b3.fun/kalshi-logo.png) [Kalshi Get Trades](/actions/reference/generated/kalshi-get-trades) | `kalshi-get-trades` | `-` | - |


3 more actions are listed in the full action reference.

## Available Triggers

| Trigger | ID | Required configuration |
| --- | --- | --- |
| [Kalshi: Market Closed](/actions/trigger-reference/triggers/kalshi-market-close) | `kalshi-market-close` | - |
| [Kalshi: New Market Listed](/actions/trigger-reference/triggers/kalshi-new-market) | `kalshi-new-market` | - |
| [Kalshi: Trade on Market](/actions/trigger-reference/triggers/kalshi-market-trade) | `kalshi-market-trade` | `ticker` |


## Common Use Cases

**Automated Event Arbitrage**

Trigger immediate trades when a new market is listed on Kalshi by connecting the 'New Market Listed' trigger to a 'Place Order' action based on your predefined parameters.
  **Real-Time Portfolio Rebalancing**

Monitor your exposure by using 'Kalshi Get Positions' and 'Kalshi Get Balance' to trigger automated adjustments or alerts when your prediction market holdings hit specific thresholds.
  **Market Sentiment Data Pipelines**

Automatically extract market depth and price action by scheduling 'Kalshi Get Market Orderbook' and 'Kalshi Get Market Candlesticks' actions to feed data into your external analytics tools.
  **Automated Settlement Auditing**

Streamline your post-trade accounting by triggering workflows when a market closes, using 'Kalshi Get Settlements' and 'Kalshi Get Portfolio Fills' to sync data with your internal ledger.

## Connector Notes

- Create the connector from a trusted B3OS organization before publishing workflows that call external accounts.
- Keep OAuth tokens, API keys, bot tokens, channel IDs, and account IDs in connector settings or workflow props, not in reusable public template text.
- Test with the visual editor or `POST /v1/actions/{type}/test` before routing production traffic.

## Related Templates

No public templates are linked to this integration yet.

## FAQ

**How do I connect Kalshi to B3OS?**

To integrate Kalshi, you will need to provide your Kalshi API key ID and your RSA private key within the B3OS integration settings to enable secure request signing for all automated actions.
  **Can I automate trades based on new market listings?**

Yes. You can set up a workflow triggered by the 'Kalshi: New Market Listed' event to automatically execute trades or scan for specific market criteria as soon as they go live.
  **Does B3OS support real-time market data monitoring?**

Absolutely. You can use triggers like 'Kalshi: Market Closed' or actions like 'Kalshi Get Market Candlesticks' and 'Kalshi Get Market Orderbook' to build data-driven automated responses.
  **Can I automate my risk management with Kalshi?**

Yes, B3OS allows you to build sophisticated risk workflows, such as automatically calling 'Kalshi Cancel Order' or monitoring 'Kalshi Get Positions' to adjust your exposure dynamically.
  **Is my Kalshi API key secure on B3OS?**

Security is our priority. B3OS uses industry-standard encryption to store your RSA private keys, ensuring that all signed requests to the Kalshi REST API are handled with maximum integrity.