> ## Documentation index
> Fetch the complete documentation index at: https://docs.predictefy.com/llms.txt
> Use it to discover every available page before exploring further.

# API changelog

> Dated changes to public REST API parameters, response shapes and behavior.

This page records dated changes to the public REST API and the official SDKs and MCP server:
request parameters, response shapes and behavior. Entries are newest first, and each date is the
UTC release date. The [API reference](/api/) describes the current contract.

## Change history

### 2026-11-08: Soccer draw legs pair through the cluster question fallback

Soccer clusters whose anchor title fails the question-shape check now use the first qualifying
member title, in canonical-id order, as their question. The anchor and membership stay unchanged.
If no member title qualifies, the anchor title remains. This can admit soccer draw-leg clusters
anchored by titles such as "Tie is the result" to matched pairs. Existing eligible clusters remain
eligible, and every sports pair still passes the sports serving check.

### 2026-11-08: Myriad joins the soccer launch (16 venues)

The `soccer` row of `GET /v1/sports/launches` lists 16 venues (`venueCount` 16): `gemini`,
`hyperliquid`, `kalshi`, `limitless`, `myriad`, `novig`, `opinion`, `pascal`, `polymarket`,
`polymarket_us`, `pred`, `predictfun`, `predictstreet`, `rain`, `sxbet` and `xo`. Myriad's
`venueJoins[].joinedAt` is `2026-11-08T09:45:00.000Z`. Myriad price cells read
`launchStatus: launched`. The record's `launchedAt` (`2026-11-05T12:00:00Z`), `snapshotAt`
(`2026-11-01T11:49:58Z`), `servedPairs` (20,506) and `disclosureVersion` (`3`) are unchanged.
Every other sport stays `preview`.

### 2026-11-08: Season outrights pair across venues

Season outright markets with keys, such as league winners, now pair across venues. Soccer coverage
includes Kalshi, Polymarket US and Myriad. This matching applies platform-wide, so qualifying
American football, basketball and ice hockey outrights pair too; those sports stay `preview`.
These season outright keys have no fixture, so `admission=proven` excludes their pairs.

### 2026-11-08: Opinion joins the soccer launch (15 venues)

The `soccer` row of `GET /v1/sports/launches` now lists 15 venues (`venueCount` 15): `gemini`,
`hyperliquid`, `kalshi`, `limitless`, `novig`, `opinion`, `pascal`, `polymarket`, `polymarket_us`,
`pred`, `predictfun`, `predictstreet`, `rain`, `sxbet` and `xo`. Opinion's
`venueJoins[].joinedAt` is `2026-11-08T07:30:00.000Z`. Opinion price cells read
`launchStatus: launched`; Opinion pairs appear where book-mid pricing is available for its market
data. The record's `launchedAt` (`2026-11-05T12:00:00Z`), `snapshotAt` (`2026-11-01T11:49:58Z`),
`servedPairs` (20,506) and `disclosureVersion` (`3`) are unchanged. Every other sport stays
`preview`.

### 2026-11-07: Per-venue launch join dates

Launch records on `GET /v1/sports/launches` add `venueJoins`, an array of `{ venue, joinedAt }`
entries in `venues` order. `joinedAt` is the UTC time the venue joined the launch. It equals
`launchedAt` for the original venues and is never earlier. xo is the documented exception:
`2026-11-07T00:32:38Z` is when its launch finished. Rain joined at `2026-11-07T18:00:00Z`. The
TypeScript and Python SDKs make `venueJoins` optional for older servers and export
`SportsLaunchVenueJoin`.

### 2026-11-07: Rain joins the soccer launch (14 venues)

The `soccer` row of `GET /v1/sports/launches` now lists 14 venues (`venueCount` 14): `gemini`,
`hyperliquid`, `kalshi`, `limitless`, `novig`, `pascal`, `polymarket`, `polymarket_us`, `pred`,
`predictfun`, `predictstreet`, `rain`, `sxbet` and `xo`. The record's `launchedAt`
(`2026-11-05T12:00:00Z`), `snapshotAt` (`2026-11-01T11:49:58Z`) and `servedPairs` (20,506) are
unchanged. Price cells at `rain` read `launchStatus: launched`; every other sport stays `preview`.
Rain lists one soccer fixture at launch.

### 2026-11-07: xo joins the soccer launch (13 venues)

