# Scraper for Treatwell Search 💇‍♀️ (`easyapi/scraper-for-treatwell-search`) Actor

Scrape detailed salon and treatment data from Treatwell.co.uk. Extract business information, services, prices, ratings, and more. Perfect for market research and competitor analysis in the beauty industry.

- **URL**: https://apify.com/easyapi/scraper-for-treatwell-search.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 37 total users, 3 monthly users, 71.9% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Treatwell Salon Data Scraper 💇‍♀️

Extract comprehensive data from Treatwell.co.uk, the leading beauty and wellness booking platform in Europe. This Actor helps you gather detailed information about salons, treatments, pricing, and customer reviews.

### Features ✨

- 🏪 Scrape detailed salon information including name, description, and contact details
- 📍 Extract precise location data with addresses and coordinates
- ⭐ Collect customer ratings and reviews with detailed rating dimensions
- 💰 Get treatment prices and duration information
- 📅 Extract business opening hours
- 🖼️ Collect high-quality salon images in multiple resolutions
- ⚡ Fast and efficient pagination handling
- 🛡️ Built-in proxy support and anti-blocking measures

### Use Cases 🎯

- Market research and competitive analysis
- Price monitoring and comparison
- Business intelligence in the beauty industry
- Lead generation for beauty product suppliers
- Location-based service analysis
- Customer sentiment analysis

### Output 📊

The Actor provides structured JSON data including:

- Basic salon information
- Detailed location data
- Customer ratings and reviews
- Complete service menu with prices
- Operating hours
- High-quality images
- Treatment details including duration and pricing

### Input Parameters 🎛️

- `searchUrls`: Array of Treatwell search URLs to scrape
- `maxItems`: Maximum number of items to scrape (optional)
- `proxyConfiguration`: Proxy settings (optional)

### Tips 💡

- Use specific location-based search URLs for targeted results
- Adjust `maxItems` based on your needs
- Consider using proxies for large-scale scraping

