# Leasehold flats for sale in Manchester

**Use case:** 

Manchester flats whose tenure OnTheMarket publishes as leasehold. A property whose tenure the site does not publish is kept rather than dropped, and its tenure field stays empty instead of being guessed as freehold - 2 of 24 rows were like that when this was checked.

## Input

```json
{
  "channel": "sale",
  "location": "manchester",
  "maxListings": 30,
  "maxPages": 8,
  "useProxy": false,
  "keywords": [],
  "keywordMatch": "any",
  "excludeKeywords": [],
  "agencyNames": [],
  "minPrice": 0,
  "maxPrice": 0,
  "requirePrice": false,
  "minBedrooms": -1,
  "maxBedrooms": -1,
  "minBathrooms": -1,
  "propertyTypes": [],
  "tenureTypes": [
    "LEASEHOLD"
  ],
  "excludeSharedOwnership": false,
  "excludeDevelopments": false,
  "recentlyAddedOnly": false,
  "monitoringMode": false,
  "resetMonitoringState": false
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "searchedLocation": {
    "label": "Searched location",
    "format": "string"
  },
  "transactionType": {
    "label": "Transaction type",
    "format": "string"
  },
  "propertyType": {
    "label": "Property type",
    "format": "string"
  },
  "bedrooms": {
    "label": "Bedrooms",
    "format": "string"
  },
  "bathrooms": {
    "label": "Bathrooms",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "string"
  },
  "priceType": {
    "label": "Price type",
    "format": "string"
  },
  "priceDisplay": {
    "label": "Price display",
    "format": "string"
  },
  "priceQualifier": {
    "label": "Price qualifier",
    "format": "string"
  },
  "tenure": {
    "label": "Tenure",
    "format": "string"
  },
  "leaseYearsRemaining": {
    "label": "Lease years remaining",
    "format": "string"
  },
  "addedOrReducedText": {
    "label": "Added or reduced text",
    "format": "string"
  },
  "agencyName": {
    "label": "Agency name",
    "format": "string"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  },
  "listingsRead": {
    "label": "Listings read",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [OnTheMarket Scraper - UK Property Data, Price & Tenure](https://apify.com/neverempty/onthemarket-listings.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/onthemarket-listings.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/onthemarket-listings.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
