OverviewCore concepts
Capability-honest data
Every UnifiedMarket record carries three fields that describe the data rather than the market.
They exist because a normalized interface over 16 served venues can either hide the differences
between them or state them, and hiding them produces integrations that are quietly wrong.
{ "marketId": "…", "title": "…", "asOf": "2026-07-03T09:15:00.000Z", "provenance": { "source": "overlay" }, "capabilities": { "read": true, "trade": false, "depth": true, "history": false }}The guarantee is specific to market records. UnifiedSeries omits these fields. OrderBook makes
asOf and provenance optional and has no capabilities. PriceCandle instead exposes source,
sourceType, quality, and isTrueCandle.
createdAt: when the venue created it
Section titled “createdAt: when the venue created it”Market and event records always include createdAt, an RFC 3339 instant normalized to UTC
with millisecond precision, or null. It is the venue’s creation time, never an observation,
database write, start, close, or first-sighting clock.
Polymarket supplies the first ingested creation facts. null means no validated stored value;
for a real event, conflicting parent creation instants also produce null.
A missing date remains unknown rather than borrowing another clock.
Read Events & series for parent evidence and singleton rules.
asOf — when this was true
Section titled “asOf — when this was true”On a market record, asOf is the moment the data was captured, not the moment you asked. Other
response families can expose it optionally. When present, it distinguishes a snapshot taken
seconds ago from one taken minutes ago.
Use it rather than your own clock when displaying freshness. A timestamp you generate on receipt describes your request, not the data.
Read Data freshness for field units, refresh schedules, and metric-specific timestamps.
provenance — where it came from
Section titled “provenance — where it came from”On market records, provenance.source records how the value was obtained. The closed API vocabulary
is venue-rest, predictefy-live, fixture, overlay, archive, predictefy-store, glide,
and lifi; individual response schemas narrow the values they can emit. Live catalog reads
currently report overlay on both the market record and response meta.
This matters when values disagree. Two reads of the same market with different asOf and
different provenance are not a contradiction; they are two different observations, and
provenance tells you which pipeline produced each.
capabilities — what this venue actually supports
Section titled “capabilities — what this venue actually supports”On market records, capabilities is a per-venue map: read, trade, depth, history. It is
the field to branch on before assuming a verb will work.
The flags are conservative by design. history: false means history support has not
been proven for that venue, not that no data could ever exist. trade: false on a catalog
record does not mean trading is impossible — public execution availability is documented
separately per venue in Trading & execution.
For the full per-verb picture, read the venue’s has map or the
coverage matrix.
has.buildOrder and has.submitOrder report implemented isolated-server integrations; use
/v1/exec/venues for the services enabled on the API you are calling.
Display labels are derived presentation
Section titled “Display labels are derived presentation”Every outcome carries label and displayLabel. label is the venue’s own text, unchanged.
displayLabel is the label to show. When Predictefy holds a trusted canonical name for the
outcome, for example a team in a matched sports fixture, the label is derived from that name.
Otherwise the venue’s own label is cleaned for display, so a hash or a long identifier is never
shown. displayShortLabel adds a compact team code for dense layouts, and is present only when
a trusted code exists.
These fields are presentation only. They never change title, eventTitle, label, prices or
any other venue fact. If the catalog and the venue disagree, the API keeps the venue text.
NOT_SUPPORTED is an answer
Section titled “NOT_SUPPORTED is an answer”When a venue genuinely does not expose something — no public trades tape, no per-address
order list — the API returns NOT_SUPPORTED rather than an empty array.
This distinction is the point:
- An empty array means the query ran and found nothing. A market with no trades today returns an empty tape.
NOT_SUPPORTEDmeans the query cannot run here. The venue has no tape at all.
Collapsing the two loses real information. An integration that treats NOT_SUPPORTED as
“no results” will report “no recent trades” for a venue that has never published a single
one, which is a different and more misleading statement.
Handle it explicitly:
try { const trades = await client.gemini.fetchTrades(marketId); render(trades); // may legitimately be empty} catch (err) { if (err instanceof NotSupportedError) { renderUnavailable('This venue does not publish a public trades tape.'); } else { throw err; }}Null fields that are by design
Section titled “Null fields that are by design”A null can mean the venue publishes no value, rather than a failed read. These cases are
expected:
| Field | Where | Why it is null | Read instead |
|---|---|---|---|
volume24h | Opinion categorical child markets, such as one leg of a soccer 1X2 market | The child has no independent volume. Copying the parent total to every leg would multiply it. | The parent event’s venueVolume24h. |
volume24h, volume24hUnit | XO, every market | XO publishes no volume metric. | The order book. |
volume24h | Polymarket US, every market | The venue does not publish volume. | Nothing. Keep the null. |
volume24hUnit, volume24hUsd | Novig, every market | Novig denominates volume in CASH, which is outside the public unit vocabulary of usd, usdc and contracts. | The native value, when present, is in CASH. |
price with priceUnavailable: true | An Opinion outcome that has not traded | With no trade, the venue states no price. | The order book for a quote. |
resolutionDate | Polymarket US sports markets | The venue’s settlement deadline (endDate), about 14 days after the game. It is not the kickoff. | The venue’s own listing. The market record carries no kickoff field. |
The unit rule is general: a venue unit outside usd, usdc and contracts produces
volume24hUnit: null and volume24hUsd: null. Never estimate a game time by subtracting a
fixed number of days from resolutionDate.
A past close date is not a closed market
Section titled “A past close date is not a closed market”closeDatePassed is true when a market is still open and its stored close date
(resolutionDate) is earlier than the response time, and false otherwise, including when no
close date is stored. A past close date does not mean the market stopped trading: some venues keep
trading until resolution, so read status to decide whether a market is open rather than hiding a
market on its close date alone.
Synthetic books
Section titled “Synthetic books”A venue without an order book — an automated market maker, or a pari-mutuel pool — still returns a book-shaped response so that one integration works everywhere. That response is labelled synthetic.
A synthetic book is a faithful representation of price. It is not executable depth, and must never be presented as orders a user could fill against, or fed into a sizing calculation as though it were. Venue coverage records which venues have a real book.
The same discipline applies to cross-venue output
Section titled “The same discipline applies to cross-venue output”Price differences between venues are reported as indicative price discrepancies —
observed gaps, not opportunities. Only fetchArbitrage performs a live executable
assessment, against live asks, open status, real depth, the fee model, and
resolution-equivalence. See Cross-venue data.
The rule underneath all of this is the same: the API states what it knows and how well it knows it, and expects the integration to preserve that rather than flatten it.