Need help or have questions? Feel free to reach out through Apify Console! 🤝

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "keywords": [
        "fashion"
    ],
    "maxItems": 20
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-bristol-uk/",
        "basicInfo": {
            "id": 419506,
            "name": "The Basement Hair Studio",
            "description": "\n<p>The Basement Hair Studio, located within OMGlamour, is a hairdressing hotspot in Clifton, Bristol. Whether you simply need a hair refresh with a quick fringe trim or want to go for something more daring such as a bold new colour, book in for an appointment with the warm and professional staff today.</p>\n\n<p><b>Nearest public transport: </b><br/>\nThis well-established venue is located close to all major bus routes running from Bristol city centre and benefits from free parking nearby.</p>\n\n<p><b>The team: </b><br/>\nSadie is fully trained and experienced in all hairdressing services and Spyrit is the new apprentice at the salon currently training in a handful of new hair services.</p>\n\n<p><b>What we like about the venue:</b></p>\n\n\n<ul>\n<li>Atmosphere: Family-friendly salon, beautifully decorated and bright, friendly and welcoming to new and old clients.</li>\n<li>Specialises in: Haircutting and colouring.</li>\n<li>The extra touches: The salon offers complimentary tea, coffee and water to clients.</li></ul>",
            "venueUrl": "https://www.treatwell.co.uk/place/the-basement-hair-studio/"
        },
        "location": {
            "address": "Within OMGlamour, 17-19 Portland Street, Clifton, Bristol",
            "postalCode": "BS8 4JA",
            "coordinates": {
                "lat": 51.4556905,
                "lon": -2.6208216
            }
        },
        "rating": {
            "average": 4.87,
            "count": 484,
            "dimensions": [
                {
                    "name": "Cleanliness",
                    "average": 4.76,
                    "count": 369
                },
                {
                    "name": "Staff",
                    "average": 4.91,
                    "count": 369
                },
                {
                    "name": "Ambience",
                    "average": 4.75,
                    "count": 369
                }
            ]
        },
        "openingHours": [
            {
                "open": true,
                "dayOfWeek": "tuesday",
                "from": "10:00",
                "to": "19:00"
            },
            {
                "open": true,
                "dayOfWeek": "wednesday",
                "from": "10:00",
                "to": "18:00"
            },
            {
                "open": true,
                "dayOfWeek": "thursday",
                "from": "09:00",
                "to": "21:00"
            },
            {
                "open": true,
                "dayOfWeek": "friday",
                "from": "09:00",
                "to": "19:00"
            },
            {
                "open": true,
                "dayOfWeek": "saturday",
                "from": "08:30",
                "to": "17:00"
            }
        ],
        "images": [
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301702.w360.h240.xBB4CED08/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301702.w720.h480.xFC1BEBBF/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301702.w1080.h720.x0C1FC900/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301695.w360.h240.x01ECD64F/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301695.w720.h480.x70F4F27C/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301695.w1080.h720.x8A603B38/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301709.w360.h240.xE64F7F26/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301709.w720.h480.x57B8C734/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301709.w1080.h720.x22128243/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301703.w360.h240.xB965EC4B/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301703.w720.h480.x7A5DCFB5/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301703.w1080.h720.x3AD92298/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301704.w360.h240.x78201355/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301704.w720.h480.xD0D188F3/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301704.w1080.h720.x1705D996/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301710.w360.h240.xB1F0406A/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301710.w720.h480.xDDCF1609/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301710.w1080.h720.x1D1C8E1C/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301706.w360.h240.x62C0744C/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301706.w720.h480.xB6B3C2EF/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301706.w1080.h720.x4DA72DC9/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301705.w360.h240.x5CE04E02/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301705.w720.h480.x6E08F6AB/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301705.w1080.h720.xA6CA30CF/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301699.w360.h240.x4D955373/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301699.w720.h480.xEAB0CBBF/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301699.w1080.h720.x7C6B8BF3/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301700.w360.h240.xF6C45ED1/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301700.w720.h480.x5DDF30AC/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301700.w1080.h720.x782481DD/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301707.w360.h240.x3C9A6B71/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301707.w720.h480.x570FF19D/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301707.w1080.h720.x779B87F1/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301693.w360.h240.x01763868/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301693.w720.h480.x2840552F/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301693.w1080.h720.xA31F2C79/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301698.w360.h240.xCC8B20E7/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301698.w720.h480.x974972E6/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301698.w1080.h720.x11F5ED75/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301697.w360.h240.xF6FEF866/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301697.w720.h480.xDF9FA8A7/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301697.w1080.h720.x06985392/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301696.w360.h240.x978FB817/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301696.w720.h480.x6F634913/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301696.w1080.h720.x783A4DF3/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301701.w360.h240.xE6A0864B/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301701.w720.h480.x8491FFCC/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301701.w1080.h720.x147776A5/"
            },
            {
                "small": "https://cdn1.treatwell.net/images/view/v2.i6301692.w360.h240.x71839086/",
                "medium": "https://cdn1.treatwell.net/images/view/v2.i6301692.w720.h480.x94449F6F/",
                "large": "https://cdn1.treatwell.net/images/view/v2.i6301692.w1080.h720.x64E497A6/"
            }
        ],
        "treatments": [
            {
                "name": "hair treatment with blow dry",
                "price": {
                    "min": "30.00",
                    "max": "40.00"
                },
                "duration": {
                    "min": 45,
                    "max": 60
                }
            },
            {
                "name": "Ladies - Wet Haircut",
                "price": {
                    "min": "37.00",
                    "max": "37.00"
                },
                "duration": {
                    "min": 30,
                    "max": 30
                }
            },
            {
                "name": "Ladies - Wash, Cut & Blow Dry",
                "price": {
                    "min": "45.00",
                    "max": "55.00"
                },
                "duration": {
                    "min": 60,
                    "max": 60
                }
            }
        ],
        "scrapedAt": "2025-01-23T06:56:30.335Z"
    },
    ...
]


NOTE: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Treatwell or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.
```

# Actor input Schema

## `searchUrls` (type: `array`):

List of Treatwell search URLs to scrape

## `maxItems` (type: `integer`):

Maximum number of items to scrape (default: 100)

## `proxyConfiguration` (type: `object`):

Proxy settings - if none are provided, the scraper will use Apify Proxy

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-bristol-uk/"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/scraper-for-treatwell-search").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/scraper-for-treatwell-search").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/scraper-for-treatwell-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/scraper-for-treatwell-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/F0XxcZe0KgAhxjH5e/builds/qMsikNCpcAn7Sz7Gm/openapi.json
