> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> Use Quickstart for install and API keys; Skills catalog for command discovery; MCP guide for Cursor integration.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# Kalshi prediction markets

> Fetch Kalshi prediction market odds, search open markets, and view trending contracts from the terminal — no API key required for public data.

Arka includes a **kalshi** skill for read-only Kalshi prediction market data: search open markets, inspect a ticker, see trending contracts by 24h volume, and check exchange status.

No trading — quotes and discovery only.

## Quick examples

```bash theme={null}
kalshi search bitcoin
kalshi market KXBTC-25JUL-T100K
kalshi trending
kalshi status
```

Natural language also works:

```bash theme={null}
arka "kalshi predictions on bitcoin"
arka "what are kalshi odds for inflation"
arka "kalshi trending"
```

## Commands

| Command                    | Description                                            |
| -------------------------- | ------------------------------------------------------ |
| `kalshi search <keywords>` | Search open markets by title/ticker keyword            |
| `kalshi market <TICKER>`   | Full quote for one market (YES/NO, volume, close time) |
| `kalshi trending`          | Top open markets by 24h volume                         |
| `kalshi status`            | Kalshi exchange/trading status                         |

## API approach

The skill uses Kalshi's public **Trade API v2** (no API key required for read-only market data):

* Base URL: `https://external-api.kalshi.com/trade-api/v2`
* Endpoints: `GET /markets`, `GET /markets/{ticker}`, `GET /exchange/status`

Kalshi has no dedicated keyword search endpoint, so `kalshi search` fetches open markets and filters client-side by keyword.

## Optional configuration

Add to `~/.config/arka/.env` only if you need a custom base URL or future authenticated endpoints:

```bash theme={null}
# Optional — public read endpoints work without a key
KALSHI_API_KEY=
KALSHI_API_BASE=https://external-api.kalshi.com/trade-api/v2
```

## Related skills

| Skill              | Example                                               |
| ------------------ | ----------------------------------------------------- |
| `stock`            | `arka stock news`                                     |
| `currency_convert` | `arka convert 100 USD to INR`                         |
| `predictions`      | `predictions --domain stocks --deep "banking sector"` |

See also: [Stock intelligence](/guides/stocks)


## Related topics

- [Stock intelligence](/guides/stocks.md)
- [Skills catalog: 70+ built-in Arka commands](/guides/skills.md)
- [Arka CLI command and flag reference](/guides/cli.md)
- [Command aliases, subcommand synonyms, and skill names](/reference/aliases.md)
- [Arka — AI terminal agent documentation](/index.md)
