Skip to Content
PredictorSDK

Get market detail

Returns one market from any of the ten supported providers (Kalshi, Polymarket, Predict, SX Bet, Hyperliquid, AlphaArcade, ProphetX, Limitless, Pred, Polymarket US).

GET
/v1/markets/{market_id}

Returns one market from any of the ten supported providers (Kalshi, Polymarket, Predict, SX Bet, Hyperliquid, AlphaArcade, ProphetX, Limitless, Pred, Polymarket US). The market_id is either the composite form returned by GET /v1/markets ({provider}:{native_id}, e.g. kalshi:KXNBA-27-SAS) or the provider-native identifier. Composite IDs dispatch unambiguously by prefix. Native IDs are routed by format inference: Kalshi tickers match the all-caps-with-hyphens shape (KX…-…); SX Bet hashes match 0x + 64 hex characters.

A bare numeric id or kebab-case slug does not name its provider. Polymarket and Predict share both shapes, so when ?provider= is omitted the service probes every candidate and answers only if exactly one of them holds that identifier. If two do, the identifier names two different real markets and the request fails with 409 listing both — it does not pick one. Retry with ?provider= or the composite form. Polymarket also resolves a market by its conditionId, the id Polymarket wallet positions carry (polymarket:0x…, or ?provider=polymarket); a bare 0x + 64 hex id is read as an SX Bet hash. Hyperliquid integer outcome ids collide with Polymarket/Predict numeric ids and are deliberately not inferred — route them via the composite form (hyperliquid:<id>) or ?provider=hyperliquid (alias hl). AlphaArcade market ids are ULIDs (26-char Crockford base32, e.g. 01K0HQE3CEM2T2RDRWSCJ3V647); like Hyperliquid they are not inferred in v1 — route them via the composite form (alpha-arcade:<ulid>) or ?provider=alpha-arcade (alias aa). ProphetX market ids are <event_id>:<market_id> pairs (e.g. 1700008812:219 — the market id is a per-sport TYPE id repeated on every event of that sport, 219 being Moneyline on every NFL game, so the event half is the identity); like Hyperliquid they are not inferred in v1 — route them via the composite form (prophetx:1700008812:219) or ?provider=prophetx (aliases prophet-x, px). That pair resolves whichever line the venue currently flags favourite, which moves; a third part names one line, favourite or not (<event_id>:<market_id>:<line>, e.g. 1700008812:1700009030:69.5), and a line the venue no longer lists answers 404. Matched ProphetX player props, spreads and totals use that form. For spreads, the native line is the home handicap; its sign can differ from the canonical line. Limitless market ids are kebab-case slugs (e.g. england-vs-sri-lanka-1789383376774); like Hyperliquid they are not inferred in v1 — the shape collides with Polymarket/Predict slugs — route them via the composite form (limitless:<slug>) or ?provider=limitless. Polymarket US market ids are its market slugs (e.g. aec-nfl-ind-jax-2026-11-01), the venue's trading symbol, or its numeric market ids; like Limitless slugs they are not inferred — route them via the composite form (polymarket-us:<slug>, what GET /v1/markets returns) or ?provider=polymarket-us. Polymarket US is a venue of its own (gateway.polymarket.us, a CFTC-regulated US exchange), not a view of Polymarket: its ids, books, fees and rules are its own. Pred market ids are <parent_market_id>:<child_market_id> pairs of 0x + 64-hex ids (e.g. pred:0xaa7f…3bf5:0xaa7f…3bf5); like Hyperliquid they are not inferred in v1 — the halves collide textually with SX Bet market hashes — route them via the composite form or ?provider=pred. A bare pred:<parent> addresses the parent as a group (one outcome per child selection, marked from each child's record: its declared result once settled, otherwise no price, since no book is read); the pair addresses one binary child market, quoted from its order book while it trades and marked with its declared result once settled.

