---
title: "Match Markets Batch"
method: POST
path: "/v1/markets/match/batch"
tags: ["markets"]
---

# Match Markets Batch

`POST /v1/markets/match/batch`

Batch-resolve many markets by exact Kalshi ticker and/or Polymarket slug in one request.

The single-market ``/match`` endpoint costs one round-trip per identifier, so resolving
thousands of mappings serially is slow. This endpoint takes lists of tickers and/or slugs
(send them together in one call) and returns a full market row — including ``river_id``,
``ticker``, ``slug`` and ``exchange_name`` — for every identifier that matched. Identifiers
with no match come back in ``unmatched_tickers`` / ``unmatched_slugs``.

## Request body

- MarketMatchBatchRequest — Batch exact-match request: resolve many Kalshi tickers / Polymarket slugs at once.
  - `tickers` string[] — Exact Kalshi tickers to resolve (e.g. KXNBA-26-DET).
  - `slugs` string[] — Exact Polymarket / Polymarket-US slugs to resolve (e.g. will-the-denver-nuggets-win-the-2026-nba-finals).

## Response `200`

Successful Response

- MarketMatchBatchResponse — Batch exact-match response. ``results`` holds a full market row (with ``river_id``, ``ticker``, ``slug`` and ``exchange_name``) for every identifier that matched. Identifiers with no match are echoed back in ``unmatched_tickers`` / ``unmatched_slugs`` so callers can tell the difference between "not found" and a lookup they forgot to send.
  - `results` MarketSearchResult[], required
    - `river_id` integer, required
    - `exchange_value` integer, required
    - `exchange_name` string, required
    - `ticker` string, nullable
    - `token_id_yes` string, nullable
    - `token_id_no` string, nullable
    - `slug` string, nullable
    - `tick_size_price` number, required
    - `tick_size_qty` number, required
    - `tick_structure` string
    - `minimum_order_size` number, required
    - `expiration_datetime` string, nullable — Market expiration datetime (UTC)
    - `start_datetime` string, nullable — Game/event start datetime (UTC). Populated for sports; null otherwise.
    - `neg_risk` boolean, required
    - `neg_risk_id` string, nullable
    - `condition_id` string, nullable
    - `name` string, required
    - `subtitle` string, nullable
    - `description` string, nullable
    - `status` 'active' | 'closed' | 'inactive', required — Instrument status derived in instruments table from exchange-specific fields. Kalshi: maps from kalshi_markets.status - 'active' -> ACTIVE - everything else (closed, determined, finalized, settled, amended, inactive, initialized) -> CLOSED Polymarket: maps from polymarket_markets.closed and polymarket_markets.active booleans - closed=true -> CLOSED - active=true (and not closed) -> ACTIVE - else (active=false, closed=false) -> INACTIVE
    - `category` string
    - `subcategory` string, nullable
    - `rank` number, nullable
    - `event_ticker` string, nullable
    - `event_title` string, nullable
    - `is_combo` boolean — True for parlays.
    - `volume` integer, nullable
    - `volume_24h` integer, nullable
    - `series_ticker` string, nullable
    - `image` string, nullable
    - `last_price` number, nullable — Most recent YES price normalized to 0.0–1.0 (probability). Kalshi cents / 100; Polymarket already 0.0–1.0. NULL when no trade has been observed.
    - `primary_entity_name` string, nullable — Resolved display name of the canonical structured-target entity (player, team, competitor, …) referenced by the market. NULL for markets without a structured target. Kalshi only — Polymarket has no equivalent concept.
    - `event_market_count` integer, nullable — Total number of markets in this row's event. Only populated on the event-paginated path; when markets_per_event trims an event, this is how clients know more markets exist than were returned.
  - `unmatched_tickers` string[]
  - `unmatched_slugs` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/rivermarkets/apis/river-finance-api.md) · [All operations](https://skmtc.net/rivermarkets/apis/river-finance-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivermarkets/river-finance-api/versions/3776a0431319/schema)
