# List markets

> Returns a list of markets.

Breadcrumb: API › List markets
Docs index: https://docs.cevoid.com/developers/llms.txt

`GET https://api.cevoid.com/v2/markets`

Returns a list of markets.

## Authorizations

Bearer token in the Authorization header: `Authorization: Bearer <key>` (API key).

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `cursor` | `string` | No | Opaque cursor returned from a previous list response Example: `eyJpZCI6InBvc3RfMDEifQ`. |
| `limit` | `integer` | No | Page size between 1 and 100 Range: `1 <= x <= 100`. Example: `25`. |

## Response

### 200: Successful response

`application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object[]` | Yes | Items returned for this page. |
| `data[].id` | `string` | Yes | Cevoid market ID. Example: `mar_sweden`. |
| `data[].name` | `string` | Yes | Display name of the Market. Example: `Sweden`. |
| `data[].currency` | `string` | Yes | ISO 4217 currency code. Example: `SEK`. |
| `data[].country` | `string` | Yes | ISO 3166-1 alpha-2 country code. Example: `SE`. |
| `data[].language` | `string` | Yes | IETF BCP 47 locale. Example: `sv-SE`. |
| `data[].domain` | `string` | No | Production storefront URL, when configured. Example: `https://store.example.com`. |
| `data[].staging_domain` | `string` | No | Staging storefront URL, when configured. Example: `https://staging.store.example.com`. |
| `data[].default` | `boolean` | Yes | Whether this is the workspace fallback Market. Example: `true`. |
| `data[].settings` | `object` | Yes | Storefront formatting and product display settings. |
| `data[].settings.hide_prices` | `boolean` | Yes | Whether storefront prices are hidden. Example: `false`. |
| `data[].settings.round_prices` | `boolean` | Yes | Whether displayed prices are rounded. Example: `false`. |
| `data[].settings.display_decimals` | `boolean` | Yes | Whether prices include decimals. Example: `true`. |
| `data[].settings.currency_position` | `enum<string>` | Yes | Whether the currency symbol appears before or after the amount. Allowed values: `before`, `after`. Example: `after`. |
| `data[].settings.currency_display` | `string` | Yes | Currency symbol or display text. Example: `kr`. |
| `data[].settings.decimal_delimiter` | `enum<string>` | Yes | Price decimal delimiter. Allowed values: ` `, `,`, `.`. Example: `,`. |
| `data[].settings.thousand_separator` | `enum<string>` | Yes | Price thousands separator. Allowed values: ` `, `,`, `.`. Example: ` `. |
| `data[].settings.unavailable_product_behavior` | `enum<string>` | Yes | How unavailable products are presented. Allowed values: `hide`, `show_as_normal`, `show_as_unavailable`. Example: `hide`. |
| `data[].settings.out_of_stock_behavior` | `enum<string>` | Yes | How out-of-stock products are presented. Allowed values: `show_as_normal`, `hide`, `show_out_of_stock_text`. Example: `show_out_of_stock_text`. |
| `data[].created_at` | `string<date-time>` | Yes | ISO 8601 timestamp when the Market was created. Example: `2024-01-10T08:00:00.000Z`. |
| `data[].updated_at` | `string<date-time>` | Yes | ISO 8601 timestamp when the Market was last updated. Example: `2024-01-10T08:00:00.000Z`. |
| `has_more` | `boolean` | Yes | Whether another page of results is available. Example: `true`. |
| `next_cursor` | `string \| null` | Yes | Opaque cursor to request the next page, or null when the list is exhausted. Example: `eyJpZCI6InJlc291cmNlXzI1In0`. |

Response headers:

| Header | Type | Description |
| --- | --- | --- |
| `Cevoid-Processing-Ms` | `string` | End-to-end request processing time in milliseconds |
| `Cevoid-Request-Id` | `string` | Request identifier for support and tracing |
| `RateLimit-Limit` | `string` | Current rate limit bucket size |
| `RateLimit-Remaining` | `string` | Remaining requests in the current rate limit window |
| `RateLimit-Reset` | `integer` | Seconds until the next request token is available |