If you already know the provider, always say so. Every listing that hands you an identifier also hands you its provider, so the composite form — which GET /v1/markets returns natively in data[].id — or ?provider={row.provider} costs nothing, skips the probe, and cannot 409. It is also strictly more available: the probe has to reach both candidates to prove there is no collision, so it fails when either is having an outage, while a named provider only depends on that one.

Identity fields (id, provider, provider_id, title, status and outcomes[].name) are strict-universal: every platform's single-market endpoint exposes them natively without a second fetch. Close timestamps and parent event ids remain omitted (not nullable) — Predict's close time lives on the parent category and Polymarket's market record carries no event id.

What the pricing tier is for, and what it is not. It reports the top of each venue's book, once, at the moment of your request. That is enough to see where a market is quoted, to compare venues, and to decide where to go and look harder. It is NOT an execution feed: there is no depth beyond the best level, no streaming, no per-outcome book on the platforms that publish only a market-wide mark, and nothing here is reserved for you — by the time you act, the level may be gone. Two limits are worth knowing before you write a strategy against it. First, price is a derived display number and a non-null price does not imply a tradeable one; read pricing.availability and prefer bid/ask for anything you intend to act on. Second, quote freshness is a property of the venue, not of this API — see Bounding quote freshness below. Route the actual order through the venue's own book.

The pricing tier adds per-outcome quotes (price, bid, ask and last, as 0–1 probability numbers — price IS the implied probability), a pricing envelope (availability, scale, source, as_of, as_of_kind, observed_at and neg_risk), and market-level aggregates (liquidity_usd, volume_24h_usd, volume_total_usd, plus Kalshi contract-count mirrors and open_interest).

