Prediction-market data documentation
Review response shapes, field definitions, authentication boundaries and source limits for Predict Here's research data interfaces.
On this page
Sandbox quickstart
Create a Developer Sandbox key in Account, then use it as a Bearer token with the sandbox index, which returns fixed test data. Browser sessions and production keys are refused on this route.
curl -sS https://predicthere.com/api/intel/v1/sandbox \
-H "Authorization: Bearer phik_test_your_key"The index returns only fixed test resources, including discoverable event identifiers and endpoint paths. It never grants real venue data; use the data dictionary and changelog to interpret the response contract and changes.
{
"data": {
"environment": "sandbox",
"endpoints": [
{
"method": "GET",
"path": "/api/intel/v1/sandbox",
"description": "This index."
}
],
"events": []
},
"sourceStatus": "STALE"
}Common responses
- 401: the key is missing, inactive, the wrong environment, or lacks sandbox:read. The response deliberately does not reveal which.
- 404: an event identifier or slug is not in the fixed test data set.
- 404: the Developer Sandbox is unavailable while the Monitor platform is disabled.
Delivery modes
Monitor and authenticated organization session routes are implemented. The public Demo needs no account: the Data and API view in its Trading desks workspace offers public, settled and archived datasets as JSON or CSV. Live venue prices are display only and are never offered as files. Institutional bulk historical exports remain planned. The separate Developer Sandbox returns fixed test data; organization routes require a signed-in organization session and current source rights.
- Workstation (Monitor)
- AvailablePredict Here Monitor — the event workstation, in the browser.
- Authenticated application APIs
- AvailableCanonical Monitor routes use a signed-in organization session and current source rights. Developer Sandbox keys connect to the separate sandbox, which returns fixed test data.
- Bulk institutional historical exports
- PlannedPlanned bulk history for research and backtesting. The Demo's public, settled and archived datasets are available now as JSON or CSV.
Response envelope
Canonical Monitor and production API responses use the provenance envelope documented here, and the Developer Sandbox follows its documented response contract. The dedicated Polymarket US workspace endpoint has its own DTO; retained US records can also appear through shared canonical Monitor routes when all source, rights and rollout gates allow.
| Field | Type | Meaning |
|---|---|---|
| data | T — the requested DTO | The requested figure or record itself. |
| asOf | string (ISO 8601) | When this response was assembled. |
| sourceStatus | enum — LIVE | DEGRADED | DELAYED | STALE | The overall quality state behind this response — LIVE, DEGRADED, DELAYED, or STALE. |
| sources | ProvenanceSource[] — source, sourceAsOf, entitlementMode, qualityFlags | Each contributing venue, with its own as-of time and entitlement mode. |
| mappingVersion | string | null | Which semantic-verification mapping snapshot, if any, a PH Composite figure was computed under. null when the reference plane has not cut a version yet. |
| methodologyVersion | string | null | Which signal and consensus methodology produced the figure — the value stamped in the sample above. Not the execution and liquidity algorithm's identifier, which travels separately as algorithmVersion on a price-at-size ladder. |
{
"data": {
"id": "<UUID: canonical event ID>",
"slug": "<string: canonical event slug>",
"title": "<string: canonical event title>",
"status": "<EventStatus enum>",
"primary": {
"probabilityMicro": "<string: integer micro-units>",
"source": "<SourceId enum>",
"asOf": "<string: ISO 8601 timestamp>",
"quality": "<QualityState enum>"
}
},
"asOf": "<string: ISO 8601 timestamp>",
"sourceStatus": "<EnvelopeSourceStatus enum>",
"sources": [
{
"source": "<SourceId enum>",
"sourceAsOf": "<string: ISO 8601 timestamp>",
"entitlementMode": "<EntitlementMode enum>",
"qualityFlags": "<number: quality flags>"
}
],
"mappingVersion": "<string | null>",
"methodologyVersion": "<string: methodology version>"
}Data dictionary
Field-level reference for the DTOs behind the response envelope's data — the identifiers, prices, and execution figures an event, quote, or capacity response is actually built from. A field appears here only if it exists in a shipped response type today; every bigint field (anything ending in Micro, plus a few others) is serialized as a decimal integer string at the API boundary, never a raw number, so JSON never has to represent a value Postgres stores as an exact integer.
Field-level reference for the DTOs the envelope's data carries
Identity
| Field | Type | Description | Example |
|---|---|---|---|
| id · canonicalEventId | string (uuid) | The canonical event's identifier. A top-level event response names it id; every response that references the same event by relation — movers, signals, distributions, capacity — names it canonicalEventId instead. Same value, two field names. Always present, never a venue-native id. | <canonical-event-uuid> |
| slug | string | Stable, human-readable identifier for an event, used to build canonical URLs. Assigned by the reference plane, not copied from any single venue. | <canonical-event-slug> |
| contractId | string | One venue's own contract identifier as surfaced through the reference plane — the mapped reference-plane outcome id once a contract has been reviewed into the ontology, or the venue's raw external outcome/token id before that review happens. Two venues covering the same real-world event carry two different contractId values. | <native-contract-id> |
| source · venue | enum — "POLYMARKET" | "KALSHI" | "POLYMARKET_US" | The source identity for a retained contract, quote or book observation: POLYMARKET, POLYMARKET_US or KALSHI. Shared canonical routes can return entitled retained US/Kalshi records with this source ID and provenance. The dedicated US on-demand workspace uses a separate DTO. Production US/Kalshi collection is enabled; source and organization rights remain independently checked. | "POLYMARKET" |
| status | enum (two vocabularies share this name) | An event-level response's status is the canonical event lifecycle — active, closed, resolved, or archived. A contract-level response's status instead describes that one venue contract — active or inactive. Both are always present, never null. | "active" |
| rulesHash | string | null | Hash of a venue contract's rules text, captured whenever the collector observes it. There is no separate incrementing rule-version number on the wire — a new rulesHash value is what signals that a contract's rules changed. null when no rules document has been observed for that contract yet. | "a1c9e4de..." |
Quality and provenance
| Field | Type | Description | Example |
|---|---|---|---|
| quality | enum — LIVE | DEGRADED | DELAYED | STALE | INVALID | NOT_ENTITLED | The technical quality enum behind one quote, book, or series point. Read the record's exact value with its source and observation timestamps; no single value promises that a source is currently updating. DELAYED is schema vocabulary, not a Public Demo status badge or a claim of continuous freshness. | "DELAYED" |
| sourceTime | ISO 8601 string | null | The venue's own timestamp for an observation. null when the venue doesn't supply one — never backfilled from receivedTime. | "2026-08-29T14:03:11.000Z" |
| receivedTime | ISO 8601 string | When this server observed the quote or book. Always present, unlike sourceTime. | "2026-08-29T14:03:12.418Z" |
| entitlementMode | enum — NOT_PERMITTED | PUBLIC_NONCOMMERCIAL | PUBLIC_ALLOWED | PH_LICENSED | BYO_CUSTOMER_LICENSE | INTERNAL_RESEARCH_ONLY | The data-licensing mode governing one source's contribution to a response. NOT_PERMITTED is the default for a newly created organization — access is granted per source explicitly, never assumed. | "BYO_CUSTOMER_LICENSE" |
| mappingVersion | string | null | Which semantic-verification mapping snapshot, if any, a cross-venue figure was computed under. Append-only — a new version is cut whenever a relationship reaches or leaves VERIFIED — so re-running a historical figure against its own mappingVersion reproduces the same result even after later mapping changes. null when the reference plane hasn't cut a version yet. | "2026-08-28T12:00Z#1" |
Pricing
| Field | Type | Description | Example |
|---|---|---|---|
| probabilityMicro | integer string (wire) — bigint internally; micro-probability, 1,000,000 = 100% | Market-implied probability from a single source — the primary displayed number for an event, or a mover's own probability. Every Micro-suffixed field in this data plane follows the same convention: computed and persisted as an exact integer, never a floating-point number. | "635000" (63.5%) |
| bestBidMicro | integer string (wire) — bigint | null; micro-probability | Best bid price on a contract's book. null means no bid was observed — never 0, which would misrepresent an empty book as a certain no-bid price. | "620000" |
| bestAskMicro | integer string (wire) — bigint | null; micro-probability | Best ask price on a contract's book. Same null-vs-zero rule as bestBidMicro. | "640000" |
| midMicro | integer string (wire) — bigint | null; micro-probability | Midpoint of bestBidMicro and bestAskMicro. null whenever either side of the book is missing — never computed from one side alone. | "630000" |
| spreadMicro | integer string (wire) — bigint | null; micro-probability points | bestAskMicro minus bestBidMicro. null under the same missing-side condition as midMicro. | "20000" (2.0pp) |
Semantics
| Field | Type | Description | Example |
|---|---|---|---|
| relationships[].status | enum — SUGGESTED | REVIEW_REQUIRED | VERIFIED | REJECTED | RETIRED | Review-workflow state of one cross-venue or same-event relationship. Only a VERIFIED relationship backs a PH Composite figure or a MECE-verified distribution; anything unreviewed or rejected contributes nothing to either. This is a distinct vocabulary from the four-state semantic-equivalence display (VERIFIED/PARTIAL/NOT_EQUIVALENT/UNREVIEWED, described under Semantic verification on the methodology page) — SUGGESTED and REVIEW_REQUIRED both display as UNREVIEWED or PARTIAL depending on stage, and REJECTED/RETIRED both display as NOT_EQUIVALENT. | "VERIFIED" |
| relationships[].type | enum — 7 recognized schema values. The 4 currently implemented analytic relationship types are EXACT_COMPLEMENT, MUTUALLY_EXCLUSIVE, EXHAUSTIVE_SET and CROSS_VENUE_EQUIVALENT. NESTED_SUBSET, CONDITIONAL and CORRELATED_ONLY remain schema vocabulary without current analytic credit. | What kind of relationship a row asserts between two or more outcomes — for example a same-market YES/NO complement pair, or two venues' contracts verified equivalent. An event can carry more than one relationship row at once; this field describes one row, not the event as a whole. | "EXACT_COMPLEMENT" |
Execution
| Field | Type | Description | Example |
|---|---|---|---|
| direction | enum — BUY_YES | SELL_YES | Which side of the visible book an execution quote was walked against. BUY_YES consumes asks and SELL_YES consumes bids, so the same size answers a different question in each direction and the two are never interchangeable. Every price, slippage and fill field below is stated for this direction only. | "SELL_YES" |
| requestedNotionalMicro | integer string (wire) — bigint; micro-USD, 1,000,000 = $1 | The notional size an execution quote was computed for. Always one of the standard ladder sizes — $10,000, $50,000, $100,000, $250,000, $500,000, $1,000,000 — never an arbitrary caller-supplied amount. | "10000000000" ($10,000) |
| fillable | boolean | Whether the visible book could fill requestedNotionalMicro in full. Check this first — filledNotionalMicro and the price fields below are still the honest partial detail when this is false, never a fabricated zero standing in for "unavailable." | false |
| filledNotionalMicro | integer string (wire) — bigint; micro-USD | How much of requestedNotionalMicro the visible book actually covers. Equal to requestedNotionalMicro when fillable is true; a smaller honest partial otherwise. | "7400000000" |
| vwapPriceMicro | integer string (wire) — bigint | null; micro-probability | Volume-weighted average fill price across every book level the walk consumed. Rounded conservatively for the caller — up for a buy, down for a sell — never in the direction that would flatter the displayed fill. null when nothing filled. | "641200" |
| worstPriceMicro | integer string (wire) — bigint | null; micro-probability | Price of the worst (last-touched) level the walk consumed — copied verbatim from that level, no rounding. null when nothing filled. | "655000" |
| slippageMicro | integer string (wire) — bigint | null; signed micro-probability points | vwapPriceMicro versus the contract's own reference price, signed so positive always means worse for the caller than the reference price. null whenever either input is missing — no fill, or no usable reference price for that book. | "3200" |
| algorithmVersion | string | Versioned identifier for the execution/capacity math that produced a quote ladder — independent of the envelope's own methodologyVersion, which covers signal/consensus scoring instead. Bumped whenever the walk's math, rounding rule, or band definition changes. | "intel-execution-r1@1" |
Execution & capacity sample
Capacity responses identify the native contract, direction, requested size, covered amount and calculation version. A partial result must retain its covered amount and shortfall; the schema example below does not represent an observed market or execution.
{
"canonicalEventId": "<string: canonical event ID>",
"algorithmVersion": "<string: algorithm version>",
"ladderNotionalsMicro": [
"<string: integer micro-unit notional>"
],
"contracts": [
{
"source": "<SourceId enum>",
"contractId": "<string: provider-native contract ID>",
"referencePriceMicro": "<string: integer micro-unit price>",
"bookAsOf": "<string: ISO 8601 timestamp>",
"quality": "<QualityState enum>",
"quotes": [
{
"direction": "<ExecutionDirection enum>",
"requestedNotionalMicro": "<string: integer micro-unit notional>",
"fillable": "<boolean>",
"filledNotionalMicro": "<string: integer micro-unit notional>",
"vwapPriceMicro": "<string: integer micro-unit price>",
"worstPriceMicro": "<string: integer micro-unit price>",
"slippageMicro": "<string: integer micro-unit delta>",
"levelsConsumed": "<number: level count>"
}
],
"capacity": {
"within1ppMicro": "<string: integer micro-unit value>",
"within2ppMicro": "<string: integer micro-unit value>",
"within5ppMicro": "<string: integer micro-unit value>"
}
}
]
}Scenario analysis file
The Broker workspace of the public Demo can set several strategies on the same typed states of the world and save the result as a JSON file. The file is written in the browser from what the preparer typed. No endpoint serves it, no account is needed and no production API key is issued for it.
| Field | Type | Meaning |
|---|---|---|
| engine | string | The version of the calculation, for example scenario-eval/1. The same inputs and version give the same result. |
| preparedAt | ISO 8601 time | When the file was written. |
| currency | string | Always USD in this version. |
| exposure | string or null | The exposure in words, as the workspace showed it. |
| note | string | What the figures are: the preparer's own inputs, and the client's result in each state, where a negative figure is a loss. |
| states | array | Each typed state: its name, weight in percent, the client's loss, what an existing hedge pays, and whether the event contract pays. |
| eventContract | object or null | The event contract's name, number of contracts, cost and source: the venue's book or a typed dealer quote. The cost is withheld when it comes from the venue's book. |
| yourInstrument | object or null | An instrument the preparer priced: its name and cost up front. |
| limit | string or null | The most the client would pay up front, if one was typed. |
| odds | object or null | The weight the preparer gave the states where the contract pays, beside the odds its price implies. |
| strategies | array | One entry per strategy: the client's result in each state, the worst result, the cost up front and two weighted results. A strategy with a price missing says so and carries no figure. |
| lossWithoutPayout | array | States where the client loses and the event contract does not pay. |
| payoutWithoutLoss | array | States where the event contract pays and the client has no loss. |
| inputsAsTyped | object | What the preparer typed, as typed: the states, a dealer quote, an instrument of their own and a limit. The page reads this to open the file again. Typed futures and option prices are not in it. |
A figure worked from a venue's live price is left out of the file and marked withheld, because live venue prices are display only. A figure worked from a dealer quote the preparer typed is carried. The file compares strategies on the same states; it ranks none and selects none.
Resources
The sandbox index above publishes its routes and request shapes for the sandbox response contract. Canonical Monitor, retained source catalog and event-consensus routes require a signed-in organization session and current source rights; a production API key or Developer Sandbox key does not authenticate them. Polymarket US also has a separate authenticated-session workspace endpoint and DTO, described below. US/Kalshi production collection is enabled; source and organization rights remain independently checked.
- Canonical events
- Venue contracts
- Quotes and books
- Relationships
- Execution and capacity
- Signals
- Alerts
- Watchlists
- Source health
- Retained source catalog (Polymarket US and Kalshi)
- Organization-scoped event consensus
Retained source catalog and event consensus
These read-only routes use the shared reference plane. The catalog is cursor-paginated by source and returns retained metadata with externalContractId, externalEventId, contentHash, capturedAt (local capture time), sourceAsOf (verified source time, or null) and effectiveAt. Metadata is limited by current organization rights. The event consensus route returns eligible or ineligible results with the reviewed relationshipId, mappingVersionId, proposition, outcomeKey, evaluatedAt, per-source observations and persistence ID.
GET /api/intel/v1/sources/catalog?source=POLYMARKET_US&limit=50
GET /api/intel/v1/sources/catalog?source=KALSHI&cursor={nextCursor}&limit=50
GET /api/intel/v1/events/{canonicalEventId}/consensusIn the consensus computation, eligible results include valueMicro, dispersionMicro, confidence and sources; ineligible results include reason and the excluded sources. Source records carry source, venueOutcomeId, status, optional reason, probabilityMicro and weight. Wire integers are decimal strings. Current consensus inputs use the shared maximum quote age of 10 minutes. A historical dispersion lookback does not extend current-input eligibility. Values depend on current source flags, organization rights, complete retained terms and reviewed mappings. These routes are not available through Developer Sandbox or production API-key authentication.
Auth, limits, versioning
Use a self-service Developer Sandbox key for integration tests against fixed test data. Canonical Monitor, source catalog, consensus and Polymarket US routes use authenticated organization sessions.
Every request passes one per-organization entitlement check before any venue data is assembled. A source your organization is not entitled to is refused outright — never silently returned as an empty or zero value.
Shared canonical responses and the dedicated Polymarket US workspace have their respective documented DTOs and provenance fields. Breaking changes to canonical methodology are announced on the methodology changelog. We publish no production-API rate-limit numbers: limits are agreed with each organization rather than advertised.
Current availability
These tables describe the published release profile. Current deployment flags, source permissions and organization rights are checked independently when a request is made.
Signal types
8 signal types are implemented. Whether one fires depends on source and data eligibility. A semantic divergence is reported as a mapping problem, never as a trading opportunity.
| Signal | Trigger | Status |
|---|---|---|
| Probability movePROBABILITY_MOVE | A contract's probability moves past the configured threshold inside a 5-minute, 1-hour or 24-hour window. | Available |
| Liquidity shockLIQUIDITY_SHOCK | Visible order-book depth at a ladder size drops sharply against its own recent level. | Available |
| Confidence changeCONFIDENCE_CHANGE | A quote's quality state changes — DELAYED to STALE, for example — so anything derived from it loses confidence. | Available |
| Rules changedRULES_CHANGED | A venue publishes a new rule version for a contract already mapped to a canonical event. | Available |
| Semantic divergenceSEMANTIC_DIVERGENCE | A relationship that was VERIFIED stops holding. Reported as a semantic mismatch, never as a trading opportunity. | Available |
| Source degradedSOURCE_DEGRADED | A source stops returning usable data, so the events that depend on it are marked instead of quietly aging. | Available |
| Market lifecycleMARKET_LIFECYCLE | A contract opens, closes, resolves or is delisted at a venue. | Available |
| Venue divergenceVENUE_DIVERGENCE | Two entitled sources price the same verified relationship differently. Requires a second entitled source. | Built; availability conditional |
Polymarket US read-only integration
Polymarket US is a separate source from international Polymarket. Eligible licensed captures can enter scheduled canonical Monitor workflows when source and workspace gates allow; the dedicated workspace also provides on-demand catalog, original contract descriptions with a SHA-256 digest, and binary YES books with venue source time shown separately from server observation time.
GET /api/intel/v1/sources/polymarket-us?offset=0&limit=20
GET /api/intel/v1/sources/polymarket-us?slug=example-marketThe route requires a signed-in session, enabled Monitor platform and US workspace, an allowed organization on an Enterprise plan or an evaluation of Enterprise, a viewer-or-higher organization role, applicable MFA requirements, and current independent POLYMARKET_US rights for the organization. International Polymarket rights do not grant US access. Public documentation describes implemented support; it does not mean the route is globally enabled or that any particular organization is permitted.
This authenticated session endpoint has a dedicated DTO for on-demand catalog and contract reads; the shared canonical pipeline also supports retained US catalog, quote, history, conformance and reviewed-comparison workflows when their independent source, payout-admission and rollout gates allow. US production collection is enabled; current fixed-payout review remains required for price eligibility. These routes do not provide trading or account access. New shared catalog and consensus routes require a signed-in organization session; Developer Sandbox keys do not authenticate them. Bulk historical export remains planned.
Getting access
A self-service Developer Sandbox key returns fixed test data. The public Demo needs no account and grants no organization API or source access; its Data and API view offers public, settled and archived datasets as JSON or CSV, and live venue prices there are display only. The canonical Monitor, source catalog and consensus routes documented here are authenticated session APIs; a Developer Sandbox key does not authenticate them, and production API-key transport is not available for these routes. Real source delivery also requires production rollout and current organization rights; bulk historical exports remain planned. Request access and we'll talk through the workflow you need.
Public Demo destinations
These links open the public Demo, which needs no account. It opens on a choice of three workspaces: Commercial clients, Brokers and Trading desks. Commercial clients start from what moves their business, or from a commodity exposure. Brokers prepare a client's hedging review. Trading desks read venue prices, rules and market records. Research, Contract Watch, Glossary and Data coverage are shared views. The Data and API view in Trading desks offers public, settled and archived datasets as JSON or CSV; live venue prices are display only. Market figures are labelled Observed, Public record or Derived. A price you type is marked “Your price” and is never shown as a market price. Exchange futures and options prices read “License pending”. No exchange price is shown.
Demo coverage and permitted downloads
The Data and API view in the Demo's Trading desks workspace offers public, settled and archived datasets as JSON or CSV downloads. Live venue prices are display only and are never offered as files. The shared Data coverage view shows what the Demo covers.

A download grants no API credentials, organization access or redistribution rights. Organization routes require a signed-in session and current source rights.
The separate keyed Developer Sandbox returns fixed test data under its own response contract. Authenticated organization APIs require organization sessions and current source rights.
Ready to integrate?
Talk to us and tell us about your delivery preference.