Skip to main content
Scan cross-venue prediction market arbitrage

Overview

This endpoint compares active binary contracts on Polymarket and Kalshi, matches pairs by normalized question-token overlap, and returns complementary YES and NO combinations whose combined_cost falls below 1.00. Opportunities return in arbitrage_opportunities, ranked from highest gross edge_percent downward.

Matching math and verification caveats

Understanding how the scanner pairs contracts helps avoid false positives from similar wording with different resolution rules.
  • Question token matching. Each contract’s question is lowercased, stripped of punctuation, filtered to tokens of three or more characters excluding common stopwords, and scored with Jaccard similarity (intersection / union). Raise min_similarity (for example 0.65 or 0.75) to require tighter textual overlap.
  • Combined cost and gross edge. For every matched pair, Darvas checks both cross-venue directions (polymarket YES + kalshi NO and kalshi YES + polymarket NO), selects the cheaper combined_cost, sets buy_yes_venue, buy_yes_price, buy_no_venue, and buy_no_price, and computes edge_percent = (1 - combined_cost) * 100.
  • Liquidity and resolution checks. min_liquidity equals the smaller of the two venues’ reported liquidity values. Gross edge_percent does not deduct exchange trading fees, settlement fees, or order-book slippage. Always inspect polymarket_question, kalshi_question, polymarket_url, and kalshi_url to confirm both venues share the same resolution source and cutoff date.
  • Related endpoints. Inspect full order-book quotes, spreads, and resolution dates on /prediction-markets. Check underlying rate or crypto prices with /macro/interest-rates and /crypto/prices.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

min_similarity
number<double>

Minimum Jaccard question token similarity between 0 and 1 (default 0.5).

Required range: 0 <= x <= 1
min_edge_pct
number<double>

Minimum implied risk-free edge percentage (default 0.5).

Required range: 0 <= x <= 99
min_liquidity
number<double>

Minimum USD liquidity required on the smaller leg (default 0).

Required range: 0 <= x <= 1000000000
limit
integer<int32>

Maximum arbitrage opportunities returned (1 to 100; default 50).

Required range: 1 <= x <= 100

Response

Scan cross-venue prediction market arbitrage: one page.

The answer of GET /prediction-markets/arbitrage.

arbitrage_opportunities
object[]
required

Ranked cross-venue spreads.

Maximum array length: 100