# Rook > Settlement intelligence for prediction markets. Explore markets, relationships, scenarios and portfolio exposure. - [Market identity](https://docs.rook.pm/guides/market-identity.md): One settlement identity, explicit outcome sides, preserved venue provenance. - [Relationships and basket structure](https://docs.rook.pm/guides/relationships.md): Explain implication, overlap and gaps within an explicit selection. - [Families and scenarios](https://docs.rook.pm/guides/scenarios.md): Readable settlement outcomes with stable, versioned references. - [Exact payouts](https://docs.rook.pm/guides/payouts.md): Selected outcomes as rows, published scenarios as columns. - [Positions and pre-trade exposure](https://docs.rook.pm/guides/exposure.md): Compare your book before and after explicitly supplied candidate trades. - [Combo interpretation](https://docs.rook.pm/guides/combos.md): Understand one combined payout under a supported settlement convention. - [Market data](https://docs.rook.pm/guides/market-data.md): Venue-specific observations with explicit units, timestamps and coverage. - [Live streams](https://docs.rook.pm/guides/streaming.md): Subscribe to quotes, books, public trades and reference updates. - [An RFQ desk workflow](https://docs.rook.pm/guides/rfq-workflow.md): Use settlement analytics alongside your own quoting and execution systems. - [Coverage and versioning](https://docs.rook.pm/guides/coverage-versioning.md): Know what a conclusion covers, and reproduce its meaning later. - [API conventions](https://docs.rook.pm/guides/api-conventions.md): Authentication, exact amounts, pagination and explicit errors. - [Customer fair values](https://docs.rook.pm/guides/fair-values.md): Future private estimates, separate from market observations and structural payouts. - [List events](https://docs.rook.pm/api-reference/list-events.md): Find the venue events that contain markets you want to inspect. Browse by keyword, venue, category or family; for an exact native lookup, supply venue and venue_event_id. For example, venue=polymarket&venue_event_id=900001 looks up a numeric Polymarket event ID. Use event_id instead when you already… - [List markets](https://docs.rook.pm/api-reference/list-markets.md): Find markets and inspect their settlement rules, outcome sides and venue listings. Supply venue plus venue_market_id to translate a native market ID into a Rook market_id, or use market_id when you already have the Rook ID. For example, venue=polymarket&venue_market_id=1000001 uses the numeric Polym… - [Resolve markets](https://docs.rook.pm/api-reference/resolve-markets.md): Translate a batch of native venue market identifiers into Rook IDs before requesting analytics. Each input requires venue and a unique client_reference. A venue_market_id alone resolves a market and returns its outcomes and listings; add venue_outcome_id to resolve one outcome side. Token IDs, or su… - [List families](https://docs.rook.pm/api-reference/list-families.md): Discover Rook's grouping of related markets across the events maintained by venues. A family sits above venue events and their markets; it does not replace the events or rewrite their source membership. Use family_id for one family, market_ids to find families containing supplied markets, or q to se… - [List scenarios](https://docs.rook.pm/api-reference/list-scenarios.md): Retrieve the possible settlement cases published for a Rook family. Supply family_id and scenario_version from /families; optionally select specific scenario_ids. Each item provides a scenario reference, readable label and description, plus how many underlying states it represents. - [Discover relationships](https://docs.rook.pm/api-reference/list-relationships.md): Discover markets connected by settlement logic to a known market, outcome or original venue event. Supply exactly one Rook selector: market_id, outcome_id or event_id. For a native ID, first obtain the Rook ID from /events, /markets or /markets:resolve. - [Compose a Combo](https://docs.rook.pm/api-reference/compose-market.md): Interpret an explicitly supplied set of outcome legs as one Combo payout under a supported venue/product settlement convention. Supply at least two legs, venue and settlement_convention_id; optional scenario_pins make interpretation reproducible. - [Analyze relationships](https://docs.rook.pm/api-reference/analyze-relationships.md): Explain how an explicitly selected set of outcomes can pay together. Supply outcome_id or listing_id references in selection; resolve native market IDs first. The response can include pair relationships, basket overlap/gap counts and example settlement witnesses. - [Calculate payouts](https://docs.rook.pm/api-reference/calculate-payouts.md): Return the exact per-unit terminal payout of each selected outcome across settlement scenarios. Supply selection using Rook outcome or listing IDs. Optionally provide scenario references from /scenarios; omit them to retrieve all applicable columns under returned family/version pins. - [Evaluate exposure](https://docs.rook.pm/api-reference/run-evaluation.md): Calculate what supplied positions pay at settlement, and compare the effect of explicitly supplied hypothetical trades. Positions identify a Rook outcome/listing, a positive exact quantity and HELD or OWED convention. Candidates supply signed quantity changes; each candidate is evaluated separately… - [Get quotes](https://docs.rook.pm/api-reference/get-quotes.md): Fetch the latest bid, ask and last-trade observations for explicitly selected Rook listing_ids. Listing IDs identify an outcome on a venue and come from /markets or /markets:resolve; a market ID alone does not select a side or venue. - [Get price history](https://docs.rook.pm/api-reference/list-price-history.md): Retrieve recorded bid, ask, midpoint or last-trade prices for selected Rook listing_ids in a UTC time window. Supply start_time, end_time and field; sampling_interval optionally requests a supported sampling cadence. - [Get order books](https://docs.rook.pm/api-reference/get-order-books.md): Get a level-2 bid/ask snapshot for selected Rook listing_ids. Set depth to request the maximum returned price levels per side; quantities are for the listing's selected outcome and stated quantity unit. - [List trades](https://docs.rook.pm/api-reference/list-trades.md): Retrieve public executions for selected Rook listing_ids, optionally bounded by UTC start/end times. Choose ASC for replay or DESC for the latest records; cursor pagination preserves the filters and order. - [Get market statistics](https://docs.rook.pm/api-reference/get-market-stats.md): Measure trading activity for selected Rook listings over 1h, 24h, 7d or lifetime. The response identifies the actual window, units, currency, source and calculation method for each statistic. - [Get fee schedules](https://docs.rook.pm/api-reference/get-fee-schedules.md): Look up published venue fee rules applicable to selected Rook listings. Omit effective_at for current rules or provide a UTC timestamp for an available historical schedule. - [Save fair values](https://docs.rook.pm/api-reference/batch-upsert-fair-values.md): Future extension. Save your own outcome probabilities or expected per-unit payouts in an authorized private scope_id. Each estimate pins a Rook outcome and market version and records your source, observation time and optional expiry. - [List fair values](https://docs.rook.pm/api-reference/list-fair-values.md): Future extension. Read your saved estimates in an authorized private scope_id. Optionally filter by outcome IDs, value type or update time; follow next_page_token with unchanged filters. - [Delete a fair value](https://docs.rook.pm/api-reference/delete-fair-value.md): Future extension. Delete one private fair-value record by its Rook record ID. Authorization must grant access to its owner and scope. Supply if_revision to reject deletion if the record has changed since it was read. - [Get coverage](https://docs.rook.pm/api-reference/get-coverage.md): Check whether selected Rook markets, listings or a family support the capabilities your workflow needs. Supply one selector scope, or omit selectors for the coverage overview; venue can narrow the results. - [List changes](https://docs.rook.pm/api-reference/list-changes.md): Follow incremental changes to markets, native mappings, families, scenario versions and coverage. Without cursor, start at the current point; persist next_cursor and pass it on the next poll. Optional family_ids and resource_types scope the feed. ## OpenAPI Specs - [openapi](/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.