GuidesResources
API changelog
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 describes the current contract.
Change history
Section titled “Change history”2026-11-08: Soccer draw legs pair through the cluster question fallback
Section titled “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)
Section titled “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
Section titled “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)
Section titled “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
Section titled “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)
Section titled “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)
Section titled “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
Section titled “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
Section titled “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
Section titled “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.
2026-10-19: Closed market-cluster views
Section titled “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.
2026-10-19: Market list controls and event parent volume
Section titled “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
Section titled “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 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
Section titled “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
Section titled “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
Section titled “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
Section titled “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
Section titled “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
Section titled “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.
2026-10-13: Parent event title and slug on market records
Section titled “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
Section titled “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 for
your own book freshness policy.
2026-10-11: Close-bound echoes
Section titled “2026-10-11: Close-bound echoes”fetchMarkets,fetchEvents, and their Paginated aliases add optional string fieldsmeta.closeAfterandmeta.closeBefore, besidemeta.asOfandmeta.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_IGNOREDwith status0, 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
Section titled “2026-10-10: Billing invoice handling”- For subscriptions Predictefy does not track that are not guest purchases, Stripe webhook handling
returns
200forinvoice.payment_failedonly 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.paidevent whosebilling_reasonissubscription_createorsubscription_cyclenow returns retryable503 PLATFORM_UNAVAILABLEwhen stored checkout evidence identifies the purchase or any invoice line has an unreadable price. Other billing reasons are still recorded and answered200first. Previously, with a nonempty list containing no Predictefy plan price, it could record either case as a foreign product and return200.invoice.payment_failedkeeps its retryable503in both cases. For those billing reasons, missing or incomplete price evidence also keeps invoices Predictefy does not track retryable. - Stripe webhook
customer.subscription.createdandcustomer.subscription.updatedevents, andclaimGuestCheckout, 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
Section titled “2026-10-10: Overlay observation ordering”- Served overlay prices and
asOfno 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.priceChange1mthroughpriceChange30d. Catalog fallback can still make the servedasOfolder than that input;priceChangeAsOfremains the calculation time. See Data freshness.
2026-10-10: Cancelled and postponed sports fixtures
Section titled “2026-10-10: Cancelled and postponed sports fixtures”- Cancelled and postponed fixtures stay listed without prices: screen rows keep their
statuswithmarket: null, fixture detail returnsmarkets: [], and compare returnsdata: []. 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
pss2instead ofpss1so previously cached priced responses revalidate. Returning toscheduledallows retained prices again under normal freshness rules. See Sports for the corresponding fixture-stream behavior.
2026-10-09: MCP event pagination
Section titled “2026-10-09: MCP event pagination”- MCP only.
get_eventsacceptscursor. Walks on it and onget_catalog_metadatawithkind=eventscontinue from the prior page.
2026-10-09: SDK account snapshots
Section titled “2026-10-09: SDK account snapshots”- SDK only. Opinion and Predict.fun account snapshots read public wallet addresses through the
hosted API and
ownerdata locally. Predict.fun account-ID validation is updated.
2026-10-09: SDK and MCP changes
Section titled “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_usagetool, with updatedget_accountdescriptions and event response shaping.
2026-10-09: Overlay inputs for price changes
Section titled “2026-10-09: Overlay inputs for price changes”MarketOutcome.priceChange1mthroughpriceChange30dnow 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
nullmakes 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.novigandpredictstreethave 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.
priceChangeAsOfstill 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,5mand15m, the reference can still be newer than the current input, so the sign can oppose recent movement. - The record’s
asOfcan 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 for the input and timestamp rules.
2026-10-08: SX Bet book observation times
Section titled “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=newestorders 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 for the current observation time rules.
2026-10-07: Overlay price basis
Section titled “2026-10-07: Overlay price basis”- Market responses using the price overlay now receive available
MarketOutcome.priceBasisvalues from venues beyond Kalshi. XO updates distinguishmidfromlast-trade; SX Bet trade updates label the traded sidelast-tradeand the other sidecomplement. - A null overlay
priceremoves the storedpriceBasisand setspriceUnavailable: 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
Section titled “2026-10-07: Match quality on served pairs”- Every served matched pair carries required
matchQuality. This changesEventMatchResult,IndicativeDiscrepancy,MatchResult,MatchedMarketPair,PriceComparison,HedgeCandidate,MatchedMarketClusterEdgeandMatchedEventClusterEdge. MatchQualityrequires exactlyverdict,judgedAt,confidence,differenceKindsandvetoes. It reports stored judgments, checked for model identity, evidence and freshness. It is not live verification; judgments do not transfer to whole clusters.verdictisjudged_equivalent,likely_equivalent,judged_not_equivalent,insufficient_evidence,not_judgedorunavailable. Insufficient evidence takes precedence over polarity differences.judged_equivalentrequires equivalence, high confidence, sufficient evidence, available rules, no polarity difference and close dates at most 21 days apart. Lower confidence or missing rules can yieldlikely_equivalent, but a vetoed pair cannot. Negative judgments, polarity differences or a close-date veto yieldjudged_not_equivalent; those pairs remain visible.judgedAtis the recorded date-time;confidenceis the judge’shigh,mediumorlowconfidence, separate from similarity.differenceKindscontains de-duplicated judge findings in first-seen order:event_identity,resolution_authority,cancellation_handling,deadline_handling,successor_handling,polarityorother.vetoescontainsclose_dateswhen 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_judgedmeans no judgment passed the trust checks; event pairs always use it. Label failures returnunavailable, preserving the page without causing a 503, for example a labeling timeout or a temporary labeling backlog. Bothnot_judgedandunavailablehave nulljudgedAtandconfidence, with empty findings and vetoes.fetchMarketMatches,fetchMatchedMarkets,compareMarketPrices,fetchHedges,fetchMatchedMarketClustersandlistDiscrepanciesreturnmeta.matchQualityTruncated: truewhen more than 1,000 pairs need labels. This includes the legacy matched-pair aliases and stored or live discrepancy lists. Cluster pages countrawMatchesacross the page. Pairs beyond the cap receiveunavailable; data and pagination remain intact. The marker is absent otherwise.
2026-10-06: Kalshi price-change guard
Section titled “2026-10-06: Kalshi price-change guard”- Kalshi
MarketOutcome.priceChange1mthroughpriceChange30dreturn 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
Section titled “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.
priceBasisidentifieslast-trade,midorcomplementalongside 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
priceChange30dcan stay null until about 2026-11-07 01:05 UTC.
2026-10-05: Close-date filters, volume and timestamps
Section titled “2026-10-05: Close-date filters, volume and timestamps”fetchMarkets,fetchEventsand their paginated aliases accept exclusivecloseAfterandcloseBeforebounds onresolutionDate, compared at millisecond precision. Markets without a close date are excluded. Equal bounds return200with an empty result; reversed or invalid bounds return400 VALIDATION_ERROR. Events filter member markets before grouping, so membership, aggregates, sorting, counts and pagination all use the filtered members.fetchMarketandfetchSeriesreject either bound with400 VALIDATION_ERRORbefore query parsing.- Bounds accept integer epoch milliseconds,
YYYY-MM-DDat UTC midnight, or an RFC 3339 date-time. Numeric values allow an optional minus; non-negative integers below100000000000are rejected as likely seconds or compact dates. Date-times requireT/t,HH:MMandZ/zor a+HH:MM/-HH:MMoffset. 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 return400 VALIDATION_ERROR. Encode a positive offset’s+as%2B; a raw+decodes to a space and is rejected. UnifiedMarketandUnifiedEventrequire nullablevolume24hUsd,volume24hUnit,volume24hAsOfandpriceChangeAsOf. Nativevolume24hstays 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.volume24hUnitisusd,usdc,contractsor 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
volume24hUnitis the members’ common unit, or null for mixed, unsupported or conflicting units. volume24hAsOfuses the venue snapshot fetch time, or derived volume’s recordedasOfwithwindowEndas 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.priceChangeAsOfis 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,fetchMatchedMarketsand their legacy aliases join repeatedpairVenuesvalues and validate every entry against served, non-sandbox venues. Invalid entries return400 VALIDATION_ERRORnaming them and listing available venues, before the two-distinct-venues check or lookup refusal. Accepted filters appear inmeta.pairVenues, trimmed and de-duplicated in request order, including on empty pages.- Their expanded
400descriptions cover non-router exchanges, unsupportedrelation/relations, invalidsort,minSimilarity/minConfidence,updatedSinceandlimit/offset/page. Price-pair routes also validateminDifference; ambiguous lookup slugs returnVALIDATION_ERROR.urlreturnsNOT_SUPPORTED;includePricesaccepts only omission orfalse.withOrderbook,withOrderBook,requireOrderbookandrequireOrderBookaccept omission,falseor0; other supplied values returnNOT_SUPPORTED.
2026-10-05: Polymarket markets without end dates
Section titled “2026-10-05: Polymarket markets without end dates”- Polymarket markets without a valid Gamma end date return
resolutionDate: nullinstead of the fetch time. While it is null,closeAfterandcloseBeforeexclude the market andsort=closeDateplaces 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 nullresolutionDateindefinitely. - 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
Section titled “2026-10-05: Quiet-market price-change fallback”MarketOutcome.priceChange6handpriceChange24hprefer 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 sourcewrite-forwardafter 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
Section titled “2026-10-05: Category matching and event search”fetchMarkets,fetchEventsand their paginated aliases letcategory=match the standard category slug when taxonomy filtering is available. Raw category labels continue to match.- Semantic and hybrid
fetchMarketssearch, 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
fetchEventsrequests, including the paginated alias, reject broad category slugs matching more than 5,000 markets with400 VALIDATION_ERROR. This includesstatus=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,excludeCategoriesandexcludeTagskeys merge all values, sharing each parameter’s 50-item limit. Cursor matching uses the merged lists, so equivalent repeated keys and comma lists match. Acategorycursor cannot cross a change between raw and canonical matching. fetchEventsandfetchEventsPaginatedaccept onlysearchMode=lexical, the default. Semantic or hybrid search returns400 NOT_SUPPORTEDwith afetchMarketshint; unknown modes return400 VALIDATION_ERROR.
2026-10-05: Matched-pair venue filter
Section titled “2026-10-05: Matched-pair venue filter”fetchMarketMatches,fetchMatchedMarketsand their legacy aliases accept browse-onlypairVenues. Both legs must belong to the listed venues; fewer than two distinct venues returns400 VALIDATION_ERROR. Combining it withmarketIdorsluglookup returnsNOT_SUPPORTED.venue/venuesbrowse filters require either leg to match; combining them withpairVenuesapplies 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=priceDifferencecontinues to rank by the whole cluster spread. fetchEventMatchesrejectsvenue,venuesandpairVenueswith400 NOT_SUPPORTEDinstead of ignoring them.
2026-10-03: Resolved market images
Section titled “2026-10-03: Resolved market images”UnifiedMarketand expandedDiscrepancyLegMarketresponse types require nullableimageResolvedandimageSource. Both are null until a traceable image is stored; hand-built objects must add both keys. DisplayimageResolved ?? image ?? eventImagewhere those fields exist.ImageSourcedefinesvenue,series,event,league,team,siblingandcategory.venuemeans the original artwork;leaguemeans competition artwork;teamprefers the home team’s logo, then the away team’s.siblinguses the newest venue artwork from another venue in the same cluster; clients may hide it.categoryis a hosted category placeholder.seriesandeventare reserved.imageSourceis null exactly whenimageResolvedis null.MarketOutcome.imageis optional venue artwork stored as a parsed HTTPS URL and omitted when absent.UnifiedSeries.imagedocuments stored venue series artwork, including Kalshi, and is omitted when unavailable.
Deprecated, still served
Section titled “Deprecated, still served”The contract marks these compatibility surfaces as deprecated. No removal date is published.
fetchMatchesremains an exact alias offetchMarketMatches; usefetchMarketMatchesin new code.fetchMatchedPricesremains an exact alias offetchMatchedMarkets; usefetchMatchedMarketsin new code.- The Data Feeds
feedquery parameter remains an alias forsymbolonfeedFetchOracleRoundandfeedFetchOracleHistory. Usesymbolfor the oracle pair. - The
X-API-Keyheader remains a compatibility transport. PreferAuthorization: Bearer; Bearer wins when both headers are present. - Rain’s
RainApproveBuildRequest.spenderandmarketContractAddressremain compatibility echoes. When supplied, each must equal the catalog-resolved pool.