# Screwfix Scraper — UK Trade Tools & Hardware Products (`studio-amba/screwfix-scraper`) Actor

Scrape products, prices, and specifications from Screwfix.com. UK's leading trade tools and hardware retailer with 25,000+ products.

- **URL**: https://apify.com/studio-amba/screwfix-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 13 total users, 0 monthly users, 86.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 result scrapeds

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

## Screwfix Product Data Scraper

Get Screwfix product data on tools, electrical supplies, plumbing parts, and building materials from screwfix.com, the UK's dominant trade supplier. If you've ever needed structured data on 30,000+ trade products with specs, this is it.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | Search term (e.g., `"drill"`, `"pipe fittings"`) |
| `categoryUrls` | array | Category page URLs |
| `maxResults` | integer | Limit (default: 100) |
| `proxyConfiguration` | object | Proxy settings |

Falls back to searching "drill" if no input provided.

### Output

| Field | Type | Example |
|-------|------|---------|
| `name` | string | `"DeWalt DCD778D2T Combi Drill 18V 2x2.0Ah"` |
| `brand` | string | `"DeWalt"` |
| `price` | number | `129.99` |
| `originalPrice` | number | `149.99` |
| `currency` | string | `"GBP"` |
| `sku` | string | `"7291K"` |
| `ean` | string | `"5035048123456"` |
| `inStock` | boolean | `true` |
| `rating` | number | `4.7` |
| `reviewCount` | number | `432` |
| `url` | string | Product URL |
| `imageUrl` | string | Product image |
| `category` | string | `"Power Tools > Drills > Combi Drills"` |
| `description` | string | Full description |
| `specs` | object | `{"Voltage": "18V", "Battery": "2x2.0Ah Li-ion"}` |

### Specs extraction

The scraper pulls technical specifications from table rows and key-value pair elements on the page. For trade products, this typically includes voltage, dimensions, weight, material, IP rating, etc.

### Cost

\~800 products per $1 via HTTP.

The scraper reads one product page per product, plus one listing page per 20
products, so a run of 100 products costs about 105 requests. A run's usage cost
only settles once the run SUCCEEDS.

### Search behaviour

Screwfix answers a search in three ways, and this actor handles each one:

- **Several matches** — a listing, paged 20 products at a time. The scraper
  follows the next-page link until it reaches `maxResults` or the last page.
- **Exactly one match** — Screwfix redirects to that product's own page. A
  search for a product code such as `87161067960` returns that single product.
- **No match** — Screwfix redirects to its "no search results found" page. The
  run fails with a message saying so. That is the site's own answer about your
  search term, not a scraping error; try a broader term.

### Notes

- Product URLs match `/p/` pattern
- Prices in GBP
- Breadcrumbs joined with `>` separator

### How to scrape Screwfix data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Configure your search query or URL, set the maximum number of results, and adjust proxy settings if needed.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, Excel, or connect it to your workflow via API.

You can also schedule regular runs, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

### Tips and tricks

- **Start small**: test with `maxResults: 5` before running large scrapes.
- **Use proxies**: residential proxies give the best success rates for Screwfix.
- **Schedule runs**: set up recurring runs to keep your data fresh automatically.
- **Integrate via API**: use the [Apify API](https://docs.apify.com/api) or [client libraries](https://docs.apify.com/api/client) to fetch results programmatically.
- **No login required**: this actor scrapes publicly available data without needing an account.

### Limitations

- Data is scraped from the public website and may change without notice.
- Some products or listings may not be available in all regions.
- Very large scraping jobs may be slower due to proxy rotation and rate limiting.
- Respect the website's terms of service and use responsibly.

### Features

- **No login required** — scrapes publicly available data from Screwfix without needing credentials or cookies.
- **Structured output** — results are returned as clean JSON objects, ready for processing.
- **Pagination handling** — automatically follows multiple pages of results.
- **Proxy support** — configurable proxy settings for reliable, large-scale scraping.
- **Flexible input** — search by keyword, provide specific URLs, or crawl categories.
- **Scheduled runs** — run on a schedule to keep your dataset up to date automatically.
- **API access** — integrate results into your workflow using the Apify API or webhooks.

### FAQ

**Is it legal to scrape Screwfix?**
Web scraping of publicly available data is generally permitted. This actor only accesses information that is publicly visible to any website visitor. Always review the website's terms of service before scraping.

**How often should I run this scraper?**
For price monitoring or competitive intelligence, daily or weekly runs are common. Set up a [schedule](https://docs.apify.com/schedules) in Apify Console to automate this.

**Can I export the data to Google Sheets or Excel?**
Yes. After each run, you can download results in CSV, JSON, or Excel format directly from Apify Console. You can also connect results to Google Sheets using Apify integrations.

**What if the scraper stops working?**
Websites change their structure occasionally. If you notice issues, please open an issue on the actor's page. We actively maintain this scraper and fix issues promptly.

### Need help?

If you have questions about this actor, need a custom modification, or want automated data delivery, reach out at [studioamba.dev](https://studioamba.dev) or open an issue on this actor's page.

We maintain 300+ web scrapers across Europe and offer managed data services for businesses that need structured data on a recurring basis.

# Actor input Schema

## `searchQuery` (type: `string`):

Search term to find products on Screwfix.com (e.g., 'drill', 'screwdriver', 'paint').

## `categoryUrls` (type: `array`):

List of Screwfix category or search URLs to scrape products from.

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

Maximum number of products to scrape. Set to 0 for unlimited.

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

Select proxies to use for scraping.

## Actor input object example

```json
{
  "searchQuery": "drill",
  "categoryUrls": [
    {
      "url": "https://www.screwfix.com/c/tools/drills/cat830704"
    }
  ],
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "drill",
    "categoryUrls": [
        {
            "url": "https://www.screwfix.com/c/tools/drills/cat830704"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/screwfix-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 = {
    "searchQuery": "drill",
    "categoryUrls": [{ "url": "https://www.screwfix.com/c/tools/drills/cat830704" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/screwfix-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 '{
  "searchQuery": "drill",
  "categoryUrls": [
    {
      "url": "https://www.screwfix.com/c/tools/drills/cat830704"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call studio-amba/screwfix-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/screwfix-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/tzOmxIIqqqRgGYNrI/builds/0qtppyHN7KHkGfWYp/openapi.json
