# Check location coverage

`GET /listings/in_market`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/get-listings-in-market · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `getListingsInMarket` · Tag: Listings · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Determine whether a given location is in an active Wheelhouse market.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/listings/in_market`

Authentication: send your integration API key in the `X-Integration-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `country` | string | yes | The ISO-3166 2 letter country code. (min length: 2, max length: 2) |
| `postal_code` | string | yes | A regional postal code for within the given country. |
| `latitude` | number | yes | The latitude coordinate of this location. (min: -90, max: 90) |
| `longitude` | number | yes | The longitude coordinate of this location. (min: -180, max: 180) |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/listings/in_market?country=<country>&postal_code=<postal_code>&latitude=<latitude>&longitude=<longitude>' \
  -H 'X-Integration-API-Key: <your integration 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

Market information

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

- `in_market` (boolean, required): True if location is in a market, false otherwise.
- `market_name` (string, required): Market name if covered by a market, an empty string otherwise.

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

```json
{
  "in_market": true,
  "market_name": "string"
}
```

### 400

Validation failed

### 401

API key authorization failed
