Skip to main content
PredictStreet runs two market families, both resolved through the same oracle pipeline but with different on-chain settlement adapters.

Binary markets

YES / NO on a single question. Settled through CTFExchange against ConditionalTokens.

Neg-risk markets

2 or more mutually exclusive outcomes. Settled through NegRiskAdapter
  • NegRiskCtfExchange.
Binary markets come in several verticals (sports, politics, crypto, …). Crypto markets are ordinary binary markets that carry two extra payload blocks describing the price rule they settle against:

Crypto markets

Price and market-data questions on BTC, ETH and other crypto instruments — the crypto rule block, the product catalog, and the underlying-price curve endpoint.

Up/Down windows

Short-dated Up / Down markets on a recurring window grid — the cryptoWindow block and series navigation.

Lifecycle

Trading can be halted along the way (PAUSED, SUSPENDED, POSTPONED), and a market can be VOIDED from any status up to DISPUTED. See Market status for the full state machine.

Listing markets

The endpoint uses offset pagination: Increment offset by limit for each page. The response carries hasMore — true while a further page exists — but no total or nextOffset. A PRE_MARKET market is listed only until its close time (closesAt): once that has passed without the market opening, it is left out here, and GET /api/markets/{slug}, the reverse lookups and the symbol sub-resources answer 404 for it (/{symbol}/live answers live: null; RND-4971). With sort=activity or sort=shares on the default list, closed=true or status=OPEN, the order is recomputed about every 15 seconds, and pages read within that interval are usually cut from the same ordering, so a quick walk rarely repeats a market. A row’s tradeCount / totalShares can be a few seconds newer than its position. On any walk, a market that changes status between two pages drops out and moves the later rows up by one, so the row after it can be missed: de-duplicate by symbol.
Response:
Crypto markets carry two additional blocks on the same shape — crypto (the machine-readable price rule) and cryptoWindow (Up/Down window facts). Both are null on every non-crypto market, so a client that ignores them is unaffected. See Crypto markets.

Polymarket-equivalent fields

Reference prices and liquidity class

Every market row (GET /api/markets, GET /api/markets/{slug}, the reverse lookups and the markets[] of GET /api/events) also carries a labelled reference price per outcome and a liquidity class (RND-1835): For the price a given size would actually get against the visible book, use GET /api/markets/{symbol}/executable-price.

Market types

marketType is the canonical bet type of a market — a closed enum, or null. It is the same value on GET /api/markets, on the markets[] embedded in GET /api/events, and on GET /api/me/positions. Three rules before you branch on it:
  • null is normal, not an error. Manual and legacy markets — including some older crypto Up/Down windows — carry no type. Treat null as “uncategorised”. To detect a crypto market, branch on the crypto block being non-null, never on marketType — see Crypto markets.
  • The set grows. New sports and bet types are added over time. Map unknown values to a generic “other” bucket rather than rejecting the market.
  • It is display and categorisation only. Settlement reads the provider criteria independently, so the type never changes how a market resolves.
The values, grouped by what they describe — the full set the API returns today: A market’s moneyline reuses the generic outcome type regardless of sport: a baseball, boxing or American-football winner market is MATCH_WINNER, not a sport-prefixed value. Only the sport-specific lines and props carry a prefix.

On-chain identifiers and execution fields

Minimum order size: Market DTOs do not carry a minOrderSize field. The platform-wide minimum order notional is 1 USDC (orders below 1 USDC are rejected with order_too_small).
A neg-risk group is a set of sibling markets, each a YES/NO market on one outcome of the group. Each sibling carries its own yesTokenId / noTokenId once deployed, and the same ids appear in outcomes[] (outcomeIndex 0 = YES, 1 = NO). See Neg-risk markets. See Events overview for how markets group under events and how to filter the public catalog.

Individual market detail

Keyed by slug (since 2026-05-16) — the root market lookup takes the canonical slug. The list response above carries a slug field (canonical, URL-safe, derived from the parent event + title); pass that value here. A market symbol is still accepted as a fallback when no market has that slug, but the slug is the canonical key.Reverse lookups and sub-resources:
  • GET /api/markets/by-token/{id} — reverse lookup by outcome token id.
  • GET /api/markets/by-condition/{id} — reverse lookup by CTF conditionId.
  • GET /api/markets/lookup is not a valid endpoint.
  • Sub-resource paths (/orderbook, /trades, /price-history, etc.) resolve by symbol.
Same shape as the list item above, plus resolutionHistory (the ordered on-chain resolution record: proposals, challenges, final, void). For the event metadata around the market (teamA, teamB, competition, tags, scheduledAt), call GET /api/events/{slug} with the event slug from the parent grouping (see Events overview).

Market sub-resources

Sub-resource endpoints are keyed by market symbol:
  • Orderbook snapshot:
    Returns aggregated book depth and a drift-detection hash. See Orderbook.
  • Indicative executable price for a size:
    Walks the visible book for one outcome and returns the quantity that can fill now, its total cost and average price, and the levels used. See Orderbook → Executable price for a size.
  • Public trade feed:
    Returns public fills in reverse-chronological order (sort=time, default) with before / after ISO-8601 cursors (a date, or a time with Z or an offset; anything else is 400 invalid_timestamp), or ranked by trade notional (sort=volume). limit accepts 1 to 200 (default 50).
  • Market probability price history:
    Returns time-series probability marks (the implied chance) across fixed presets (live, 1h, 1d, 1w, 1m, all) or custom ISO-8601 from/to bounds (a date, or a time with Z or an offset; anything else is 400 invalid_timestamp). GET /api/markets/{symbol}/ohlc takes from / to the same way.
  • Underlying crypto reference price:
    Crypto markets only. Returns the reference price curve of the underlying digital asset. See Crypto markets.
  • Trader leaderboards:
    Ranks traders on this market by volume, profit, or shares. Market makers’ wallets are never listed. Pass excludeMarketMakers=true (or 1, yes, on) to also leave out bots, deleted/restricted accounts, and unregistered wallets; for signed-in users with a Bearer token, also excludes accounts on either side of blocks with Cache-Control: private, no-store. Without the flag, a deleted account, an account that is closed, blocked or suspended from login, and a wallet without a vault keep their row but show as unregistered: username, vaultAddress and avatarUrl are null.
  • Live score and clock:
    Returns the latest live clock and score frame for in-play fixture markets. live is null when the fixture is not in play, and for a symbol that is not a public market (unknown, hidden from the public, or not yet open to the public); GET /api/markets/live?symbols= answers such symbols with null too.