# Bedroom groups of a market

`GET /{market_id}/bedroom_groups`

> Wheelhouse Market Report API. Web version: https://docs.usewheelhouse.com/market-report/reference/market-reports-bedroom-groups · OpenAPI spec: https://docs.usewheelhouse.com/market-report/openapi.yaml · Operation ID: `marketReportsBedroomGroups` · Tag: Bedroom Groups · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/market_report/{market_id}/bedroom_groups`

Authentication: send your Market Report API key in the `X-Integration-Api-Key` header (see https://docs.usewheelhouse.com/market-report/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `market_id` | string | yes | Unique identifier of the market. See response of [/market_reports](https://docs.usewheelhouse.com/market-report/reference/market-reports.md). |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/market_report/{market_id}/bedroom_groups' \
  -H 'X-Integration-Api-Key: <your Market Report API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Successfully retrieved bedroom groups.

Body (`application/json`): object `marketReportBedroomGroupsResponse`

- `bedroom_groups` (array of object): The market's bedroom groups, in ascending order.
  - `bedrooms` (string, example: `6+`): Value to pass as the `bedrooms` parameter. A trailing `+` marks the top
    group, which holds every listing with at least that many bedrooms.
  - `listings` (integer, nullable, min: 0, example: `23`): Number of listings in the group. Null where the report was generated before
    the counts were published.
- `updated_at` (string, example: `2026-08-30 04:17:22 UTC`): When the market's report was generated.

Example shape (generated from the schema; placeholder values, not a real response):

```json
{
  "bedroom_groups": [
    {
      "bedrooms": "6+",
      "listings": 23
    }
  ],
  "updated_at": "2026-08-30 04:17:22 UTC"
}
```

### 204

No report has been generated for this market yet.

### 400

Invalid `market_id`

### 401

API key authorization failed.
