# Politics markets: Polymarket vs Kalshi price gaps

**Use case:** 

Fetches the most active politics markets on Polymarket and Kalshi, matches the same events across both platforms and shows the price gap in percentage points, with order book depth on each side. Flags pairs where buying YES on one and NO on the other costs under $0.98. Public data only, not financial advice.

## Input

```json
{
  "platforms": [
    "polymarket",
    "kalshi"
  ],
  "query": "",
  "category": "politics",
  "minVolume24h": 5000,
  "includeOrderbook": true,
  "findArbitrageMatches": true,
  "excludeSports": true,
  "maxMarketsPerPlatform": 30
}
```

## Output

```json
{
  "platform": {
    "label": "Platform",
    "format": "string"
  },
  "question": {
    "label": "Question",
    "format": "string"
  },
  "yes_probability": {
    "label": "Yes probability",
    "format": "number"
  },
  "best_bid": {
    "label": "Best bid",
    "format": "number"
  },
  "best_ask": {
    "label": "Best ask",
    "format": "number"
  },
  "volume_24h": {
    "label": "Volume 24h",
    "format": "number"
  },
  "cross_platform_diff_pp": {
    "label": "Cross platform diff pp",
    "format": "number"
  },
  "arbitrage_opportunity": {
    "label": "Arbitrage opportunity",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Polymarket & Kalshi Odds, CLOB Depth & Arbitrage Actor is ready to run with the inputs already set for "Politics markets: Polymarket vs Kalshi price gaps". [Sign up or log in](https://console.apify.com/create-task-from-example/eDeNq4LVVy6BaKSj4) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Politics markets: Polymarket vs Kalshi price gaps" task

The Polymarket & Kalshi Odds, CLOB Depth & Arbitrage Actor will start running based on the input automatically. You can also change all the input fields, like platforms, category, and more, to match your specific use case.

### 3. Receive the "Politics markets: Polymarket vs Kalshi price gaps" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as platform, question, yes probability, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Politics markets: Polymarket vs Kalshi price gaps" task via API](https://apify.com/sequined_lacework/polymarket-kalshi-arbitrage.md).

## About this Actor

This example demonstrates how to use [Polymarket & Kalshi Odds, CLOB Depth & Arbitrage](https://apify.com/sequined_lacework/polymarket-kalshi-arbitrage.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sequined_lacework/polymarket-kalshi-arbitrage.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sequined_lacework/polymarket-kalshi-arbitrage.md

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`).