The `soccer` row of `GET /v1/sports/launches` now lists 13 venues (`venueCount` 13): `gemini`,
`hyperliquid`, `kalshi`, `limitless`, `novig`, `pascal`, `polymarket`, `polymarket_us`, `pred`,
`predictfun`, `predictstreet`, `sxbet` and `xo`. The record's `launchedAt` (`2026-11-05T12:00:00Z`),
`snapshotAt` (`2026-11-01T11:49:58Z`) and `servedPairs` (20,506) are unchanged. Price cells at
`xo` read `launchStatus: launched`; every other sport stays `preview`.

### 2026-11-05: Soccer launch across 12 venues

The `soccer` row of `GET /v1/sports/launches` carries `launchStatus: launched` and a record
covering 12 venues: `gemini`, `hyperliquid`, `kalshi`, `limitless`, `novig`, `pascal`, `polymarket`,
`polymarket_us`, `pred`, `predictfun`, `predictstreet` and `sxbet`. At the 2026-11-01 snapshot
(`snapshotAt` `2026-11-01T11:49:58Z`) the launch served 20,506 soccer pairs (`servedPairs`), and
the audit found 0 wrong pairs. Every other sport stays `preview` with a null record. Price cells at
these 12 venues read `launchStatus: launched`; cells at any other venue stay `preview`.

### 2026-10-30: Sports launch records carry coverage facts

The `record` on `GET /v1/sports/launches` now carries the sport's coverage facts: `launchedAt`,
`snapshotAt`, `venues` (sorted venue slugs), `venueCount`, `servedPairs` and `disclosureVersion`.
The soccer `settlementDisclosure`, its matrix and the per-venue-pair settlement notes keep their
meaning. A sport that has not launched has a null `record`.

### 2026-10-19: Market-cluster volume and creation time

`fetchMatchedMarketClusters` accepts `sort=volume`, ordering by the stored USD sum of the legs'
24-hour volume, descending, with null sums last and `clusterId` ascending for ties. A sum is null
when any leg lacks a complete USD figure. Open, closed, and combined views use this order before
paging; the stored sum is not recomputed from current market records.

