**Version: 202607**

# Preview markets to be deleted

**POST** `/openapi/2026-07/markets/preview`

Given a set of countries, preview which existing markets would be fully claimed and therefore automatically deleted. Call this before creating or updating a market so the caller knows which markets will be removed.

## Request

**application/json**

**Body | Example**

**Body (required)**

- `countries` string[] (required)

  Countries to claim, ISO 3166-1 alpha-2 codes in upper case (e.g., US, JP). Because a country may belong to only one market, any other market whose countries are all claimed here will be automatically deleted
- `except_market_id` string

  Market ID to exclude from the check

```json
{
  "countries": [
    "string"
  ],
  "except_market_id": "string"
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `count` int64

    Number of markets that would be automatically deleted
  - `markets` object[]

    Markets that would be automatically deleted

    *   Array \[

    - `id` string

      Market ID
    - `name` string

      Market name
    *   \]

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "count": 0,
    "markets": [
      {
        "id": "string",
        "name": "string"
      }
    ]
  }
}
```