```json
{
  "data": [
    {
      "id": "mar_sweden",
      "name": "Sweden",
      "currency": "SEK",
      "country": "SE",
      "language": "sv-SE",
      "domain": "https://store.example.com",
      "staging_domain": "https://staging.store.example.com",
      "default": true,
      "settings": {
        "hide_prices": false,
        "round_prices": false,
        "display_decimals": true,
        "currency_position": "after",
        "currency_display": "kr",
        "decimal_delimiter": ",",
        "thousand_separator": " ",
        "unavailable_product_behavior": "hide",
        "out_of_stock_behavior": "show_out_of_stock_text"
      },
      "created_at": "2026-01-10T08:00:00.000Z",
      "updated_at": "2026-01-10T08:00:00.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJpZCI6Im1hcl9zd2VkZW4ifQ"
}
```

### 400: Bad request

`application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `additional_data` | `object` | No | Optional machine-readable error details. |
| `additional_data.{key}` | `any` | No |  |
| `status` | `number` | Yes | HTTP status code for the error response. Example: `404`. |
| `code` | `string` | Yes | Stable machine-readable error code. Example: `not_found`. |
| `message` | `string` | Yes | Human-readable description of the error. Example: `Route not found`. |
| `request_id` | `string` | No | Request identifier for support and tracing. Example: `req_abc123`. |

Response headers: the same as 200.

```json
{
  "additional_data": {
    "errors": [
      {
        "field": "query.market",
        "message": "Invalid input: expected string, received array"
      }
    ]
  },
  "status": 400,
  "code": "bad_request",
  "message": "Bad request",
  "request_id": "req_abc123"
}
```

### 401: Unauthorized

`application/json`

Same fields as 400.

Response headers: the same as 200.

```json
{
  "status": 401,
  "code": "unauthorized",
  "message": "Unauthorized",
  "request_id": "req_abc123"
}
```

### 403: Forbidden

`application/json`

Same fields as 400.

Response headers: the same as 200.

```json
{
  "status": 403,
  "code": "forbidden",
  "message": "Forbidden",
  "request_id": "req_abc123"
}
```

### 422: Validation error

`application/json`

Same fields as 400.

Response headers: the same as 200.

```json
{
  "additional_data": {
    "errors": [
      {
        "field": "query.market",
        "message": "Invalid input: expected string, received array"
      }
    ]
  },
  "status": 422,
  "code": "validation_error",
  "message": "Validation error",
  "request_id": "req_abc123"
}
```

### 429: Too many requests

`application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `additional_data` | `object` | Yes | Machine-readable rate-limit details. |
| `additional_data.retry_after_seconds` | `integer` | Yes | Range: `0 <= x`. |
| `additional_data.{key}` | `any` | No |  |
| `status` | `integer` | Yes | HTTP status code. Example: `404`. |
| `code` | `string` | Yes | Stable machine-readable error code. Example: `not_found`. |
| `message` | `string` | Yes | Human-readable error description. Example: `Resource not found`. |
| `request_id` | `string` | No | Request identifier for support and tracing. Example: `req_abc123`. |

Response headers:

| Header | Type | Description |
| --- | --- | --- |
| `Cevoid-Processing-Ms` | `string` | End-to-end request processing time in milliseconds |
| `Cevoid-Request-Id` | `string` | Request identifier for support and tracing |
| `RateLimit-Limit` | `string` | Current rate limit bucket size |
| `RateLimit-Remaining` | `string` | Remaining requests in the current rate limit window |
| `RateLimit-Reset` | `integer` | Seconds until the next request token is available |
| `Retry-After` | `integer` | Seconds to wait before retrying the request |

```json
{
  "status": 429,
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded",
  "request_id": "req_abc123",
  "additional_data": {
    "retry_after_seconds": 1
  }
}
```

### 500: Internal server error

`application/json`

Same fields as 400.

Response headers: the same as 200.

```json
{
  "status": 500,
  "code": "internal_server_error",
  "message": "Internal server error",
  "request_id": "req_abc123"
}
```

## Request example

```bash
curl 'https://api.cevoid.com/v2/markets' \
  -H "Authorization: Bearer ${CEVOID_API_KEY}"
```

---

Canonical: https://docs.cevoid.com/developers/api/markets/list-markets
