# Treatwell UK Scraper - Salons, Prices & Reviews (`blackfalcondata/treatwell-co-uk-scraper`) Actor

Scrape treatwell.co.uk — records. Every record carries phone, location and rating the source publishes. Rating is included where the source lists it. Structured rows, ready to import into a CRM or a spreadsheet. The actor supports keyword search and controllable result limits.

- **URL**: https://apify.com/blackfalcondata/treatwell-co-uk-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 85.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does Treatwell UK Scraper do?

Treatwell UK Scraper extracts structured venue data from [treatwell.co.uk](https://treatwell.co.uk) — including contact details, full descriptions, location data, and ratings. It supports keyword search and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions and contact information) where the source provides them.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

- **⭐ Ratings and review counts:** `reviewCount` for every venue that has them.
- **📍 Coordinates:** `coordinates` on each venue that has a location, ready for a map.
- **🏘️ Address:** `address` and `postalCode` as separate fields for every venue that lists them.
- **📇 Contact details:** `phone` where the venue publishes them.
- **💇 Venue types:** `venueType` tells you what kind of salon or spa each venue is.
- **🕒 Opening hours:** `openingHours` where the venue publishes them.
- **🔗 Paste-mode:** paste treatwell.co.uk browse URLs (`/places/...`) or venue URLs (`/place/<venue>/`) into `startUrls` or `query` to scrape exactly the searches or salons you picked in the browser. Plain keywords are not supported - Treatwell has no keyword search.
- **📋 Detail enrichment:** two-stage scraping — list first, then enrich each listing with the full detail-page payload. One input toggle controls the depth.
- **♻️ Incremental mode:** daily runs emit only listings that are new or whose price/condition changed since last run. Perfect for inventory-diff dashboards and competitive pricing alerts. Saves 80–95% on recurring monitoring.
- **🔔 Notifications:** telegram / Slack / Discord / WhatsApp / webhook alerts on each run. Combine with incremental to ping only when prices or inventory actually move.

### What data can you extract from treatwell.co.uk?

Each result includes Core venue fields (`venueId`, `venueNumericId`, `url`, `portalUrl`, `name`, `venueType`, `subTypes`, and `location`, and more), detail fields when enrichment is enabled (`descriptionHtml`, `descriptionText`, `descriptionMarkdown`, and `detailFetched`), and contact information (`phone`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Detail enrichment is on by default and adds richer fields such as full descriptions and contact information where the source provides them.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — A treatwell.co.uk browse page URL — pick a treatment category and area on the site, then paste the resulting /places/... URL here. Every venue listed under that page is scraped. A single venue URL (/place/<venue>/) scrapes that one salon. Plain keywords are not supported. Required if no Start URLs are provided.
- **`maxResults`** — Maximum total venues to return (0 = unlimited). (default: `100`)
- **`startUrls`** — Paste one or more treatwell.co.uk browse page URLs. Each URL becomes its own task; results are merged and deduped across all URLs. When provided, Start URLs REPLACE the Browse URL field (unsupported URLs are skipped, and if none is supported the run stops with an input error). (default: `[]`)
- **`includeDetails`** — Fetch each venue's detail page for phone number, amenities, chain and published date. (default: `true`)
- **`descriptionMaxLength`** — Truncate description to N chars. 0 = no truncation. (default: `0`)
- **`compact`** — Core fields only (for AI-agent/MCP workflows). (default: `false`)
- **`descriptionFormat`** — Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others. (default: `"all"`)
- **`excludeEmptyFields`** — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: `false`)
- **`incrementalMode`** — Compare against previous run state. stateKey is optional — defaults to a value derived from your search inputs (browse URLs, start URLs) so different searches never share state. (default: `false`)
- **`stateKey`** — Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.
- **`emitUnchanged`** — When incremental, also emit venues that have not changed since the previous run. (default: `false`)
- **`emitExpired`** — When incremental, also emit venues that are no longer found. (default: `false`)
- ...and 14 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "maxResults": 50
}
```

**Incremental tracking** — Only emit venues that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured venue records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example venue record

```json
{
  "venueId": "live-true-london-clapham",
  "venueNumericId": "270771",
  "url": "https://www.treatwell.co.uk/place/live-true-london-clapham/",
  "portalUrl": "https://www.treatwell.co.uk/place/live-true-london-clapham/",
  "name": "Live True London - Clapham",
  "venueType": "Hair Salon",
  "subTypes": [
    "Beauty Salon"
  ],
  "location": "Clapham, London",
  "ratingValue": 4.6,
  "ratingAverage": 4.56,
  "reviewCount": 6990,
  "ratingDimensions": [
    {
      "name": "Ambience",
      "average": 4.48,
      "count": 5035
    },
    {
      "name": "Cleanliness",
      "average": 4.53,
      "count": 5029
    },
    {
      "name": "Staff",
      "average": 4.57,
      "count": 5033
    }
  ],
  "images": [
    "https://cdn1.treatwell.net/images/view/v2.i960496.w720.h480.x0B6892E6/",
    "https://cdn1.treatwell.net/images/view/v2.i960508.w720.h480.x97A620BB/",
    "https://cdn1.treatwell.net/images/view/v2.i960489.w720.h480.xA8918DFC/",
    "https://cdn1.treatwell.net/images/view/v2.i960506.w720.h480.xE449D690/",
    "https://cdn1.treatwell.net/images/view/v2.i960492.w720.h480.x04CFD98E/",
    "... 7 more items"
  ],
  "address": "2 Voltaire Road, Clapham North, London, SW4 6DH",
  "postalCode": "SW4 6DH",
  "coordinates": {
    "lat": 51.46466991,
    "lng": -0.1308877
  },
  "tags": [
    "Off peak and last minute"
  ],
  "services": [
    {
      "serviceId": "5019014",
      "name": "Haircut & Blow Dry with Wash",
      "duration": "1 hr - 1 hr 15 mins",
      "durationMinutes": 60,
      "displayPrice": "from £49",
      "price": 49,
      "discountText": "save up to 50%",
      "currency": "GBP"
    },
    {
      "serviceId": "5019022",
      "name": "Wash & Blow Dry",
      "duration": "45 mins",
      "durationMinutes": 45,
      "displayPrice": "from £30",
      "price": 30,
      "discountText": "save up to 50%",
      "currency": "GBP"
    },
    {
      "serviceId": "5019031",
      "name": "Men's Wash, Haircut & Style",
      "duration": "45 mins",
      "durationMinutes": 45,
      "displayPrice": "from £42",
      "price": 42,
      "discountText": "save up to 40%",
      "currency": "GBP"
    }
  ],
  "openingHours": [
    {
      "day": "monday",
      "open": true,
      "from": "09:00",
      "to": "21:00"
    },
    {
      "day": "tuesday",
      "open": true,
      "from": "09:00",
      "to": "21:00"
    },
    {
      "day": "wednesday",
      "open": true,
      "from": "09:00",
      "to": "21:00"
    },
    {
      "day": "thursday",
      "open": true,
      "from": "09:00",
      "to": "21:00"
    },
    {
      "day": "friday",
      "open": true,
      "from": "08:00",
      "to": "21:00"
    },
    "... 2 more items"
  ],
  "phone": "020 7627 0169",
  "amenities": [
    "Pet-friendly",
    "Child friendly",
    "LGBTQIA+ friendly",
    "Non-smoking throughout",
    "Vegan products",
    "... 14 more items"
  ],
  "chain": "Live True London",
  "publishedDate": "2019-11-16",
  "newVenue": false,
  "descriptionHtml": "<p>Live True London Clapham – Award-Winning Hairdressers in South London</p>\n\n<p>Located in an archway just steps from Clapham High Street Station, Live True London Clapham is an award-winning unisex...",
  "descriptionText": "Live True London Clapham – Award-Winning Hairdressers in South London Located in an archway just steps from Clapham High Street Station, Live True London Clapham is an award-winning unisex hair salon...",
  "descriptionMarkdown": "Live True London Clapham – Award-Winning Hairdressers in South London\n\nLocated in an archway just steps from Clapham High Street Station, Live True London Clapham is an award-winning unisex hair salon...",
  "source": "treatwell.co.uk",
  "searchUrl": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "scrapedAt": "2026-11-15T00:35:02.396Z",
  "contentHash": "f41a09026abc25f4",
  "listingId": "f15e2ab73ce8f7e2286ba2ea150cb042b3ee09da2cff4ff3407277193c9b0562",
  "searchQuery": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "contentQuality": "full",
  "detailFetched": true
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape treatwell.co.uk

1. Go to [Treatwell UK Scraper](https://apify.com/blackfalcondata/treatwell-co-uk-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxResults` to control how many results you need.
4. Keep `includeDetails` on (the default) for full descriptions, contact info, or turn it off for faster, cheaper runs.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract venue data from treatwell.co.uk for market research and competitive analysis.
- Monitor new and changed venues on scheduled runs without processing the full dataset every time.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Compare venues by their rating fields.

### How much does it cost to scrape treatwell.co.uk?

Treatwell UK Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.005 per run
- **Per result (primary event):** $0.0011

You are billed only for the events your run actually triggers. Prices below are the Free plan tier.

| Event | Price (Free tier) | Charged when |
|---|---|---|
| Actor Start | $0.005 (one-time) | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
| Result (primary) | $0.0011 | Single result in the default dataset. |
| Venue result | $0.00072 | Charged once per Treatwell UK venue (salon, spa or barber) record delivered to the dataset. |

Example costs (primary event only — other events above add cost when they fire):

- 10 results: **$0.016**
- 25 results: **$0.033**
- 100 results: **$0.12**
- 200 results: **$0.23**
- 500 results: **$0.56**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of venues that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 venues per run, daily polling (30 runs/month). Costs scale linearly with the number of venues.

Numbers below are for the primary **Result** event. Other events (**Venue result**) are billed separately when they fire.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.28 | $0.02 | $0.26 (93%) | $0.56 |
| 15% — moderate broad query | $0.28 | $0.05 | $0.23 (83%) | $1.39 |
| 30% — high-volume aggregator | $0.28 | $0.09 | $0.19 (69%) | $2.63 |

Full re-scrape monthly cost at the same cadence: $8.40. First month with incremental costs $0.82 / $1.62 / $2.82 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

**Run limits**: A run stops on its own after 12 hours if you set no timeout or a timeout longer than 12 hours. It also stops if it finds no new results for 60 minutes. Results collected before the stop are saved in your dataset.

### FAQ

#### How many results can I get from treatwell.co.uk?

The number of results depends on the search query and available venues on treatwell.co.uk. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Treatwell UK Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed venues on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Treatwell UK Scraper with other apps?

Yes. Treatwell UK Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Treatwell UK Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Treatwell UK Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape treatwell.co.uk?

This actor extracts publicly available data from treatwell.co.uk. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/treatwell-co-uk-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [🚗 mobile.de \[$0.59/1K💰\] Fast Scraper · Finance · Dealer GPS](https://apify.com/blackfalcondata/mobile-de-scraper?fpr=1h3gvi) — Scrape mobile.de — Germany's largest car marketplace (1.4M+ listings) at $0.6 / 1,000 results. Get.
- [1688.com Product Search Scraper](https://apify.com/blackfalcondata/1688-com-scraper?fpr=1h3gvi) — Search 1688.com wholesale products by keyword and export price, minimum order quantity and sales.
- [2dehands.be Listings Scraper Belgium](https://apify.com/blackfalcondata/2dehands-be-scraper?fpr=1h3gvi) — Scrape 2dehands.be listings by keyword, category or postcode, with car year, mileage and fuel type..
- [ALDI Scraper — Grocery Prices, 14 Countries](https://apify.com/blackfalcondata/aldi-scraper?fpr=1h3gvi) — Scrape ALDI grocery products and prices across 14 countries — the UK, Ireland, Germany, Austria,.
- [ALDI US Scraper — Grocery Prices by ZIP Code](https://apify.com/blackfalcondata/aldi-us-scraper?fpr=1h3gvi) — Scrape aldi.us grocery products with prices, sizes, brands, categories, per-unit pricing and stock..
- [Alibaba.com Product & Supplier Scraper \[Just 💰$0.63\]](https://apify.com/blackfalcondata/alibaba-com-scraper?fpr=1h3gvi) — Scrape alibaba.com — product listings by keyword or supplier country with price range, minimum.
- [Allegro.pl Scraper \[💰$0.72\] — Product Offers, Prices & Sellers](https://apify.com/blackfalcondata/allegro-pl-scraper?fpr=1h3gvi) — Scrape allegro.pl search results into structured offer rows: price, discount and delivery cost,.
- [Amazon All Countries Scraper](https://apify.com/blackfalcondata/amazon-all-countries-scraper?fpr=1h3gvi) — Scrape Amazon products from 22 marketplaces by keyword or pasted search URL, with ASIN, title,.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on treatwell.co.uk. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Treatwell UK's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

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

### Search keywords

treatwell scraper, treatwell api, apify treatwell, treatwell data extraction, treatwell uk scraper, treatwell uk api, apify treatwell uk, treatwell uk data extraction, treatwell.co.uk scraper, treatwell.co.uk data, treatwell.co.uk api.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/treatwell-co-uk-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

A treatwell.co.uk browse page URL — pick a treatment category and area on the site, then paste the resulting /places/... URL here. Every venue listed under that page is scraped. A single venue URL (/place/<venue>/) scrapes that one salon. Plain keywords are not supported. Required if no Start URLs are provided.

## `maxResults` (type: `integer`):

Maximum total venues to return (0 = unlimited).

## `startUrls` (type: `array`):

Paste one or more treatwell.co.uk browse page URLs. Each URL becomes its own task; results are merged and deduped across all URLs. When provided, Start URLs REPLACE the Browse URL field (unsupported URLs are skipped, and if none is supported the run stops with an input error).

## `includeDetails` (type: `boolean`):

Fetch each venue's detail page for phone number, amenities, chain and published date.

## `descriptionMaxLength` (type: `integer`):

Truncate description to N chars. 0 = no truncation.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `descriptionFormat` (type: `string`):

Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a value derived from your search inputs (browse URLs, start URLs) so different searches never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `emitUnchanged` (type: `boolean`):

When incremental, also emit venues that have not changed since the previous run.

## `emitExpired` (type: `boolean`):

When incremental, also emit venues that are no longer found.

## `skipReposts` (type: `boolean`):

When incremental, skip venues whose content matches a venue that disappeared in a prior run (cross-run duplicate detection).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED venues. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of venues included in each notification message (1–20).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "maxResults": 100,
  "startUrls": [],
  "includeDetails": true,
  "descriptionMaxLength": 0,
  "compact": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/treatwell-co-uk-scraper").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 = {
    "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/treatwell-co-uk-scraper").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 '{
  "query": "https://www.treatwell.co.uk/places/treatment-group-hair/offer-type-local/in-london-uk/",
  "maxResults": 100,
  "descriptionFormat": "all",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/treatwell-co-uk-scraper --silent --output-dataset

```

## MCP server setup

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

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/Ec1qVRpVd2nR9L1uR/builds/ydI9bv8q9q4UggPbd/openapi.json
