Kalshi Get Balance
Get account balance and portfolio value from Kalshi. Returns the available balance and total portfolio value in both cents and dollars. Ideal for: portfolio monitoring, pre-trade balance checks, automated trading workflows, threshold alerts.
Catalog action Utility kalshi
Get account balance and portfolio value from Kalshi. Returns the available balance and total portfolio value in both cents and dollars. Ideal for: portfolio monitoring, pre-trade balance checks, automated trading workflows, threshold alerts.
At a Glance
| Field | Value |
|---|---|
| Action ID | kalshi-get-balance |
| Category | Utility |
| Connector | kalshi |
| Requires gas | No |
| Funds movement | None declared |
| Tags | kalshi, prediction-market, balance, portfolio, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
subaccount | number | No | Subaccount number (0 = primary, 1-32 = subaccounts) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
balanceDollars | number | Yes | Available account balance in USD |
balanceCents | number | No | Available account balance in cents (raw API value) |
portfolioValueDollars | number | Yes | Total portfolio value in USD |
portfolioValueCents | number | No | Total portfolio value in cents (raw API value) |
Examples
json{ "type": "kalshi-get-balance", "payload": { "subaccount": 1 }, "children": [], "connector": { "type": "kalshi", "id": "conn_kalshi" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/kalshi-get-balance/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "subaccount": 1 }}'
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.
