# Rated People Scraper (`crawlerbros/rated-people-scraper`) Actor

Scrape ratedpeople.com, the UK's tradesperson directory. Browse rated builders, plumbers, electricians and 200+ other trades by category and town/city, or fetch specific profiles. Get company name, trade, rating, reviews, and more.

- **URL**: https://apify.com/crawlerbros/rated-people-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, Lead generation, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Rated People Scraper

Scrape [Rated People](https://www.ratedpeople.com) — the UK's tradesperson
directory. Browse rated builders, plumbers, electricians, roofers, and 200+
other trade categories nationally or by town/city, or fetch specific
tradesperson profiles directly. Get company name, trade(s) and skills,
rating, review count, description, and (optionally) full profile detail
including verified status, work area, gallery images, and up to 10 recent
reviews. No login, no cookies, no paid proxy required.

### What this actor does

- **Browse by trade** — pick any of 200+ trade categories (bricklayers,
  plumbers, electricians, roofers, painters & decorators, gardeners, and
  many more) and get a ranked list of rated tradespeople.
- **Narrow by UK town/city** — add a location (e.g. "London") to see
  tradespeople serving that area. Rated People only publishes a dedicated
  town page for a handful of towns; for any other town the actor
  automatically falls back to the nationwide listing for that trade and
  reports the fallback in the run's status message, so you always get
  useful results instead of a silent empty run.
- **Fetch specific profiles** — supply one or more Rated People profile
  URLs to pull full details for known companies.
- **Filter results** — minimum rating, minimum review count, keyword
  match, verified-only.
- **Enrich with full profile data** — optionally visit each tradesperson's
  full profile page for town/postcode, work-area coverage, badges,
  verification status, gallery images, and detailed recent reviews.
- **Empty fields are omitted** — only fields Rated People actually
  publishes for a given tradesperson are included; the actor never
  fabricates placeholder values.

### Output per tradesperson

Every record always includes `companyName`, `profileUrl`, `sourceUrl`,
`recordType`, and `scrapedAt`. Other fields are included only when Rated
People actually provides them for that tradesperson (no null/placeholder
values are ever emitted):

| Field | Description |
|---|---|
| `companyName` | Trading name of the tradesperson/company |
| `profileUrl` / `sourceUrl` | Canonical Rated People profile URL |
| `primaryTrade` | Main trade (e.g. "Bricklayer") |
| `trades` | All trades this company is listed under |
| `skills` | Specific skills/services offered |
| `ratingOutOf10` | Average rating on Rated People's native 0-10 scale (listing pages) |
| `ratingOutOf5` | Average rating on the 0-5 scale (only present when `fetchFullProfile` is on) |
| `reviewCount` | Number of reviews |
| `description` | Company's own description |
| `avatarUrl` | Profile photo/logo URL |
| `latestReview` | Most recent review (rating, comment, author, date) — listing mode |
| `topReviews` | Up to 10 recent reviews (rating, comment, author, date, job type) — `fetchFullProfile` only |
| `town` / `postcode` | Registered business location — `fetchFullProfile` only |
| `workAreaCoordinates` | Polygon of `[lat, lon]` points describing the area this tradesperson covers — `fetchFullProfile` only |
| `coverImageUrl` | Profile cover/hero image — `fetchFullProfile` only |
| `workGalleryImageUrls` | Up to 10 work photo URLs — `fetchFullProfile` only |
| `badges` | Platform badges (e.g. "Member for 4 years") — `fetchFullProfile` only |
| `isVerified` / `isActive` / `isNewJoiner` | Profile status flags — `fetchFullProfile` only |
| `ratingsBreakdown` | Count of ratings per star (`{"1": n, ..., "5": n}`), only present when the profile has at least one rating — `fetchFullProfile` only |
| `verificationFlags` | Currently-active compliance/verification badges (e.g. `SIRA_VERIFIED`, `KYC_VERIFIED`, `CODE_OF_CONDUCT`) — `fetchFullProfile` only |
| `searchTradeCategory` / `searchLocation` | Echo of the search inputs used |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `byTrade` | `byTrade` (browse by trade category) or `byProfileUrls` (fetch specific profiles) |
| `tradeCategory` | string | `plumbers` | Trade/skill category to browse (mode=byTrade); 200+ real categories |
| `location` | string | `London` | Optional UK town/city to narrow results (mode=byTrade) |
| `profileUrls` | array | – | Full profile URLs or bare slugs to fetch directly (mode=byProfileUrls) |
| `fetchFullProfile` | boolean | `false` | Also visit each tradesperson's full profile page for extra fields (mode=byTrade) |
| `minRating` | integer | `0` | Minimum average rating, 0-10 scale (records without a rating always pass) |
| `minReviewCount` | integer | `0` | Minimum number of reviews |
| `keyword` | string | – | Case-insensitive substring match against company name, description, trades, and skills |
| `verifiedOnly` | boolean | `false` | Only include verified profiles (effective only when `fetchFullProfile` is on) |
| `maxItems` | integer | `20` | Maximum number of tradesperson records to return (1-200) |

#### Example: browse plumbers in London

```json
{
  "mode": "byTrade",
  "tradeCategory": "plumbers",
  "location": "London",
  "maxItems": 20
}
```

#### Example: browse a trade nationwide with filters

```json
{
  "mode": "byTrade",
  "tradeCategory": "electricians",
  "minRating": 8,
  "minReviewCount": 5,
  "maxItems": 20
}
```

#### Example: enrich with full profile data

```json
{
  "mode": "byTrade",
  "tradeCategory": "roofers",
  "location": "London",
  "fetchFullProfile": true,
  "verifiedOnly": true
}
```

#### Example: fetch specific profiles

```json
{
  "mode": "byProfileUrls",
  "profileUrls": ["https://www.ratedpeople.com/profile/avon-stone-contractors"]
}
```

**Note:** Rated People's own trade/location listing page returns its
first page of results (typically ~20) per zero-cost fetch; it does not
expose further pagination through this surface. To reach more records,
combine `tradeCategory` with several different trade categories across
separate runs. `location` is confirmed reliable for `"London"`; most
other town/city names don't have a dedicated page on ratedpeople.com and
the actor transparently falls back to nationwide results for that trade
instead of returning nothing.

### Use cases

- **Lead generation for trade suppliers** — target tradespeople by trade
  and location for B2B outreach (tools, materials, insurance, finance).
- **Local market research** — compare tradesperson density, ratings, and
  review volume across UK towns and trades.
- **Directory / comparison sites** — mirror curated trade listings with
  ratings and reviews for a specific niche or region.
- **Reputation monitoring** — track a company's rating, review count, and
  recent reviews over time via `byProfileUrls`.
- **Verification audits** — filter for `verifiedOnly` profiles to build a
  vetted shortlist of compliant tradespeople.

### FAQ

**Do I need to provide cookies, login, or a proxy?**
No. The actor works with zero-cost, proxy-free requests against Rated
People's own server-rendered pages. A free Apify datacenter proxy is
engaged automatically only as a fallback if repeated requests are
temporarily blocked.

**Why do some records have fewer fields than others?**
Only fields Rated People actually publishes for a given tradesperson are
included — the actor never fabricates placeholder values. Turn on
`fetchFullProfile` for the fullest set of fields per record.

**What does "rating" mean?**
Listing pages report ratings on Rated People's native 0-10 scale
(`ratingOutOf10`); the individual profile page shows the same rating on a
0-5 scale (`ratingOutOf5`) when `fetchFullProfile` is enabled. Both are
kept as-is (not force-converted) so you can compare against the site
directly.

**Is this actor global?**
Rated People is a UK-only tradesperson directory; all data reflects UK
businesses and UK towns/cities.

**Why does a plain `curl`/browser fetch of a `profileUrl` return a
Cloudflare challenge page?**
`profileUrl`/`sourceUrl`/`avatarUrl` values are real, valid links that
render normally in an ordinary browser tab. Rated People fronts its site
with Cloudflare bot protection that blocks bare `curl`/script requests
(no cookies, no JS) with a 403 challenge page — this is a Rated People
anti-bot behavior, not a broken link. The actor itself renders pages with
a stealth-patched headless browser, which the site allows through.

# Actor input Schema

## `mode` (type: `string`):

byTrade: browse rated tradespeople by trade category (and optional UK town/city). byProfileUrls: fetch specific tradesperson profiles directly by URL.

## `tradeCategory` (type: `string`):

Trade/skill category to browse. Required for mode=byTrade.

## `location` (type: `string`):

Narrow results to a UK town or city. ratedpeople.com only publishes a dedicated town page for a handful of towns ("London" is confirmed reliable); for any other town the actor automatically falls back to the nationwide listing for this trade and reports the fallback in the run's status message, so you always get results instead of a silent 0. Leave blank for the national listing for this trade.

## `profileUrls` (type: `array`):

Full ratedpeople.com/profile/... URLs (or bare profile slugs) to fetch directly. Required for mode=byProfileUrls.

## `fetchFullProfile` (type: `boolean`):

For mode=byTrade: also visit each tradesperson's full profile page for extra fields (town/postcode, work-area coordinates, badges, verified status, gallery images, up to 10 detailed reviews). Roughly doubles requests and run time.

## `minRating` (type: `integer`):

Only include tradespeople whose average rating is at least this value, on Rated People's native 0-10 scale (e.g. 8 = 4-out-of-5 stars or better). Records missing a rating always pass.

## `minReviewCount` (type: `integer`):

Only include tradespeople with at least this many reviews. Records missing a review count always pass.

## `keyword` (type: `string`):

Only include tradespeople whose company name, description, trades, or skills contain this text (case-insensitive).

## `verifiedOnly` (type: `boolean`):

Only include profiles flagged as verified by Rated People. Requires `fetchFullProfile` to be effective (verification status is only present on the full profile page); listing-only records always pass this filter.

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

Maximum number of tradesperson records to return. Note: for mode=byTrade, ratedpeople.com's listing page only ever renders its first ~20 results per trade/town (no working pagination on that route), so byTrade output caps around 20 regardless of this value; use mode=byProfileUrls with specific profile links to fetch more than 20.

## Actor input object example

```json
{
  "mode": "byTrade",
  "tradeCategory": "plumbers",
  "location": "London",
  "profileUrls": [],
  "fetchFullProfile": false,
  "minRating": 0,
  "minReviewCount": 0,
  "keyword": "",
  "verifiedOnly": false,
  "maxItems": 20
}
```

# Actor output Schema

## `tradespeople` (type: `string`):

Dataset containing all scraped tradesperson records.

# 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 = {
    "mode": "byTrade",
    "tradeCategory": "plumbers",
    "location": "London",
    "profileUrls": [],
    "fetchFullProfile": false,
    "minRating": 0,
    "minReviewCount": 0,
    "keyword": "",
    "verifiedOnly": false,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/rated-people-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 = {
    "mode": "byTrade",
    "tradeCategory": "plumbers",
    "location": "London",
    "profileUrls": [],
    "fetchFullProfile": False,
    "minRating": 0,
    "minReviewCount": 0,
    "keyword": "",
    "verifiedOnly": False,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/rated-people-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "mode": "byTrade",
  "tradeCategory": "plumbers",
  "location": "London",
  "profileUrls": [],
  "fetchFullProfile": false,
  "minRating": 0,
  "minReviewCount": 0,
  "keyword": "",
  "verifiedOnly": false,
  "maxItems": 20
}' |
apify call crawlerbros/rated-people-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/rated-people-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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