Where the quotes come from (pricing.source). Kalshi and Predict quote from the same record the identity fetch returns (pricing.source=market_record), and so do the group views of Limitless (a group's slug) and Pred (a bare pred:<parent>), which read no order book and mark each option from its own record. Every other market is priced from the venue's order book (pricing.source=orderbook). ProphetX publishes its resting offers on the market record itself, so it costs no extra request. SX Bet, Hyperliquid, AlphaArcade, an open Polymarket market, a single Limitless market, a Pred child market and a Polymarket US market are priced from their book in one bounded second fetch — SX Bet's /orderbook-v3/snapshot, Hyperliquid's merged l2Book, AlphaArcade's get-full-orderbook, the Polymarket CLOB's /books, Limitless's /markets/{slug}/orderbook, Pred's order book for that child, or Polymarket US's /v1/markets/{slug}/book. Polymarket keeps a separate book for each outcome token, and one /books request returns all of a market's books, so every Polymarket outcome is quoted from its own book, sizes included, and nothing is derived from another outcome. A Polymarket market that is not open is priced from its market record (pricing.source=market_record): its orders are gone, so its record's last quote and its resolution marks are what it publishes. That record quotes the first outcome only, and the other outcomes carry their mark (outcomePrices) with bid and ask null. A Polymarket US market is one instrument, bought for YES and sold for NO: its book is the YES side's, and the NO side's quotes are its complement, the venue's own arithmetic (its BBO quotes NO as shortQuote = 1 − best bid). AlphaArcade's is a 4-sided YES/NO book: the second side's quotes are derived from the first by the cross-side complement, and the catalog midpoint serves as the price mark when the book is empty — reported as pricing.availability=indicative, since a mark that outlives its book is not a quote. Limitless and Pred publish the YES side only, and the NO side is its complement. Pricing failures never fail the lookup: if the book read fails, identity stays intact, SX Bet and Hyperliquid (whose only prices are in the book) degrade to pricing.availability=unavailable, and AlphaArcade, Limitless and Pred keep the record's marks, which pricing.availability then reflects. Polymarket and Polymarket US fall back to the quotes their market record carries (pricing.source=market_record): on Polymarket that is the first outcome's best bid and ask and every outcome's mark. A settled Polymarket US market reads no book: its outcomes carry the result, 1 or 0.

Predict publishes a per-market spreadThreshold — the widest bid/ask spread it counts as liquidity — and this route honours it, so a Predict book outside its own market's threshold reports indicative rather than lending its midpoint the authority of live. Aggregates a platform doesn't natively expose are explicit null (e.g. Kalshi reports volume in contracts, so volume_*_usd stays null rather than fabricating a USD figure; its upstream liquidity_dollars field is deprecated and always zero, so liquidity_usd is null too).

Bounding quote freshness. pricing.as_of is the provider's own timestamp and does not mean the same thing on every platform — on Hyperliquid it moves with the order book, while on Kalshi it is a record write measured anywhere from 15 hours to 137 days old on markets reporting status: open with a live two-sided book. pricing.as_of_kind names which one you received (quote / record_refresh / record_static / unknown), so read it before applying an age bound to as_of; only quote tracks the quote closely enough to bound at all. pricing.observed_at is when this server read the quotes, means the same thing on every provider, and is therefore the field to bound when you need one threshold that behaves identically across platforms. It bounds the age of the read, not of the quote: this route reads the venue live per request and caches nothing, so on a record_static provider a fresh observed_at beside a day-old as_of is the honest description of what the venue served, and the executable price should come from that venue's own book.

The trading_fees tier reports what the VENUE charges to trade this market — its own published fee parameters, normalized to one shape across all ten platforms, so cross-venue cost comparison stops requiring ten private formulas. Nothing here relates to PredictorSDK's subscription pricing. It is always present, and trading_fees.availability distinguishes published parameters from per-account rates that need your own venue credentials (SX Bet, Hyperliquid), from a venue that publishes nothing, and from a fee of genuinely zero. Only Kalshi costs extra upstream hops for it (its parameters live on the parent series plus any scheduled per-event override, all TTL-cached and bounded); those degrade to availability: "unavailable" rather than failing the lookup, exactly like the pricing tier. See the MarketDetailTradingFees schema for the formulas and for what is deliberately out of scope.

Authorization

BearerAuth
headerAuthorizationBearer <API Key>

Path Parameters

market_id*string

Composite ({provider}:{native_id}) or provider-native market identifier. Examples per provider: Kalshi market ticker (KXNBA-27-SAS), Polymarket numeric id or slug (540817 or nfl-pit-ne-2026-09-20), Predict market id (356635), SX Bet marketHash (0x…64hex), Hyperliquid outcome id (use the composite hyperliquid:<outcome-id> or ?provider=hyperliquid — bare integer ids aren't inferred).

A bare numeric id or slug is not unique across providers. Polymarket and Predict both use these shapes and their id spaces overlap, so sending one without a provider can fail with 409 (see that response). Prefer the composite form — it is what GET /v1/markets returns in data[].id — or pass ?provider=.

Sports identifiers expire. Kalshi game tickers and Polymarket game slugs are delisted as events settle, and a Hyperliquid outcome id lives as long as its question: its daily-recurring price outcomes roll over every day, while a season-long question (a league winner, say) stays listed until it resolves. Take current ids from GET /v1/markets or GET /v1/matching-markets/sports rather than copying one out of this reference. Long-dated markets (Kalshi season futures, multi-year AlphaArcade questions) and settled Polymarket, Predict and SX Bet ids stay resolvable.

Query Parameters

provider?string

Optional provider override, spelled like the provider field on GET /v1/markets rows and every other response (it was platform until 2026-10-09; ?platform= now answers 400 naming this parameter). When omitted, inferred from the composite prefix or from the native ID format (KX… → Kalshi, 0x…64hex → SX Bet — Pred ids share that shape and are never inferred; use pred:… or ?provider=pred). Numeric IDs and kebab-case slugs are shared shape between Polymarket and Predict; in that case the service probes both and returns 409 rather than guessing if the identifier resolves on both. Hyperliquid integer ids collide with these numerics and are not inferred — use the composite hyperliquid:<id> or ?provider=hyperliquid (alias hl). AlphaArcade ULIDs, Limitless slugs and Polymarket US slugs are not inferred either — use the composite form (alpha-arcade:<ulid>, limitless:<slug>, polymarket-us:<slug>) or the matching ?provider= value. Pred pairs (pred:<parent>:<child>) are likewise composite/?provider= only. Passing provider explicitly skips the probe entirely and is the recommended call whenever you know it. When the override contradicts a composite prefix (e.g. kalshi:X with ?provider=polymarket), the request returns 400.

Value in"kalshi""polymarket""predict""sxbet""hyperliquid""alpha-arcade""prophetx""limitless""pred""polymarket-us"

Response Body

Market detail

application/json
  1. response

Single-market detail across all ten supported platforms. Identity fields are strict-universal (no second fetch on any platform); the pricing tier carries per-outcome quotes plus market-level aggregates with explicit nulls where a platform doesn't natively expose a figure — values are never fabricated. The trading_fees tier applies the same rule to the venue's own published fee parameters. closes_at/event_id remain deliberately omitted, see the endpoint description for the rationale.

id*string

Composite market identifier in the format {provider}:{provider_id}. Matches the id field returned by GET /v1/markets so list output flows into detail lookups without preprocessing.

provider*string

Prediction market provider the market_id resolved against.

Value in"kalshi""polymarket""predict""sxbet""hyperliquid""alpha-arcade""prophetx""limitless""pred""polymarket-us"
provider_id*string

Provider-native market identifier. Kalshi ticker, Polymarket numeric id, Predict numeric id, SX Bet marketHash, Hyperliquid outcome id, AlphaArcade market ULID, ProphetX <event_id>:<market_id> (resolving the favourite primary-line strike) or <event_id>:<market_id>:<line> (that line), Limitless slug, or Polymarket US market slug (a Polymarket US market looked up by its numeric id is published under its slug). For Polymarket markets resolved by slug, this is normalized to the numeric id. Hyperliquid integer ids collide with Polymarket/Predict numeric ids, so look them up via the composite id (hyperliquid:<id>, as returned by /v1/markets) or ?provider=hyperliquid. Limitless slugs collide with Polymarket/Predict slugs, so look them up via the composite id (limitless:<slug>) or ?provider=limitless. Pred <parent>:<child> pairs share the 0x…64hex shape with SX Bet hashes, so look them up via the composite id (pred:<parent>:<child>) or ?provider=pred; a bare pred:<parent> addresses the parent as a group. Polymarket US slugs collide with Polymarket/Predict slugs too, so look them up via the composite id (polymarket-us:<slug>) or ?provider=polymarket-us.

title*string

Human-readable market title. Each platform exposes a slightly different field — Kalshi title, Polymarket question, Predict title, SX Bet composed from outcome labels (team-pair fallback) so a game's moneyline, spread, and total markets stay distinguishable, Hyperliquid composed from outcome/question metadata, and Polymarket US its question, with the period a game market's question leaves out (from its sportsMarketType: "… (1st half)"), a count other than points, goals or runs ("… (sets)"), and, outside a game, an option's title where the question is its group's ("Major League Soccer Champion — Vancouver Whitecaps FC"). Every Polymarket US surface uses this title.

status*string

Normalized lifecycle status: open takes orders, closed has stopped trading without a final result, and settled has the venue's published result. Only an open market can report pricing.availability: live. Mapping per platform: Kalshi active → open · determined or amended with the result on the record (yes, no or scalar), and finalized → settled · initialized, inactive, closed and disputed → closed (a challenged result is not settled). Polymarket closed with resolution status resolved (UMA's on a CTF market, resolutionStatus on a Polymarket Protocol V2 market) → settled · any other closed market (a resolution proposal pending, or a pre-2023 market with no UMA status) → closed · otherwise open. Predict status=RESOLVED → settled · tradingStatus=OPEN → open · otherwise closed. SX Bet: a reported result (reportedDate, a void included) → settled · otherwise ACTIVE → open · otherwise closed; SX Bet leaves some settled markets ACTIVE, so its status alone never decides settlement. Hyperliquid: an outcome listed in its question's settledNamedOutcomes → settled · otherwise open. AlphaArcade isResolved → settled · otherwise open. ProphetX active → open · otherwise closed; ProphetX serves only upcoming and live events, so a ProphetX market never reads settled — once its game is over the market id answers 404. Limitless FUNDED / FUNDED_FLAGGED → open · RESOLVED → settled · LOCKED, DRAFT and anything else → closed. Pred active → open · resolved / redeemed → settled · anything else → closed. Polymarket US MARKET_STATUS_RESOLVED → settled (its result is published, even on the few markets still flagged open) · MARKET_STATUS_OPEN while active and not closed → open · anything else, MARKET_STATUS_CLOSED included, → closed. Unknown upstream values map to closed.

Value in"open""closed""settled"
outcomes*array<>

Outcomes with per-outcome quotes, in the venue's order.

A two-sided market lists both sides, and outcomes[0] is the platform's primary/headline outcome: Kalshi Yes, Polymarket's first outcome token, Predict indexSet=1, SX Bet outcomeOne, Hyperliquid's first sideSpec, ProphetX's first selection, Polymarket US's long (YES) side, and Yes on AlphaArcade, Limitless and Pred. Render outcomes[0].price as the headline probability; do NOT search for an outcome named "Yes" (names are free-text on Predict, SX Bet, Hyperliquid, ProphetX and Polymarket US).

A market that groups several options lists one outcome per option: an AlphaArcade multi-choice market, a Limitless group, and a Pred parent. Each outcome is that option's YES, and its outcome_id is the option's own composite market id, which this endpoint resolves. A group has no headline outcome, and it can list dozens of outcomes (21 on AlphaArcade's 2028 presidential market), so never assume two.

Items1 <= items
pricing*

Market-wide quote metadata for the pricing tier. Always present on the response; availability tells the truth about what the tier could hydrate instead of leaving consumers to guess from nulls.

Bounding quote freshness. as_of is the provider's own stamp and means something different on each platform, so read as_of_kind before applying an age bound to it — only as_of_kind: quote tracks the quote closely enough to bound at all, and how tight that bound can be still varies by venue. observed_at is PredictorSDK's own read time and means the same thing on every provider, so it is the field to bound when you need one threshold that behaves identically across platforms.

trading_fees*

The trading fee the PREDICTION MARKET charges on a trade in this market — the venue's own published parameters, normalized. This has nothing to do with PredictorSDK's subscription pricing.

Always present on the response. Every published model across the ten platforms is a per-share fee times the traded share count, and only the price term differs, so taker.model plus its parameters expresses each venue exactly rather than approximating any of them — except Limitless, whose taker curve is published as table rows with no closed form: its descriptor reports partial with a null taker leg instead of inventing a number. (A Limitless market with fees disabled reports published with both legs zero — an asserted free, never an unknown. A Pred market whose record omits fee_rate_bps reports partial for the same reason: the venue's own integration note says absent fee configuration must be confirmed, not assumed fee-free.) Compute the fee yourself:

fee = shares × f(price), then apply rounding, where f is

  • quadratic: rate × (price × (1 − price)) ^ exponent
  • min_price: rate × min(price, 1 − price)
  • notional: rate × price
  • none: 0

The effective rate on notional — what you actually compare across venues — is f(price) / price. For quadratic at exponent: 1 that reduces to rate × (1 − price), which is why no single basis-point figure can express any of these venues: at rate: 0.07 the effective cost runs from 693 bps at a price of 0.01 down to 7 bps at 0.99.

availability and the legs are on separate axes on purpose: availability says what is KNOWN, the legs say what is CHARGED. A fee-free market is availability: published with model: "none" and rate: 0 — an asserted zero, distinguishable from unpublished (the venue publishes nothing) and from account_specific (rates exist but are per-account).

OUT OF SCOPE and therefore not modeled as fields, though each is real and moves the number: rebates (Polymarket's maker-rebate and taker-rebate programs, Polymarket US's maker- and taker-rebate tiers), per-account discounts (Predict's 10% invite discount), volume/staking tiers and the market deployer's own fee, its deployerFeeScale (Hyperliquid), and third-party pass-through (Kalshi FCM customers, Polymarket builder fees). The parameters here are the venue's PUBLISHED base for this market; a specific account may pay less.

liquidity_usd*|

Resting order-book depth valued in USD — strictly CLOB book depth, never an AMM pool size or a synthetic score. Polymarket exposes it natively (liquidityNum); null for Kalshi (its upstream liquidity_dollars is deprecated and always zero), Predict (stats is null on the record), and SX Bet/Hyperliquid/Polymarket US (no scalar without summing the raw order book).

volume_24h_usd*|

Trailing-24h traded volume in USD notional. Null where the platform doesn't denominate volume in USD — notably Kalshi (contracts; see volume_24h_contracts) — or doesn't expose a volume aggregate at all (SX Bet, Hyperliquid, Predict's record, Polymarket US).

volume_total_usd*|

Lifetime traded volume in USD notional. Same per-platform availability as volume_24h_usd, except Polymarket US, whose order book publishes its lifetime notionalTraded (null on a settled market, whose book is not read). Never fabricated by converting contract counts through a price.

volume_24h_contracts?number

Trailing-24h traded volume in contracts (Kalshi volume_24h_fp; fractional contracts supported). Omitted for platforms that denominate volume in USD.

volume_total_contracts?number

Lifetime traded volume in contracts (Kalshi volume_fp, Polymarket US's book sharesTraded). Omitted where the platform publishes no contract count.

open_interest?number

Total outstanding contracts (Kalshi open_interest_fp, Polymarket US's book openInterest). Contracts, not USD — a positioning gauge kept separate from liquidity_usd (depth). Omitted where the platform doesn't expose market-level open interest.

Example Request
curl -X GET 'https://api.predictorsdk.com/v1/markets/kalshi:KXNBA-27-SAS'
Example Response
{  "id": "kalshi:KXNBA-27-SAS",  "provider": "kalshi",  "provider_id": "KXNBA-27-SAS",  "title": "Will San Antonio win the 2027 Pro Basketball Finals?",  "status": "open",  "outcomes": [    {      "name": "Yes",      "outcome_id": "yes",      "price": 0.235,      "bid": 0.23,      "ask": 0.24,      "last": 0.23,      "bid_size": 21414.84,      "ask_size": 133432.35    },    {      "name": "No",      "outcome_id": "no",      "price": 0.765,      "bid": 0.76,      "ask": 0.77,      "last": 0.77    }  ],  "pricing": {    "availability": "live",    "scale": "probability_0_1",    "source": "market_record",    "as_of": "2026-07-24T16:41:17.536752Z",    "as_of_kind": "record_static",    "observed_at": "2026-08-21T03:41:07.000Z"  },  "trading_fees": {    "availability": "published",    "observed_at": "2026-08-21T03:41:07.000Z",    "source": "series_record",    "charge_basis": "fill",    "taker": {      "model": "quadratic",      "rate": 0.07,      "exponent": 1,      "rounding": {        "direction": "up",        "increment": 0.0001      }    },    "maker": {      "model": "quadratic",      "rate": 0.0175,      "exponent": 1,      "rounding": {        "direction": "up",        "increment": 0.0001      }    }  },  "liquidity_usd": null,  "volume_24h_usd": null,  "volume_total_usd": null,  "volume_24h_contracts": 1049.81,  "volume_total_contracts": 629558.2,  "open_interest": 436690.85}