# Kalshi Market Intelligence & Signal Analyst (`brazen_vanguard/kalshi-market-intelligence-signal-analyst`) Actor

Go beyond raw data. Extract prices, detect liquidity signals, and generate AI-powered market interpretations for Kalshi prediction markets.

- **URL**: https://apify.com/brazen_vanguard/kalshi-market-intelligence-signal-analyst.md
- **Developed by:** [Peter](https://apify.com/brazen_vanguard) (community)
- **Categories:** AI, Agents, Automation
- **Stats:** 49 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Kalshi Market Intelligence & AI Signal Analyst 📈

**Most scrapers tell you "what" the price is. This tool tells you what it means.**

The **Kalshi Market Intelligence & Signal Analyst** is a high-performance financial tool designed for the Apify $1M Challenge to extract and interpret real-time data from [Kalshi](https://kalshi.com). It identifies **Smart Money** movement by tracking volume deltas, liquidity depth, and narrative signals across the world’s premier prediction market.

***

### 🚀 Why choose this Analyst over a standard scraper?

While other tools return messy, raw text, this Actor provides a structured **Intelligence Layer**:

- **Discovery Mode (Zero-Config):** Automatically finds the top trending markets, intelligently filtering out "sports noise" to focus on high-signal **Politics**, **Macro**, and **Tech**.
- **Stateful Trend Detection:** It remembers! Using a built-in trend database, it identifies if a market is **Rising**, **Falling**, or **Flat** based on volume shifts since your last run.
- **Universal BYOK AI Integration:** Plug in your own key from **Google, OpenAI, Claude, Grok, DeepSeek, etc.**. It generates a one-sentence "Trader's Bottom Line" for every result.
- **Free-Plan Optimized:** Engineered to run on **1 CPU / 1GB RAM**. It uses network-interception to bypass heavy UI rendering, making it one of the fastest and cheapest financial tools on the platform.

***

### 🛠 How to Start

1. **Define your Mode:** Paste 1-5 specific Kalshi URLs for a surgical audit, or leave blank to use the **Discovery Mode** for global signals.
2. **Configure AI (Optional):** Select your provider (Google, OpenAI, Claude, or Custom) and paste your API key.
3. **Run & Analyze:** Export your data to **Excel, JSON, or CSV** to identify mispriced opportunities.

***

### 🔑 How to get your AI API Key (BYOK)

Not a developer? No problem. To activate the **AI Intelligence Layer**, you just need to paste a "Key" from your favorite AI provider. Here is where to get them:

- **OpenAI (GPT-4o/5+):** Create a key at [platform.openai.com](https://platform.openai.com).
- **Anthropic (Claude 4/4.5):** Create a key at [console.anthropic.com](https://console.anthropic.com).
- **Google Gemini (3.0 Pro/Flash):** Create a key at [aistudio.google.com](https://aistudio.google.com) (Select **Custom** in the Actor provider menu).
- **DeepSeek:** Create a key at [platform.deepseek.com](https://platform.deepseek.com) (Select **Custom** in the Actor provider menu).
- **Grok (xAI):** Create a key at [console.x.ai](https://console.x.ai) (Select **Custom** in the Actor provider menu).

**Security Note:** Your keys are processed in-memory during the run and are **never stored or logged** by the Actor or the platform.

***

### 📺 Demo Video: Find Your Edge

Watch the full walkthrough of how to use the Kalshi Signal Analyst to discover alpha and configure your AI Intelligence Layer:

[Watch the video](https://youtu.be/pHlez_tcXNU)

***

### 📊 What data can you extract from Kalshi?

The Analyst provides institutional-grade data points formatted for quantitative analysis:

| Data Point | Description |
| :--- | :--- |
| **Market Title** | The name of the prediction event. |
| **Sentiment Signal** | Bullish, Bearish, or Neutral based on price probability. |
| **Volume Trend** | Direction of trading activity (Rising/Falling/Flat). |
| **Liquidity** | Current market depth in USD. |
| **Open Interest** | Total active contracts held by traders (Institutional Commitment). |
| **AI Summary** | One-sentence strategic brief from your chosen LLM. |

***

### 💰 How much will scraping Kalshi cost?

This Actor is designed to be **fair, predictable, and optimized for both independent traders and institutional firms**. We use a **Pay-per-Event** model with deep discounts for higher Apify subscription tiers.

#### Tiered Pricing Structure

| Apify Plan | Actor Start Fee | Per Analyzed Result |
| :--- | :--- | :--- |
| **Free / No Plan** | $0.10 | $0.05 |
| **Starter** | $0.08 (20% Off) | $0.04 (20% Off) |
| **Scale** | $0.05 (50% Off) | $0.03 (40% Off) |
| **Business** | **$0.02 (80% Off)** | **$0.01 (80% Off)** |

***

#### Cost Examples (Intelligence Reports)

To help you manage your budget, here is what a standard **Discovery Run (10 Markets)** costs across different plans:

- **Free Plan:** $0.10 + (10 × $0.05) = **$0.60 total**
- **Starter Plan:** $0.08 + (10 × $0.04) = **$0.48 total**
- **Scale Plan:** $0.05 + (10 × $0.03) = **$0.35 total**
- **Business Plan:** $0.02 + (10 × $0.01) = **$0.12 total**

#### Why this model?

Instead of charging a flat monthly fee, you only pay for the **Intelligence** you consume. The "Start Fee" covers the initialization of our stateful trend database, while the "Result Fee" covers the surgical data extraction, signal processing, and AI orchestration for each market.

***

### ⚖️ Is it legal to scrape Kalshi?

Our scrapers are ethical and do not extract any private user data. They only extract publicly available trade data that Kalshi shares on its public interface.

> "Personal data is protected by the GDPR in the European Union and other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/)."

***

### 📖 Input & Output Examples

#### Input Sample

```json
{
  "marketUrls": [],
  "llmApiKey": "your-api-key",
  "llmProvider": "openai",
  "modelId": "gpt-5"
}
```

#### Output Sample (Intelligence Layer)

| Title | Category | Trend | Sentiment | Volume | AI Summary |
| :--- | :--- | :--- | :--- | :--- | :--- |
| Fed Rate Hike? | Macro | **Rising** | Bearish | 1.2M | "Rapid volume spike at 20¢ suggests the market is hedged against a surprise hawkish move." |
| SpaceX Launch? | Tech | **Flat** | Bullish | 450k | "Pricing reflects high confidence; current 85¢ YES is efficient given recent test successes." |

***

### ❓ FAQ

**Can I use Chinese AI models like DeepSeek?**
Yes. Select "Custom" as the provider and enter the DeepSeek API Base URL in the configuration.

**Why use this on the Apify Platform?**
By running this Actor on Apify, you gain access to **automated scheduling, API integration, and email monitoring alerts**—turning a simple scraper into a fully automated trading analyst.

**Is my API key safe?**
Absolutely. Your keys are processed in-memory during the run and are **never stored or logged** by the Actor.

***

### 📜 Version History

#### **Version 1.0 (Current)**

- **Reliable Market Signals:** Now pulls data directly from official data sources for faster, more accurate results.
- **Live Momentum Detection:** Identifies markets where real money is moving right now, with clear Rising / Flat / Falling trends.
- **Flexible AI Analysis (BYOK):** Works with OpenAI, Claude, Grok, DeepSeek, and Google models for optional AI-driven insights.
- **Professional-Grade Metrics:** Includes real traded volume, liquidity depth (USD), and open interest for each market.
- **Built to Scale:** Configurable discovery limits — analyze anywhere from a handful to thousands (1,000) of markets per run.
- **Marketplace-Ready Pricing:** Supports tiered pricing with significant discounts for high-volume and business users.

# Actor input Schema

## `marketUrls` (type: `array`):

Paste specific URLs for surgical analysis. LEAVE EMPTY for Discovery Mode.

## `maxDiscoveryItems` (type: `integer`):

Number of trending markets to analyze in Discovery Mode (1-1000). Note: Each result consumes a 'Result' event charge.

## `llmApiKey` (type: `string`):

Your API key for the chosen provider.

## `llmProvider` (type: `string`):

Select your provider. Use 'Custom' for Grok, DeepSeek, etc.

## `modelId` (type: `string`):

e.g., gpt-5, gemini-3-flash, claude-4-5-sonnet

## `llmBaseUrl` (type: `string`):

Only change this if using a Custom provider. (e.g., https://api.x.ai/v1 for Grok)

## Actor input object example

```json
{
  "maxDiscoveryItems": 10,
  "llmProvider": "openai",
  "modelId": "gpt-5",
  "llmBaseUrl": "https://api.openai.com/v1"
}
```

# Actor output Schema

## `analysis` (type: `string`):

Real-time market signals and AI summaries.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("brazen_vanguard/kalshi-market-intelligence-signal-analyst").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("brazen_vanguard/kalshi-market-intelligence-signal-analyst").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call brazen_vanguard/kalshi-market-intelligence-signal-analyst --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,brazen_vanguard/kalshi-market-intelligence-signal-analyst"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uP9XcAsvkVM0qAsvr/builds/uNbPakBErkDJpNcTi/openapi.json
