# UK property search scraper

**Use case:** 

Scrape OnTheMarket property search pages for UK listings with prices, addresses, agents, URLs, and optional detail data.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.onthemarket.com/for-sale/property/london/"
    }
  ],
  "locationSlug": "london",
  "searchType": "for-sale",
  "maxItems": 50,
  "maxPages": 3,
  "includeDetails": false
}
```

## Output

```json
{
  "listing_id": {
    "label": "Listing ID",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "text"
  },
  "price_qualifier": {
    "label": "Price qualifier",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "property_type": {
    "label": "Property type",
    "format": "text"
  },
  "bedrooms": {
    "label": "Bedrooms",
    "format": "number"
  },
  "bathrooms": {
    "label": "Bathrooms",
    "format": "number"
  },
  "features": {
    "label": "Features",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "key_info": {
    "label": "Key info",
    "format": "text"
  },
  "agent_name": {
    "label": "Agent",
    "format": "text"
  },
  "agent_phone": {
    "label": "Agent phone",
    "format": "text"
  },
  "agent_branch_url": {
    "label": "Agent branch",
    "format": "link"
  },
  "agent_logo_url": {
    "label": "Agent logo",
    "format": "image"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "image_urls": {
    "label": "Images",
    "format": "text"
  },
  "detail_url": {
    "label": "Detail URL",
    "format": "link"
  },
  "source_url": {
    "label": "Source URL",
    "format": "link"
  },
  "days_since_added_or_reduced": {
    "label": "Added/reduced",
    "format": "text"
  },
  "label": {
    "label": "Label",
    "format": "text"
  },
  "is_reduced": {
    "label": "Reduced",
    "format": "boolean"
  },
  "is_recently_added": {
    "label": "Recently added",
    "format": "boolean"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [OnTheMarket Property Scraper](https://apify.com/automation-lab/onthemarket-property-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/onthemarket-property-scraper) to learn more, explore other use cases, and run it yourself.