Skip to main content
Find the same underlying market listed on Polymarket, Kalshi, Predict.fun, and Hyperliquid, compare prices across venues, and rank cross-venue price edges — all powered by Kairos’s matching engine. Full parameter reference and a live tester: API Reference.

Base URL

All REST paths on this page are relative to that host.

Authentication

Every REST endpoint on this page is public and requires no credentials. Valid API-key or session credentials are accepted when supplied, but they are optional.

How matching works

Kairos publishes three matching datasets. Each answers a different question, so pick the one that fits your use case: Correlations come from the same exact-evidence clusters. They are a search convenience, not a paged catalog. Equivalence clusters come from a matcher that grades the evidence behind each match. You choose how much evidence a cluster needs with floor; see Equivalence clusters. Market links are the only dataset that pairs outcome sides, not just markets. A correlation or a cluster says two markets are about the same event. A link also says which outcome on each venue is YES. Only links are routable. A link maps sides; it doesn’t guarantee the venues settle identically, because each venue resolves under its own rules.

Typical workflow

  1. Resolve a known market to its equivalents with GET /market-clusters, selecting exact or semantic matching.
  2. Look up counterparts for a market with GET /search/simple — every search response carries a correlations map of cross-venue counterparts.
  3. Find routable links with GET /market-links/featured or GET /market-links/lookup — the links cross-venue routing can trade.
  4. Rank links by live price edge with GET /market-links/edges, then stream a link’s union book on the synthetic book stream.
  5. Execute with cross-venue routing, the order endpoints or, from a self-custody wallet, the Partner API.

Equivalence clusters

Resolve one or more known market references to their cross-venue equivalents. floor sets the weakest evidence a cluster may be built from. Evidence ranks, weakest to strongest:
  1. Exact — the titles match exactly once normalized, or the same event and outcome label pair up. Strong evidence of the same event, but it says nothing about resolution rules.
  2. Semantic — the markets’ full descriptions were compared with embeddings and cleared the similarity threshold.
  3. Structural — a venue-native identifier proves the match, for example a Kalshi game ticker and a Polymarket game slug for the same game.
floor=exact (the default) admits all three and gives the widest clusters. Use it for browse and display surfaces. floor=semantic admits only semantic and structural matches, so its clusters are smaller and stricter. Use it when resolution-rule confidence matters, such as comparing prices to act on. Neither floor proves two markets settle identically; market links are what Kairos routes on.
A cluster is not a set of identical contracts. Today a cluster can hold several markets from one venue, and a game’s winner market can share a cluster with that game’s spread lines, at either floor. Check each member’s title before comparing prices. To trade the same contract across venues, use market links.
Auth: none — public. Rate limit: 60/minute (anonymous callers get half). Cache-Control: public, max-age=10.

Request

Response

The response is keyed by each requested reference that resolved to at least two available providers. Unknown references and groups with fewer than two available members are omitted rather than returned with empty arrays. size is the stored cluster size and may include members filtered from the response. A cluster returns at most 32 eligible members; truncated: true means additional eligible members were omitted by this limit. Errors: 400 for an unsupported floor, no usable references, or more than 200 references; 422 when markets is missing; 503 when matching data is temporarily unavailable.

Cross-venue correlations

Every /search/simple response is enriched with a correlations map: for each result market, its cross-venue counterparts (capped at 4 per result). This is the REST way to answer “is this market also listed on another venue?” alongside a normal search. Auth: none — public. Rate limit: 60/minute (the shared search limit group).

Request

The full parameter set covers general search (offset, tags, statuses, sort_by, sort_order, include_total, include_expired, …) — see Search and the API Reference for all of it. Parameters relevant to matching:

Response

Abridged — the full envelope is {results, meta, groups?, singles?, correlations?}; only the correlation-specific parts are shown.
correlations is attached best-effort — it’s simply absent if no counterparts were found (or if the lookup failed), and never blocks or degrades the main search result. Counterparts whose market has resolved/closed, or whose venue’s indexing is paused, are dropped; a counterpart with no market row is kept but arrives without the display fields.
A market link is one real-world contract listed on 2–4 venues, with a union order book per side. These are the links cross-venue routing trades. featured lists them in rank order. lookup returns the link that holds a market you already know. Auth: none — public. Rate limit: 200/minute (the shared market_data group; anonymous callers get half). Cache-Control: public, max-age=15, s-maxage=30. The catalog rebuilds every 60 seconds.

Request

lookup matches a market by its marketId, its stream key (the numeric Gamma id on Polymarket), or the market that books a Kalshi game’s NO side (marketIdNo / streamKeyNo).

Response

featured returns { "links": [...], "nextCursor": "..." }. nextCursor is null on the last page. lookup returns { "links": { "<provider>:<marketId>": {...} } }, keyed by each reference as you sent it with the provider lower-cased. A market without a link is left out. Links for a game expire with the game, so the ids in the example above stop resolving; take live ids from featured.
To group every outcome of one match (home, draw, away), group rows by fixtureSlug. Every id is a synthetic book id. Subscribe on wss://stream.kairos.trade with contract_id set to the id, provider: "synthetic", and the topics you want: The trade tape is described in Stream every venue’s trades for a matched market.
featured leaves out a game once it is over, and a fixed window once it closes. A game counts as over 6 hours after startTime; a cricket match after 10 hours, and a cricket Test match after 5½ days. lookup still returns those links, so a market you hold stays resolvable.
An empty links right after a deploy is normal. The catalog fills on its next 60-second cycle.
Every link with a live price edge between its venues, best first. Use it to rank the catalog by opportunity. It takes no parameters and returns at most 500 links. Auth: none — public. Rate limit: 200/minute (the shared market_data group; anonymous callers get half). Cache-Control: public, max-age=3, s-maxage=3.
Each edge has a type: A link is listed only while it has a positive edge other than spread. An edge computed more than 10 seconds ago isn’t served, so a link can drop out between two calls. Poll no faster than the 3-second cache. A 503 with Catalog store unavailable means the store couldn’t be read: retry later. An edge is a price observation, not an order. Venues aren’t atomic, and each leg settles under its own venue’s rules.

Errors

Errors are returned as { "detail": "<message>" }. Two shapes deviate: 422s use FastAPI’s standard validation envelope, and 429s use { "error": "Rate limit exceeded: <limit>" } alongside X-RateLimit-* and Retry-After headers. An unhandled server fault returns a generic 500 An internal error occurred. Please try again later. The Code column holds the exact detail string the service returns; — means the response carries no fixed string. The correlation attachment on /search/simple is the one exception: it is fail-open, so a correlation-store failure drops the correlations key instead of erroring.