# REST

The REST API is served at `https://api.predictparity.com/api`. Authenticate every request with your builder key, as in [Getting started](https://predictparity.com/docs/api/getting-started).

Responses are JSON. The types they share with the [stream](https://predictparity.com/docs/api/stream) are described once, in [Models](https://predictparity.com/docs/api/models).

No path names a venue: a market has the same shape on Polymarket, Kalshi, Polymarket US, Pascal and Hyperliquid. Each [endpoint](https://predictparity.com/docs/api/rest#endpoints) says what it does not cover on each venue.

## Requests

A query parameter the endpoint does not list is an error, never ignored. So is a parameter sent twice, unless its description says it can repeat.

A [search](https://predictparity.com/docs/api/search) is a `POST` with a JSON body, sent as `Content-Type: application/json`. A body field the endpoint does not list is an error too.

## Lists

A list answers `{ "data": [...], "nextCursor": ... }`. When `nextCursor` is not `null`, send it back as `cursor`, with the same other parameters, to read the next page. A [search](https://predictparity.com/docs/api/search#cursor) takes `cursor` in its body. The server picks the page size, and a page can be short or empty, so follow `nextCursor` until it is `null` and don't count rows to find the end.

Holders are the exception. They answer `{ "data": [...] }` with no `nextCursor`: the list is the largest holders, cut where the server picks, and not a page of every holder.

## Errors

Every failure has the same body, the [`Error`](https://predictparity.com/docs/api/models#error) model, under the HTTP status of its `code`:

```json
{
  "code": "not_found",
  "message": "No such market",
  "details": null
}
```

Branch on `code`, never on `message`. An endpoint lists the codes that mean something particular there. Any endpoint can also answer `validation_failed` (`400`), `unauthenticated` (`401`), `not_found` (`404`, for an id or a path that names nothing), `rate_limited` (`429`) or `internal_error` (`500`).

No limit on requests is enforced today. One can be added without notice, so handle `429` from the start: wait, then try again.

## Endpoints

Paths are relative to `https://api.predictparity.com/api`. Expand an endpoint for its parameters, its response, the errors particular to it and an example. Shared types are in [Models](https://predictparity.com/docs/api/models).

<details id="get-me">
<summary><code>GET /me</code>: The builder key making the request.</summary>

**Response**

| Field | Type | Description |
| --- | --- | --- |
| `builderKey` | object | The builder key making the request. |
| `builderKey.name` | string | The name you gave the key. |

**Example**

```json
{
  "builderKey": {
    "name": "My bot"
  }
}
```

</details>

<details id="get-markets">
<summary><code>GET /markets</code>: The markets still open, or markets you can already name: by their ids, or by a venue's own id for one.</summary>

With no parameters it lists the markets whose `status` is `active` or `paused`, the ones traded most over the last 24 hours first. It is `POST /markets/search` with that query and no `ordering`, and it is paged the same way: send `nextCursor` back as `cursor`. To list by anything else, or in another order, use the search.

To read markets you can name, send one lookup: `id`, repeated for each market, or `venue` with `venueMarketId`. Both together, or `venue` and `venueMarketId` one without the other, is an error (`validation_failed`).

A lookup returns markets of any status, and every match in one response: its `nextCursor` is `null`, and `cursor` sent with it is an error. A market that `GET /markets/{marketId}` answers `404` for adds no row, so `data` can hold fewer rows than the ids sent, or none. A market named twice is returned once. No order of rows is promised.

Each row is the `Market` that `GET /markets/{marketId}` returns.

**Query parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `id` | array of string | A market id. Repeat it to read several markets, at most 100: `?id=a&id=b`. More is an error, and so is an empty id. An id that matches no market adds no row. |
| `venue` | `"polymarket"` \| `"kalshi"` \| `"polymarket_us"` \| `"pascal"` \| `"hyperliquid"` | The venue of `venueMarketId`. One venue: sending it twice is an error. To read markets on several venues, use `id`. |
| `venueMarketId` | string | The venue's own id for the market, matched exactly, letter case included. One id: sending it twice is an error. |
| `cursor` | string | The `nextCursor` of the page before, when listing with no lookup. Sent with a lookup, it is an error. |

**Response**: [MarketPage](https://predictparity.com/docs/api/models#market-page). One page of a list.

**Example**

```json
{
  "data": [
    {
      "id": "kalshi:KXFEDDECISION-26DEC-H0",
      "venue": "kalshi",
      "venueMarketId": "KXFEDDECISION-26DEC-H0",
      "question": "Will the Fed hold rates at its December 2026 meeting?",
      "shortName": "Hold",
      "eventTitle": "Fed decision in December 2026",
      "status": "active",
      "endAt": "2026-12-16T19:00:00.000Z",
      "createdAt": "2026-10-02T09:14:27.000Z",
      "categories": [
        "economics"
      ],
      "volume24hMicrodollars": 48250000000,
      "liquidityMicrodollars": null,
      "primaryMidpointMicrodollars": 695000,
      "outcomes": [
        {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:yes",
          "venueOutcomeId": "yes",
          "name": "Yes",
          "isPrimary": true,
          "midpointMicrodollars": 695000,
          "bidPriceMicrodollars": 690000,
          "askPriceMicrodollars": 700000,
          "bidAskAt": "2026-11-04T15:02:09.412Z"
        },
        {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:no",
          "venueOutcomeId": "no",
          "name": "No",
          "isPrimary": false,
          "midpointMicrodollars": 305000,
          "bidPriceMicrodollars": 300000,
          "askPriceMicrodollars": 310000,
          "bidAskAt": "2026-11-04T15:02:09.412Z"
        }
      ],
      "matchedMarketGroup": {
        "id": "6f1c2a9e-4b7d-4c1e-9a53-0d8e2f7b3c41"
      }
    }
  ],
  "nextCursor": null
}
```

</details>

<details id="post-markets-search">
<summary><code>POST /markets/search</code>: Markets found by a query: text in their fields, their venue, status and categories, when they end, how much they trade, or any mix.</summary>

Searches markets on all five venues with a query tree. [Search](https://predictparity.com/docs/api/search) describes the tree: its operations and what each matches, `ordering` and `cursor`. Each row is the `Market` that `GET /markets/{marketId}` returns.

The fields a market search takes:

| Field | Holds | Operations |
| --- | --- | --- |
| `question` | Text | `contains`, `starts_with`, `equals` |
| `eventTitle` | Text | `contains`, `starts_with`, `equals` |
| `shortName` | Text | `contains`, `starts_with`, `equals` |
| `id` | Text | `starts_with`, `equals` |
| `venueMarketId` | Text | `starts_with`, `equals` |
| `status` | One of `active`, `paused`, `closed`, `settled`, `cancelled` | `equals` |
| `venue` | One of `polymarket`, `kalshi`, `polymarket_us`, `pascal`, `hyperliquid` | `equals` |
| `categories` | A list of `business`, `climate`, `crypto`, `economics`, `entertainment`, `health`, `mentions`, `other`, `politics`, `social`, `sports`, `technology`, `world` | `includes` |
| `volume24hMicrodollars` | A number | `num_gt`, `num_gte`, `num_lt`, `num_lte`, `num_between` |
| `primaryMidpointMicrodollars` | A number | `num_gt`, `num_gte`, `num_lt`, `num_lte`, `num_between` |
| `liquidityMicrodollars` | A number | `num_gt`, `num_gte`, `num_lt`, `num_lte`, `num_between` |
| `endAt` | A date | `date_gt`, `date_gte`, `date_lt`, `date_lte`, `date_between` |
| `createdAt` | A date | `date_gt`, `date_gte`, `date_lt`, `date_lte`, `date_between` |

`ordering` takes `volume24hMicrodollars`, `endAt`, `liquidityMicrodollars`. Without it, the markets traded most over the last 24 hours come first.

- A search covers markets of every status. To keep to open markets, test `status` for `active` and `paused`.
- `primaryMidpointMicrodollars` is the market's price as one number: 50,000 to 950,000 is a chance of 5% to 95%. The price tested can trail the price a row shows, so a market close to a bound can fall on either side.
- A market with no trades in the last 24 hours has a `volume24hMicrodollars` of 0, and is tested and ordered as 0.
- `categories` is a list, so it is tested with `includes`: a market matches when its list holds the category, or any one of several. To leave a category out, put the test under `not`.
- `createdAt` is when Parity first listed the market. For markets listed in the last week, or ending within a day, work out the instant and test `createdAt` or `endAt` with a date range: there is no relative time.
- `id` and `venueMarketId` are matched whole or by how they begin, whatever the letter case. An `id` begins with its venue, so `starts_with` on `kalshi:KXFED` finds a venue's markets whose own ids begin `KXFED`.
- Every field of a `Market` that holds one value can be tested, except `matchedMarketGroup.id`. The fields of `outcomes` cannot.
- Only Polymarket reports liquidity, so a test or an order on `liquidityMicrodollars` tells Polymarket markets apart and no others. A market with no figure matches no range and comes last in either direction. For now that includes a Polymarket market whose liquidity is 0: it reads `null`, so a range that includes 0 does not find it.
- An order that follows trading can repeat or skip a market between pages.
- Results can differ from the Parity app's own search, which also weighs how much a market trades.
- A market's page address on its venue is not read as text. A market you can name by its venue is `GET /markets` with `venue` and `venueMarketId`.

`GET /markets` with no parameters is this search with its defaults: markets whose `status` is `active` or `paused`, in the default order.

**Body**

| Field | Type | Description |
| --- | --- | --- |
| `query` | [SearchQuery](https://predictparity.com/docs/api/models#search-query) | Which rows match. It has no part in their order. It is the whole test: nothing is added to it. |
| `ordering` | array of object | How the matches are ordered: by the first entry, then by the next where rows tie. An attribute can be listed once. A row whose attribute is null comes last in either direction. Left out, the search's default order. |
| `ordering[].attribute` | string | The field ordered by, as a row names it. Each search lists the attributes it takes. |
| `ordering[].direction` | `"asc"` \| `"desc"` |  |
| `cursor` | string | The `nextCursor` of the page before, sent with the same `query` and `ordering`. |

**Example body**

```json
{
  "query": {
    "op": "contains",
    "field": "question",
    "value": "fed rates"
  }
}
```

**Response**: [MarketPage](https://predictparity.com/docs/api/models#market-page). One page of a list.

**Example**

```json
{
  "data": [
    {
      "id": "kalshi:KXFEDDECISION-26DEC-H0",
      "venue": "kalshi",
      "venueMarketId": "KXFEDDECISION-26DEC-H0",
      "question": "Will the Fed hold rates at its December 2026 meeting?",
      "shortName": "Hold",
      "eventTitle": "Fed decision in December 2026",
      "status": "active",
      "endAt": "2026-12-16T19:00:00.000Z",
      "createdAt": "2026-10-02T09:14:27.000Z",
      "categories": [
        "economics"
      ],
      "volume24hMicrodollars": 48250000000,
      "liquidityMicrodollars": null,
      "primaryMidpointMicrodollars": 695000,
      "outcomes": [
        {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:yes",
          "venueOutcomeId": "yes",
          "name": "Yes",
          "isPrimary": true,
          "midpointMicrodollars": 695000,
          "bidPriceMicrodollars": 690000,
          "askPriceMicrodollars": 700000,
          "bidAskAt": "2026-11-04T15:02:09.412Z"
        },
        {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:no",
          "venueOutcomeId": "no",
          "name": "No",
          "isPrimary": false,
          "midpointMicrodollars": 305000,
          "bidPriceMicrodollars": 300000,
          "askPriceMicrodollars": 310000,
          "bidAskAt": "2026-11-04T15:02:09.412Z"
        }
      ],
      "matchedMarketGroup": {
        "id": "6f1c2a9e-4b7d-4c1e-9a53-0d8e2f7b3c41"
      }
    }
  ],
  "nextCursor": null
}
```

</details>

<details id="get-markets-market-id">
<summary><code>GET /markets/{marketId}</code>: One market, with every outcome, its last recorded bid and ask and the group of markets it is matched to.</summary>

Each outcome's bid and ask are the last pair Parity recorded, and nothing is recorded while a book is empty or its spread is very wide. On such a market they are older than the book. `bidAskAt` says when they were observed, and is `null` when that isn't known.

`volume24hMicrodollars` is counted from fills and can be a little behind them. It is 0 once a market is no longer active, whatever traded before, and `null` when Parity cannot say.

`liquidityMicrodollars` can be `null` on a Polymarket market too: when the venue reports none, and for now also when it reports 0.

`createdAt` is when Parity first listed the market, not when the venue created it. `categories` are Parity's own, the same set on every venue, taken from the market's event.

Who won a settled market can't be read: `status` says that the market settled, not which outcome won.

**Response**: [Market](https://predictparity.com/docs/api/models#market). A market on one venue, with its outcomes.

**Example**

```json
{
  "id": "kalshi:KXFEDDECISION-26DEC-H0",
  "venue": "kalshi",
  "venueMarketId": "KXFEDDECISION-26DEC-H0",
  "question": "Will the Fed hold rates at its December 2026 meeting?",
  "shortName": "Hold",
  "eventTitle": "Fed decision in December 2026",
  "status": "active",
  "endAt": "2026-12-16T19:00:00.000Z",
  "createdAt": "2026-10-02T09:14:27.000Z",
  "categories": [
    "economics"
  ],
  "volume24hMicrodollars": 48250000000,
  "liquidityMicrodollars": null,
  "primaryMidpointMicrodollars": 695000,
  "outcomes": [
    {
      "id": "kalshi:KXFEDDECISION-26DEC-H0:yes",
      "venueOutcomeId": "yes",
      "name": "Yes",
      "isPrimary": true,
      "midpointMicrodollars": 695000,
      "bidPriceMicrodollars": 690000,
      "askPriceMicrodollars": 700000,
      "bidAskAt": "2026-11-04T15:02:09.412Z"
    },
    {
      "id": "kalshi:KXFEDDECISION-26DEC-H0:no",
      "venueOutcomeId": "no",
      "name": "No",
      "isPrimary": false,
      "midpointMicrodollars": 305000,
      "bidPriceMicrodollars": 300000,
      "askPriceMicrodollars": 310000,
      "bidAskAt": "2026-11-04T15:02:09.412Z"
    }
  ],
  "matchedMarketGroup": {
    "id": "6f1c2a9e-4b7d-4c1e-9a53-0d8e2f7b3c41"
  }
}
```

</details>

<details id="get-markets-market-id-holders">
<summary><code>GET /markets/{marketId}/holders</code>: The largest holders of each of a market's outcomes.</summary>

The largest open holdings of each outcome by shares, grouped by outcome and largest first within each. It is a top list, not every holder: the server picks where to cut it, there is no next page and it takes no parameters. A holding carries no entry price, value or PnL; value one from the market's bid and ask.

A market that is not `active` is read the same way and returns whatever open holdings remain. On Polymarket that includes winners who have not redeemed.

What each venue returns:

- `polymarket`: each outcome's largest holders as the venue ranks them. The list can be a little behind the venue, and an outcome can list fewer holders than it has.
- `hyperliquid`, `pascal`: the positions Parity has synced. `shares` is as of its last sync of that trader. On Pascal, traders last active before 2026-09-09 are missing.
- `kalshi`, `polymarket_us`: not available. The call is an error (`unsupported_on_venue`), never an empty list.

On the three venues that have holders, an empty list means Parity knows of no open holding.

**Response**

| Field | Type | Description |
| --- | --- | --- |
| `data` | array of [Holder](https://predictparity.com/docs/api/models#holder) | Grouped by outcome, largest holding first within each. The list is cut at a count the server picks: it is not every holder, and there is no next page. |

**Errors**

| Status | Meaning |
| --- | --- |
| `422` | `unsupported_on_venue`: The market is on Kalshi or Polymarket US, where Parity cannot list holders. It is never an empty list. |
| `502` | `venue_unavailable`: Polymarket failed or did not answer in time. Try again. |

**Example**

```json
{
  "data": [
    {
      "venue": "polymarket",
      "market": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
        "venue": "polymarket",
        "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
      },
      "outcome": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:72139607190315861034411702195742538105117960260100800877125381826122747504258",
        "venue": "polymarket",
        "venueOutcomeId": "72139607190315861034411702195742538105117960260100800877125381826122747504258",
        "name": "Yes"
      },
      "trader": {
        "id": "polymarket:0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "venue": "polymarket",
        "venueTraderId": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "displayName": "Theo4"
      },
      "shares": 1250000
    },
    {
      "venue": "polymarket",
      "market": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
        "venue": "polymarket",
        "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
      },
      "outcome": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:72139607190315861034411702195742538105117960260100800877125381826122747504258",
        "venue": "polymarket",
        "venueOutcomeId": "72139607190315861034411702195742538105117960260100800877125381826122747504258",
        "name": "Yes"
      },
      "trader": {
        "id": "polymarket:0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a",
        "venue": "polymarket",
        "venueTraderId": "0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a",
        "displayName": "0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a"
      },
      "shares": 84310.5
    },
    {
      "venue": "polymarket",
      "market": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
        "venue": "polymarket",
        "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
      },
      "outcome": {
        "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:48331043336612883890938759509493159234755048973500640148014422747788308965732",
        "venue": "polymarket",
        "venueOutcomeId": "48331043336612883890938759509493159234755048973500640148014422747788308965732",
        "name": "No"
      },
      "trader": {
        "id": "polymarket:0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a",
        "venue": "polymarket",
        "venueTraderId": "0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a",
        "displayName": "0x2b1c6a4e9d0f7e3b5a8c1d2e4f6a7b9c0d1e2f3a"
      },
      "shares": 402000
    }
  ]
}
```

</details>

<details id="get-market-groups">
<summary><code>GET /market-groups</code>: The groups of markets Parity has matched across venues, without prices.</summary>

A matched group is the same question listed on more than one venue, with its outcomes paired. Use this list to find them, then read the ones you care about by id for their prices.

The list holds the groups with two or more `active` markets, newest group first. A group leaves it when fewer than two of its markets are still active; `GET /market-groups/{marketGroupId}` still returns it.

A group absent from the list does not mean no equivalent market exists: it lists only what Parity has matched.

**Query parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `cursor` | string | The `nextCursor` of the page before. Leave it out to read the first page. |

**Response**

| Field | Type | Description |
| --- | --- | --- |
| `data` | array of [MarketGroupSummary](https://predictparity.com/docs/api/models#market-group-summary) | The rows of this page, in the order of the list. |
| `nextCursor` | string \| `null` | Send it as `cursor`, with the same other parameters, to read the next page. Null on the last page. The server picks the page size and a page can be short, so follow it until it is null. |

**Example**

```json
{
  "data": [
    {
      "id": "6f1c2a9e-4b7d-4c1e-9a53-0d8e2f7b3c41",
      "type": "matched",
      "markets": [
        {
          "id": "kalshi:KXFEDDECISION-26DEC-H0",
          "venue": "kalshi",
          "venueMarketId": "KXFEDDECISION-26DEC-H0"
        },
        {
          "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
          "venue": "polymarket",
          "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
        }
      ],
      "matchedOutcomes": [
        [
          {
            "market": {
              "id": "kalshi:KXFEDDECISION-26DEC-H0",
              "venue": "kalshi",
              "venueMarketId": "KXFEDDECISION-26DEC-H0"
            },
            "outcome": {
              "id": "kalshi:KXFEDDECISION-26DEC-H0:yes",
              "venue": "kalshi",
              "venueOutcomeId": "yes",
              "name": "Yes"
            }
          },
          {
            "market": {
              "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
              "venue": "polymarket",
              "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
            },
            "outcome": {
              "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:72139607190315861034411702195742538105117960260100800877125381826122747504258",
              "venue": "polymarket",
              "venueOutcomeId": "72139607190315861034411702195742538105117960260100800877125381826122747504258",
              "name": "Yes"
            }
          }
        ],
        [
          {
            "market": {
              "id": "kalshi:KXFEDDECISION-26DEC-H0",
              "venue": "kalshi",
              "venueMarketId": "KXFEDDECISION-26DEC-H0"
            },
            "outcome": {
              "id": "kalshi:KXFEDDECISION-26DEC-H0:no",
              "venue": "kalshi",
              "venueOutcomeId": "no",
              "name": "No"
            }
          },
          {
            "market": {
              "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
              "venue": "polymarket",
              "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
            },
            "outcome": {
              "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:48331043336612883890938759509493159234755048973500640148014422747788308965732",
              "venue": "polymarket",
              "venueOutcomeId": "48331043336612883890938759509493159234755048973500640148014422747788308965732",
              "name": "No"
            }
          }
        ]
      ]
    }
  ],
  "nextCursor": null
}
```

</details>

<details id="get-market-groups-market-group-id">
<summary><code>GET /market-groups/{marketGroupId}</code>: One matched group, with the last recorded bid and ask of each outcome on every venue.</summary>

Returned whatever the status of its markets. Each call reads one group.

The bid and ask are the last ones Parity recorded for each venue, each with its own `bidAskAt`. They are for finding and comparing candidates, not a live feed: check the venue before acting on a difference.

A group's id can stop resolving, for example when groups are merged or a group is dissolved. On a `404`, read one of its markets for its `matchedMarketGroup`, which is `null` if the market is no longer in a group, or read the list again.

**Response**

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The market group's id. It can stop resolving, for example when Parity merges the group into another or dissolves it; each market's `matchedMarketGroup` then names the group it is in, or is null. |
| `type` | `"matched"` | What groups the markets. `matched`: they ask the same question. |
| `markets` | array of [MarketRef](https://predictparity.com/docs/api/models#market-ref) | Every market in the group, at most one per venue, whatever its status. |
| `matchedOutcomes` | array of array of [PricedMatchedOutcome](https://predictparity.com/docs/api/models#priced-matched-outcome) | The outcomes, paired across the markets. Each inner list is one outcome as it appears on every market in the group, once per market and in the order of `markets`. |

**Errors**

| Status | Meaning |
| --- | --- |
| `404` | `not_found`: No group has this id, or the group no longer exists, for example because it was merged into another or dissolved. |

**Example**

```json
{
  "id": "6f1c2a9e-4b7d-4c1e-9a53-0d8e2f7b3c41",
  "type": "matched",
  "markets": [
    {
      "id": "kalshi:KXFEDDECISION-26DEC-H0",
      "venue": "kalshi",
      "venueMarketId": "KXFEDDECISION-26DEC-H0"
    },
    {
      "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
      "venue": "polymarket",
      "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
    }
  ],
  "matchedOutcomes": [
    [
      {
        "market": {
          "id": "kalshi:KXFEDDECISION-26DEC-H0",
          "venue": "kalshi",
          "venueMarketId": "KXFEDDECISION-26DEC-H0"
        },
        "outcome": {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:yes",
          "venue": "kalshi",
          "venueOutcomeId": "yes",
          "name": "Yes"
        },
        "bidPriceMicrodollars": 690000,
        "askPriceMicrodollars": 700000,
        "bidAskAt": "2026-11-04T15:02:09.412Z"
      },
      {
        "market": {
          "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
          "venue": "polymarket",
          "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
        },
        "outcome": {
          "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:72139607190315861034411702195742538105117960260100800877125381826122747504258",
          "venue": "polymarket",
          "venueOutcomeId": "72139607190315861034411702195742538105117960260100800877125381826122747504258",
          "name": "Yes"
        },
        "bidPriceMicrodollars": 680000,
        "askPriceMicrodollars": 690000,
        "bidAskAt": "2026-11-04T15:02:11.027Z"
      }
    ],
    [
      {
        "market": {
          "id": "kalshi:KXFEDDECISION-26DEC-H0",
          "venue": "kalshi",
          "venueMarketId": "KXFEDDECISION-26DEC-H0"
        },
        "outcome": {
          "id": "kalshi:KXFEDDECISION-26DEC-H0:no",
          "venue": "kalshi",
          "venueOutcomeId": "no",
          "name": "No"
        },
        "bidPriceMicrodollars": 300000,
        "askPriceMicrodollars": 310000,
        "bidAskAt": "2026-11-04T15:02:09.412Z"
      },
      {
        "market": {
          "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9",
          "venue": "polymarket",
          "venueMarketId": "0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9"
        },
        "outcome": {
          "id": "polymarket:0x19d2ff72e389d190c183e6b114817301d29eba651d67d75a38ee201a05188fd9:48331043336612883890938759509493159234755048973500640148014422747788308965732",
          "venue": "polymarket",
          "venueOutcomeId": "48331043336612883890938759509493159234755048973500640148014422747788308965732",
          "name": "No"
        },
        "bidPriceMicrodollars": 310000,
        "askPriceMicrodollars": 320000,
        "bidAskAt": "2026-11-04T15:02:11.027Z"
      }
    ]
  ]
}
```

</details>

Source: https://predictparity.com/docs/api/rest
