# Market Coverage

`GET /in_market`

> Wheelhouse Lite API. Web version: https://docs.usewheelhouse.com/lite/reference/test-market-coverage · OpenAPI spec: https://docs.usewheelhouse.com/lite/openapi.yaml · Operation ID: `testMarketCoverage` · Tag: Market Coverage · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Test if a location is covered by a Wheelhouse market.

## Request

`GET https://app.usewheelhouse.com/api/v2/in_market`

Authentication: send your Lite API key as the `token` query parameter (see https://docs.usewheelhouse.com/lite/authentication.md).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `latitude` | number | yes | Latitude in decimal form. |
| `longitude` | number | yes | Longitude in decimal form. |
| `country` | string | no | The ISO-3166 2 letter country code. |
| `postal_code` | string | no | A regional postal code for within the given country. |

### Example request

```bash
curl -X GET 'https://app.usewheelhouse.com/api/v2/in_market?latitude=<latitude>&longitude=<longitude>&token=<your Lite 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

Definition of market covering the location.

Body (`application/json`): object

- `in_market` (boolean): Value is `true` if the location is covered by a Wheelhouse market.
- `market_name` (string): Title of the market if covered.

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

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