Each market cluster carries `volume24hUsd`, a number or null, and `createdAt`, an ISO date-time
or null. `createdAt` records the first time the cluster was computed and stays stable across
recomputes and revivals. It is null only for clusters archived before the field existed; those
clusters age out of the 30-day archive. `fetchMatchedEventClusters` is unchanged. See
[filtering clusters](/guides/cross-venue/#filtering-clusters).

### 2026-10-19: Closed market-cluster views

`fetchMatchedMarketClusters` accepts `status=open|closed|all`, defaulting to the current open set.
Closed multi-venue clusters stay available for 30 days. Each cluster carries `status`; only closed
clusters carry `closedAt`. Archived legs use current market records. `status=all` sorts and pages
the union, with `page.total` equal to open plus closed; `sort=newest` uses `closedAt` for closed
clusters. `marketId` and `slug` lookups and `includeRawMatches` remain open-only. `relation` and
`relations` apply to open clusters only. With `status=closed` they are ignored; with `status=all`
they narrow open rows only. Closed rows match `updatedSince` on their archived update time.
`fetchMatchedEventClusters` is unchanged. See
[filtering clusters](/guides/cross-venue/#filtering-clusters).

### 2026-10-19: Market list controls and event parent volume

`fetchMarkets` and `fetchMarketsPaginated` accept `undated`, `ids`, and `updatedAfter`, and
`sort=updatedAt`. `undated` is `exclude` (default), `include`, or `only`; `only` rejects
`closeAfter` and `closeBefore`. `ids` is one comma-separated list of up to 80 venue-prefixed
market ids with a form style and no exploded items; results keep the requested order and
`meta.count` reports the returned match count. `updatedAfter` is an exclusive lower bound on the
record update time and needs an ISO timestamp with seconds, a timezone, and at most six fractional
digits. `sort=updatedAt` orders by update time ascending, then market ID ascending, and requires
lexical search. Market records add `updatedAt`, the update time as an RFC 3339 date-time.

`fetchEvents` and `fetchEventsPaginated` add `venueVolume24h`, the venue-stated parent 24-hour
volume in native venue units, or `null` without a validated stored fact. It never replaces the
filtered member sum in `volume24h`. Category totals add the synthetic `uncategorised` slug, which
counts markets with no matching canonical category, including null and off-vocabulary values. The
slug is filterable with `category`, `categories`, and `excludeCategories`.

### 2026-10-18: Event lists ranked by summed volume

`fetchEvents` and `fetchEventsPaginated` with `sort=volume` rank events by the sum of known native
`volume24h` values from filtered members, before paging and independently of `marketsLimit`. The
default direction stays descending. Previously, event order followed the first member in market
order. See [event volume order](/guides/events-series/#event-volume-order) for unknown values and
ties.

A volume cursor minted before this change returns `400 VALIDATION_ERROR`. An in-progress volume
walk must restart once from the first page without a cursor. Cursors for other sorts are unchanged.

### 2026-10-18: Search synonyms

Lexical market, event, and series searches also search known alternatives when the whole query
matches.

`super bowl` also searches `pro football`; the reverse query has no alias. Aliases match only whole
queries and never rewrite substrings. Expansion keeps the original first and includes at most four
branches. Filters apply to every branch; lexical results are deduplicated in catalog order.
Hybrid's lexical candidates and lexical fallback expand too. Semantic embeddings use the original
text.

A market, event, or series search cursor with a nonempty query, minted before this change, is
refused with `400 VALIDATION_ERROR`. The existing message is `cursor does not match request`,
because the cursor now accounts for the synonym list. A search walk in progress must restart from
the first page.

### 2026-10-18: Per-event market cap on event lists

`fetchEvents` and `fetchEventsPaginated` return at most 20 child markets per event by default.
Before this change, event lists returned every matching member. Set `marketsLimit` from 1 to 100
to choose the cap. Event records add the required fields `marketCount` and `marketsTruncated`.
`marketCount` counts all matching members. `marketsTruncated` is `true` when some were left out.

An event-list cursor minted before this change is rejected with `400 VALIDATION_ERROR` because the
cursor scope changed. Restart an in-progress walk from the first page without a cursor. Keep
`marketsLimit` unchanged while paging the new walk.

Page the remaining markets with venue-scoped `fetchMarkets?eventId=...` and the same filters.
`fetchEvent` and `fetchSeries` stay complete.

### 2026-10-18: Trader Intelligence trade-list history windows

Wallet and market trade lists follow the plan's history window: 7 days on Free, 12 calendar months
on Builder, unlimited from Pro. Older trades are omitted, pagination ends at the cutoff, and
`meta.clampedToPlanWindow` reports whether the page was clamped. A stored cursor behind the cutoff
returns `403 PLAN_REQUIRED`. Smart money, the leaderboards, wallet profiles and market holders stay
outside the window.

### 2026-10-18: Venue creation dates on markets and events

Market and event records add required `createdAt`, an RFC 3339 instant normalized to UTC with
millisecond precision, or `null`. Polymarket is the first venue with stored creation dates; other
venues return `null` until a validated date is stored. A real event uses the single distinct valid
parent creation instant among matched members. Missing member dates do not veto known parent
evidence; conflicting instants yield `null`. A singleton event uses its market's date. Observation,
update, start, and close times never substitute for creation time. Event membership, sort order,
and cursor behavior do not change.

### 2026-10-17: Unknown legacy leg observation times

`fetchArbitrage` returns `asOf: null` for each unknown legacy leg observation. This applies to
published pages, retained cursor pages, stake responses, and computed fallback pages. Known leg
timestamps, row `asOf`, and `assessedAt` stay unchanged. Unknown timestamps stay null until a newer
observation replaces them. Older servers and stream frames can omit these fields, so SDK leg
timestamps remain optional and nullable.

### 2026-10-13: Plan allowances and feature access

Prices do not change. Builder includes 250,000 credits a month (was 500,000) and Pro 2,000,000 (was
5,000,000); annual billing still grants twelve months up-front. Enterprise is 5,000,000+ credits a
month at a custom price. The arbitrage feed (`fetchArbitrage` and the arbitrage stream channel), the
price-gap feed (the `/v1/discrepancies` family: stored and live rows, history and per-cluster
qualification) and `/v1/history/replay` now start at Pro: a Free or Builder key receives
`403 PLAN_REQUIRED`, or a `PLAN_UPGRADE_REQUIRED` frame on the stream, naming Pro as the minimum
plan. Cross-venue matching stays open on every plan: `fetchMatchedMarkets`, `fetchMatchedPrices`,
`compareMarketPrices` and `/v1/clusters` still return each matched pair's stored indicative price
difference and can sort and filter by it. On Free, bulk requests now return `403 PLAN_REQUIRED`
(bulk starts at Builder). Commercial use is an Enterprise term only.

The plan's history window (7 days on Free, 12 months on Builder, unlimited from Pro) now governs
these routes, which refuse a request behind the cutoff with `403 PLAN_REQUIRED` as `fetchOHLCV`
already did: `fetchTrades` (`start`, `end`), `fetchOrderBook` with `at` or `since` and `until`,
`/v1/history/books/events` (`since`, `until`) and `/v1/sports/fixtures/{fixtureId}/history` (`from`,
`to`; an omitted `from` starts at the later of `to` minus 7 days and the cutoff). `fetchOHLCV`,
`/v1/history/replay` and `fetchSparklines` already applied it; `fetchSparklines` is a bulk route
from Builder up, and it clamps to the window rather than refusing. No other route applies the
window; Trader Intelligence stays outside it. See
[Pricing, credits & billing](/guides/credits/#history-window).

### 2026-10-13: Parent event title and slug on market records

Every market record adds `eventTitle` and `eventSlug`: the parent event's own title and slug as the
venue states them. Both keys are always present and are `null` when Predictefy stores none; some
venues publish no event slug. They appear wherever a full market record is returned, including
event and series members, matches, related markets and matched clusters. Older servers omit them.
Read the event's name from `eventTitle` rather than splitting `title`, which can combine the event
and the question, and the slug from `eventSlug` rather than parsing `url`; `fetchEvent` accepts it
as `slug`. A Polymarket market whose event slug is unknown now carries the `url`
`https://polymarket.com` instead of a link ending in `/event/undefined`. Markets already in the
catalog pick up the new `url` when the catalog next refreshes them.

### 2026-10-12: Per-leg book freshness

`fetchArbitrage` adds `asOf`, `bookSource`, and `live` to both assessment legs, plus `assessedAt`
to each row. These additive fields distinguish each book's observation time, source, and
subscription liveness from Predictefy's assessment time.

Missing books have `asOf: null`; missing or unknown provenance has `bookSource: null`. `live`
reports Predictefy's judgement, not the venue's capability. `true` means the book was read from a
live subscription at assessment time. `false` means a direct venue read
(`bookSource: "venue-rest"`) or a near-real-time Predictefy snapshot accepted under the 60-second
rule (`bookSource: "predictefy-live"`). That snapshot case includes venues without liveness reporting,
such as Gemini, Opinion and SX Bet. When the book is missing or unavailable, `live` is `null`, and
so are `asOf` and `bookSource`. Older frames omit these keys. Consumers needing a venue read must
check `bookSource`, not `live`. `assessedAt` is never null when served.

Servers that predate this change omit `assessedAt` and the per-leg `asOf`, `bookSource` and `live`.
Published and streamed `assessedAt` and per-leg `asOf` refresh with the 30-second snapshot or a
material change to the row, like the row's `asOf`. The existing row `asOf` remains the earlier leg
time, or null when either book is missing. Gate each row's currency on its `assessedAt` on
published pages, computed fallback pages and streamed frames alike. A row without `assessedAt` has
unknown currency and must not be treated as fresh. On published and streamed rows, allow for at
least the 30-second snapshot interval before treating `assessedAt` as stale.

`meta.asOf` is the surface publish time, not a row clock; computed fallback pages omit it. A
published row keeps the `assessedAt` of the pass that priced it, which can be a minute or more
before `meta.asOf`. A leg's `live: true` means the book was judged live at `assessedAt`, not at
`meta.asOf`. Use the [per-leg freshness guidance](/guides/cross-venue/#executable-assessment) for
your own book freshness policy.

### 2026-10-11: Close-bound echoes

- `fetchMarkets`, `fetchEvents`, and their Paginated aliases add optional string fields
  `meta.closeAfter` and `meta.closeBefore`, beside `meta.asOf` and `meta.provenance`. Each field is
  echoed exactly when its matching query parameter was supplied and accepted. Its value is the
  parsed bound applied by the server, normalized to UTC ISO with millisecond precision. First,
  continuation, and empty pages follow this rule; equal bounds return an empty page with both
  echoes.
- The TypeScript and Python SDKs refuse bounded pages with missing or different requested echoes.
  They also refuse any page carrying an echo for an unsent bound, including unbounded requests and
  iterator pages. Both refusals use non-retryable `CLOSE_BOUNDS_IGNORED` with status `0`, naming
  the metadata field. Existing row checks remain active after echo validation.
- MCP and CLI inherit the TypeScript guard and do not expose the rejected page. Requests without
  bounds and without close-bound echoes remain compatible with older servers.

### 2026-10-10: Billing invoice handling

- For subscriptions Predictefy does not track that are not guest purchases, Stripe webhook handling
  returns `200` for `invoice.payment_failed` only when complete price evidence rules out Predictefy
  plan prices. This requires a nonempty list and no stored checkout evidence identifying a
  Predictefy purchase. It records the event without changing subscription status or granting
  credits.
- For those subscriptions, an `invoice.paid` event whose `billing_reason` is `subscription_create`
  or `subscription_cycle` now returns retryable `503 PLATFORM_UNAVAILABLE` when stored checkout
  evidence identifies the purchase or any invoice line has an unreadable price. Other billing
  reasons are still recorded and answered `200` first. Previously, with a nonempty list containing
  no Predictefy plan price, it could record either case as a foreign product and return `200`.
  `invoice.payment_failed` keeps its retryable `503` in both cases. For those billing reasons,
  missing or incomplete price evidence also keeps invoices Predictefy does not track retryable.
- Stripe webhook `customer.subscription.created` and `customer.subscription.updated` events, and
  `claimGuestCheckout`, can resolve a retired price to its replacement plan. Subscription creation
  still sells only active self-serve plans at their current price. The current plan supplies
  entitlements; the matched price determines the monthly or annual interval. Ownership checks
  still apply.

### 2026-10-10: Overlay observation ordering

- Served overlay prices and `asOf` no longer move backward when a full price refresh overwrites a
  newer live-catalog entry. Equal or older observations keep the stored entry. Invalid stored
  entries and timestamps more than one minute in the future can be replaced.
- Polymarket full and hot pages and Kalshi hot batches carry their own request-start time. Kalshi
  full pages now use request start instead of response completion, including retry waits.
- These observations also supply eligible current inputs for `MarketOutcome.priceChange1m` through
  `priceChange30d`. Catalog fallback can still make the served `asOf` older than that input;
  `priceChangeAsOf` remains the calculation time. See [Data freshness](/guides/data-freshness/).

### 2026-10-10: Cancelled and postponed sports fixtures

- Cancelled and postponed fixtures stay listed without prices: screen rows keep their `status` with
  `market: null`, fixture detail returns `markets: []`, and compare returns `data: []`. These
  statuses alone do not mark responses degraded.
- Cancelled and postponed fixtures do not contribute their time to REST `meta.asOf`. Screen
  responses use the oldest remaining served time, or the fixture index refresh time if none remain.
  Status-only detail and compare use the fixture index refresh time.
- Sports ETags use `pss2` instead of `pss1` so previously cached priced responses revalidate.
  Returning to `scheduled` allows retained prices again under normal freshness rules. See
  [Sports](/guides/sports/) for the corresponding fixture-stream behavior.

### 2026-10-09: MCP event pagination

- **MCP only.** `get_events` accepts `cursor`. Walks on it and on `get_catalog_metadata` with
  `kind=events` continue from the prior page.

### 2026-10-09: SDK account snapshots

- **SDK only.** Opinion and Predict.fun account snapshots read public wallet addresses through the
  hosted API and `owner` data locally. Predict.fun account-ID validation is updated.

### 2026-10-09: SDK and MCP changes

- **SDK and MCP only.** The SDK fixes Polymarket and Limitless account routing, and CLI account
  commands inherit the fix. MCP adds the `get_usage` tool, with updated `get_account` descriptions
  and event response shaping.

### 2026-10-09: Overlay inputs for price changes

- `MarketOutcome.priceChange1m` through `priceChange30d` now use a fresh overlay price as the
  current input when it passes the served record's freshness rule. The overlay must be newer than
  any known catalog observation and within the venue marker and row-age limits; otherwise the
  stored catalog price remains the current input.
- A matching `null` makes the outcome unpriced for the calculation. It is skipped unless tape
  enrichment supplies the current input. Unmatched outcomes keep the catalog price. SX Bet keeps
  the catalog input because the calculation ignores the stream's last-trade overlay. `novig` and
  `predictstreet` have no overlay coverage and use any available catalog price.
- The reference remains the newest eligible tick or candle at or before evaluation time minus the
  requested window. `priceChangeAsOf` still dates evaluation, not the price observations.
- An overlay row can be up to 30 minutes old by default when selected. Cached figures refresh no
  more often than every 10 minutes by default. For `1m`, `5m` and `15m`, the reference can still be
  newer than the current input, so the sign can oppose recent movement.
- The record's `asOf` can be older than the figures' current input when the overlay they used stops
  being served, or an earlier-timestamped entry replaces it, before recalculation.
- See [Data freshness](/guides/data-freshness/) for the input and timestamp rules.

### 2026-10-08: SX Bet book observation times

- SX Bet catalog records now carry each market's own `asOf`: the start of its order-book read, or
  the catalog walk start when no book was fetched. Booked rows move earlier by up to the length of
  the book refresh cycle compared with the previous shared timestamp.
- `sort=newest` orders SX Bet rows by book observation time. Within a catalog walk, main lines and
  soonest games sort after its other booked rows, ahead only of rows without a book.
- Cursor walks keep rows stamped at or before the first page's snapshot time, so a new SX Bet
  market whose book read preceded that time can appear mid-walk and repeat a row on a later page,
  under any sort.
- Live fills after a book read stay visible on the served record while the overlay remains
  eligible.
- See [Data freshness](/guides/data-freshness/) for the current observation time rules.

### 2026-10-07: Overlay price basis

- Market responses using the price overlay now receive available `MarketOutcome.priceBasis` values
  from venues beyond Kalshi. XO updates distinguish `mid` from `last-trade`; SX Bet trade updates
  label the traded side `last-trade` and the other side `complement`.
- A null overlay `price` removes the stored `priceBasis` and sets `priceUnavailable: true`. A
  non-null price replaces the stored basis when the overlay supplies a recognized basis. Missing
  bases are not invented.

### 2026-10-07: Match quality on served pairs

- Every served matched pair carries required `matchQuality`. This changes `EventMatchResult`,
  `IndicativeDiscrepancy`, `MatchResult`, `MatchedMarketPair`, `PriceComparison`, `HedgeCandidate`,
  `MatchedMarketClusterEdge` and `MatchedEventClusterEdge`.
- `MatchQuality` requires exactly `verdict`, `judgedAt`, `confidence`, `differenceKinds` and
  `vetoes`. It reports stored judgments, checked for model identity, evidence and freshness. It is
  not live verification; judgments do not transfer to whole clusters.
- `verdict` is `judged_equivalent`, `likely_equivalent`, `judged_not_equivalent`,
  `insufficient_evidence`, `not_judged` or `unavailable`. Insufficient evidence takes precedence
  over polarity differences. `judged_equivalent` requires equivalence, high confidence, sufficient
  evidence, available rules, no polarity difference and close dates at most 21 days apart. Lower
  confidence or missing rules can yield `likely_equivalent`, but a vetoed pair cannot. Negative
  judgments, polarity differences or a close-date veto yield `judged_not_equivalent`; those pairs
  remain visible.
- `judgedAt` is the recorded date-time; `confidence` is the judge's `high`, `medium` or `low`
  confidence, separate from similarity. `differenceKinds` contains de-duplicated judge findings in
  first-seen order: `event_identity`, `resolution_authority`, `cancellation_handling`,
  `deadline_handling`, `successor_handling`, `polarity` or `other`. `vetoes` contains
  `close_dates` when Predictefy vetoes equivalent markets more than 21 days apart, otherwise it is
  empty. A veto preserves the judge's confidence and findings. More veto kinds may be added later.
- `not_judged` means no judgment passed the trust checks; event pairs always use it. Label failures
  return `unavailable`, preserving the page without causing a 503, for example a labeling timeout
  or a temporary labeling backlog. Both `not_judged` and `unavailable` have null `judgedAt` and
  `confidence`, with empty findings and vetoes.
- `fetchMarketMatches`, `fetchMatchedMarkets`, `compareMarketPrices`, `fetchHedges`,
  `fetchMatchedMarketClusters` and `listDiscrepancies` return `meta.matchQualityTruncated: true`
  when more than 1,000 pairs need labels. This includes the legacy matched-pair aliases and stored
  or live discrepancy lists. Cluster pages count `rawMatches` across the page. Pairs beyond the
  cap receive `unavailable`; data and pagination remain intact. The marker is absent otherwise.

### 2026-10-06: Kalshi price-change guard

- Kalshi `MarketOutcome.priceChange1m` through `priceChange30d` return null when a recorded
  pricing-policy change separates the reference from evaluation, or Predictefy cannot establish
  that the prices are comparable. The guard also checks cached changes when serving them. Null
  never means zero; other venues are unaffected.

### 2026-10-06: Kalshi order-book pricing

- Kalshi order-book pricing uses a valid two-sided book to determine YES and NO outcome prices.
  YES uses the last trade when it lies inside the spread, otherwise the midpoint; NO is its
  complement. `priceBasis` identifies `last-trade`, `mid` or `complement` alongside the price.
- Both quotes must be positive and at most one, with bid no greater than ask and positive size on
  both sides. Missing or invalid books retain the previous pricing policy. Price overlays accept an
  explicit recognized basis with a non-null price.
- The Kalshi price-change guard returns null for price changes whose reference price predates this
  pricing change. A reference can sit up to 24 hours before the 30-day boundary, so a sparse
  market's `priceChange30d` can stay null until about 2026-11-07 01:05 UTC.

### 2026-10-05: Close-date filters, volume and timestamps

- `fetchMarkets`, `fetchEvents` and their paginated aliases accept exclusive `closeAfter` and
  `closeBefore` bounds on `resolutionDate`, compared at millisecond precision. Markets without a
  close date are excluded. Equal bounds return `200` with an empty result; reversed or invalid
  bounds return `400 VALIDATION_ERROR`. Events filter member markets before grouping, so
  membership, aggregates, sorting, counts and pagination all use the filtered members.
  `fetchMarket` and `fetchSeries` reject either bound with `400 VALIDATION_ERROR` before query
  parsing.
- Bounds accept integer epoch milliseconds, `YYYY-MM-DD` at UTC midnight, or an RFC 3339 date-time.
  Numeric values allow an optional minus; non-negative integers below `100000000000` are rejected
  as likely seconds or compact dates. Date-times require `T`/`t`, `HH:MM` and `Z`/`z` or a
  `+HH:MM`/`-HH:MM` offset. Seconds are optional and may carry one to nine fractional digits,
  truncated to milliseconds. Invalid calendar/clock values, other formats and UTC years outside
  0001 to 9999 return `400 VALIDATION_ERROR`. Encode a positive offset's `+` as `%2B`; a raw `+`
  decodes to a space and is rejected.
- `UnifiedMarket` and `UnifiedEvent` require nullable `volume24hUsd`, `volume24hUnit`,
  `volume24hAsOf` and `priceChangeAsOf`. Native `volume24h` stays unchanged. Market dollar volume
  uses finite USD or USDC volume at par, without currency conversion. Contracts, other or unknown
  units, missing/non-finite values and stored units conflicting with the venue's declared unit
  produce null dollar volume. `volume24hUnit` is `usd`, `usdc`, `contracts` or null; unsupported or
  conflicting units produce null.
- Event dollar volume requires non-null values for every member and a finite sum; otherwise it is
  null. Event `volume24hUnit` is the members' common unit, or null for mixed, unsupported or
  conflicting units.
- `volume24hAsOf` uses the venue snapshot fetch time, or derived volume's recorded `asOf` with
  `windowEnd` as fallback. An event uses the oldest timestamp among members contributing finite
  native volume; no contributors or any unknown contributing timestamp makes it null. Derived
  volume and its timestamps can lag until the next full catalog refresh. These times do not
  describe record updates, response time or live quotes.
- `priceChangeAsOf` is the oldest evaluation time among enriched outcomes; an event uses the oldest
  non-null member time. Failed refreshes retain the previous evaluation time. No enrichment, or a
  request served from the stored catalog without price changes, yields null. Batch completion and
  live quote times do not replace it.
- `fetchMarketMatches`, `fetchMatchedMarkets` and their legacy aliases join repeated `pairVenues`
  values and validate every entry against served, non-sandbox venues. Invalid entries return
  `400 VALIDATION_ERROR` naming them and listing available venues, before the two-distinct-venues
  check or lookup refusal. Accepted filters appear in `meta.pairVenues`, trimmed and de-duplicated
  in request order, including on empty pages.
- Their expanded `400` descriptions cover non-router exchanges, unsupported `relation`/`relations`,
  invalid `sort`, `minSimilarity`/`minConfidence`, `updatedSince` and `limit`/`offset`/`page`.
  Price-pair routes also validate `minDifference`; ambiguous lookup slugs return
  `VALIDATION_ERROR`. `url` returns `NOT_SUPPORTED`; `includePrices` accepts only omission or
  `false`. `withOrderbook`, `withOrderBook`, `requireOrderbook` and `requireOrderBook` accept
  omission, `false` or `0`; other supplied values return `NOT_SUPPORTED`.

### 2026-10-05: Polymarket markets without end dates

- Polymarket markets without a valid Gamma end date return `resolutionDate: null` instead of the
  fetch time. While it is null, `closeAfter` and `closeBefore` exclude the market and
  `sort=closeDate` places it last. Predictefy fills the date only when its check of recently closed
  markets finds a venue-proven winner; older closed markets and split resolutions may never get
  one, so a closed market can keep a null `resolutionDate` indefinitely.
- A market's next fresh catalog refresh replaces an invented stored close date with null. A market
  corrected to null can stay outside the close-date filters and sort last while its close date
  remains null. Markets the venue no longer lists can keep a fetch-time date until a later
  correction reaches them.

### 2026-10-05: Quiet-market price-change fallback

- `MarketOutcome.priceChange6h` and `priceChange24h` prefer a one-minute candle, then an hourly
  candle, within four hours before the reference boundary. Otherwise they try the newest close
  within 12 hours before that boundary. The same outcome's first one-minute candle with source
  `write-forward` after the boundary must match that close, occur by evaluation time, and be within
  12 hours of the older reference. On enriched outcomes both fields remain present; no eligible
  reference means null, never zero.

### 2026-10-05: Category matching and event search

- `fetchMarkets`, `fetchEvents` and their paginated aliases let `category=` match the standard
  category slug when taxonomy filtering is available. Raw category labels continue to match.
- Semantic and hybrid `fetchMarkets` search, including the paginated alias and lexical fallback
  when vector search is unavailable, exclude Kalshi multi-leg parlays (`kalshi:KXMVE*`). Ordinary
  lexical search and listings retain them.
- Stored-catalog `fetchEvents` requests, including the paginated alias, reject broad category slugs
  matching more than 5,000 markets with `400 VALIDATION_ERROR`. This includes `status=all`,
  `closed`, `resolved`, or requests while the catalog snapshot warms. Narrow the request by status
  or venue.
- When taxonomy filtering is available, repeated `categories`, `tags`, `excludeCategories` and
  `excludeTags` keys merge all values, sharing each parameter's 50-item limit. Cursor matching uses
  the merged lists, so equivalent repeated keys and comma lists match. A `category` cursor cannot
  cross a change between raw and canonical matching.
- `fetchEvents` and `fetchEventsPaginated` accept only `searchMode=lexical`, the default. Semantic
  or hybrid search returns `400 NOT_SUPPORTED` with a `fetchMarkets` hint; unknown modes return
  `400 VALIDATION_ERROR`.

### 2026-10-05: Matched-pair venue filter

- `fetchMarketMatches`, `fetchMatchedMarkets` and their legacy aliases accept browse-only
  `pairVenues`. Both legs must belong to the listed venues; fewer than two distinct venues returns
  `400 VALIDATION_ERROR`. Combining it with `marketId` or `slug` lookup returns `NOT_SUPPORTED`.
- `venue`/`venues` browse filters require either leg to match; combining them with `pairVenues`
  applies both conditions. Identity lookup filters the related market; relation lookup accepts
  either the anchor or related market on a listed venue.
- Identity totals count clusters with at least two servable listed legs; relation totals count
  qualifying edges. A missing overlay price can still remove a leg from price-pair results.
  `sort=priceDifference` continues to rank by the whole cluster spread.
- `fetchEventMatches` rejects `venue`, `venues` and `pairVenues` with `400 NOT_SUPPORTED` instead
  of ignoring them.

### 2026-10-03: Resolved market images

- `UnifiedMarket` and expanded `DiscrepancyLegMarket` response types require nullable
  `imageResolved` and `imageSource`. Both are null until a traceable image is stored; hand-built
  objects must add both keys. Display `imageResolved ?? image ?? eventImage` where those fields
  exist.
- `ImageSource` defines `venue`, `series`, `event`, `league`, `team`, `sibling` and `category`.
  `venue` means the original artwork; `league` means competition artwork; `team` prefers the home
  team's logo, then the away team's. `sibling` uses the newest venue artwork from another venue in
  the same cluster; clients may hide it. `category` is a hosted category placeholder. `series` and
  `event` are reserved. `imageSource` is null exactly when `imageResolved` is null.
- `MarketOutcome.image` is optional venue artwork stored as a parsed HTTPS URL and omitted when
  absent. `UnifiedSeries.image` documents stored venue series artwork, including Kalshi, and is
  omitted when unavailable.

## Deprecated, still served

The contract marks these compatibility surfaces as deprecated. No removal date is published.

- `fetchMatches` remains an exact alias of `fetchMarketMatches`; use `fetchMarketMatches` in new code.
- `fetchMatchedPrices` remains an exact alias of `fetchMatchedMarkets`; use `fetchMatchedMarkets` in new code.
- The Data Feeds `feed` query parameter remains an alias for `symbol` on `feedFetchOracleRound` and
  `feedFetchOracleHistory`. Use `symbol` for the oracle pair.
- The `X-API-Key` header remains a compatibility transport. Prefer `Authorization: Bearer`; Bearer wins
  when both headers are present.
- Rain's `RainApproveBuildRequest.spender` and `marketContractAddress` remain compatibility echoes.
  When supplied, each must equal the catalog-resolved pool.
