Base URL
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
- Resolve a known market to its equivalents with
GET /market-clusters, selecting exact or semantic matching. - Look up counterparts for a market with
GET /search/simple— every search response carries acorrelationsmap of cross-venue counterparts. - Find routable links with
GET /market-links/featuredorGET /market-links/lookup— the links cross-venue routing can trade. - Rank links by live price edge with
GET /market-links/edges, then stream a link’s union book on the synthetic book stream. - Execute with cross-venue routing, the order endpoints or, from a self-custody wallet, the Partner API.
Equivalence clusters
floor sets the weakest evidence a cluster may be built from. Evidence ranks, weakest to strongest:
- 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.
- Semantic — the markets’ full descriptions were compared with embeddings and cleared the similarity threshold.
- 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.
Auth: none — public. Rate limit: 60/minute (anonymous callers get half). Cache-Control: public, max-age=10.
Request
Response
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
/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.
Cross-venue market links
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.
Stream a link
Every id is a synthetic book id. Subscribe onwss://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.
Link edges
market_data group; anonymous callers get half). Cache-Control: public, max-age=3, s-maxage=3.
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.
