Prediction Markets Arbitrage & L2 Slippage avatar

Prediction Markets Arbitrage & L2 Slippage

Pricing

from $5.00 / 1,000 matched arbitrage / depth records

Go to Apify Store
Prediction Markets Arbitrage & L2 Slippage

Prediction Markets Arbitrage & L2 Slippage

Cross-venue Polymarket & Kalshi arbitrage scanner and L2 orderbook slippage API. Matches equivalent binary markets, walks live CLOB and Kalshi books, computes fee-adjusted net arb % and executable VWAP at $100/$1K/$10K, and flags UMA vs CFTC resolution risk.

Pricing

from $5.00 / 1,000 matched arbitrage / depth records

Rating

0.0

(0)

Developer

Hyon

Hyon

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

13 hours ago

Last modified

Categories

Features

Limited permissionsSingle-tenantServer interface

Share

Real-time Polymarket ↔ Kalshi cross-venue arbitrage scanner and L2 orderbook slippage calculator.

Headline midpoint odds often look like "free arbitrage" until you walk the actual orderbook and factor in taker fees. This Actor matches equivalent binary markets across Polymarket and Kalshi, fetches live Level-2 orderbooks from Polymarket's CLOB and Kalshi's Trade API v2, and computes exact executable VWAP, fee-adjusted net edge %, maximum fillable USD depth, slippage at $100 / $1,000 / $10,000, and UMA vs. CFTC resolution-source mismatch warnings.

What you get

  • Deterministic cross-venue matching: Aligns equivalent binary markets across Polymarket and Kalshi using normalized entity/topic tokens, year verification, and numeric threshold checks (never pairs conflicting targets like $100k vs $150k).
  • Live L2 orderbook simulation: Walks Polymarket CLOB /book ask ladders and Kalshi /markets/{ticker}/orderbook resting bid ladders (1 - NO_bid = YES_ask) to calculate exact executable VWAP and slippage in basis points.
  • Fee-adjusted net edge: Evaluates both hedged directions (Buy PM YES + Kalshi NO and Buy Kalshi YES + PM NO), applies Kalshi's quadratic taker fee (0.07 * p * (1 - p)), and reports grossEdgePct, netEdgePct, expectedNetProfitUsd, and maxExecutableUsd.
  • Resolution-source risk guard: Every matched pair includes resolutionRiskWarning highlighting UMA Optimistic Oracle (Polymarket) vs. CFTC-regulated Exchange Rules (Kalshi).
  • Direct L2 Depth endpoint (/depth): Pass any Polymarket CLOB token ID or Kalshi ticker to get an instant $100 / $1K / $10K slippage profile.
  • Zero keys, zero proxies, zero browsers: Uses official public Polymarket Gamma/CLOB and Kalshi Trade APIs directly.

Example inputs

Scan macro & crypto markets for executable arbitrage at $1,000 size:

{
"keywords": ["Fed", "Bitcoin", "recession", "inflation"],
"notionalUsd": 1000,
"minMatchConfidence": 0.55,
"minNetEdgePct": 0.25,
"maxOpportunities": 15
}

Inspect all matched Polymarket ↔ Kalshi pairs (even negative spread) to monitor basis tightening:

{
"notionalUsd": 2500,
"minMatchConfidence": 0.6,
"minNetEdgePct": -100,
"maxOpportunities": 25
}

Server API & MCP Server (real-time HTTP)

Connect trading bots, dashboards, or MCP clients directly to /mcp (find_prediction_market_arbitrage, get_orderbook_depth_slippage) or call the REST API:

# Scan matched cross-venue arbitrage with live L2 books
curl -s "https://shoomaii--prediction-markets-arb.apify.actor/arbitrage?q=Fed,Bitcoin&notionalUsd=1000" \
-H "Authorization: Bearer $APIFY_TOKEN"
# Direct L2 slippage profile for any Kalshi ticker or Polymarket CLOB token ID
curl -s "https://shoomaii--prediction-markets-arb.apify.actor/depth?platform=kalshi&marketId=KXFED-26DEC&side=yes" \
-H "Authorization: Bearer $APIFY_TOKEN"

Disclaimer

This Actor provides public market microstructure data for research and software engineering. It is not financial or investment advice. Always verify exact contract resolution criteria on both exchanges before trading.