# Boohoo Category Scraper (`jackwenyoung/boohoo-category-scraper`) Actor

It scrapes product details and image urls on boohoo.com based on its categories.

- **URL**: https://apify.com/jackwenyoung/boohoo-category-scraper.md
- **Developed by:** [Jack Wenyoung](https://apify.com/jackwenyoung) (community)
- **Categories:** E-commerce, SEO tools
- **Stats:** 11 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 this scraper do?

Boohoo Category Scraper will scrape all products details from Boohoo.com based on the category links you provide.

### How much will it cost to scrape?

Boohoo Category Scraper is efficient and cheap to run.
It will only cost $0.13 per 1000 requests on top of the monthly rental fee.

### Why scrape Boohoo products?

- Monitor the performance of categories and subcategories on Amazon so you can put the performance of your products into context.
- Discover up-and-coming brands and products to benchmark your performance within its category based on views, conversions, and reviews.
- Fine-tune your advertising and messaging.
- Use Boohoo data to give you an edge in competitive intelligence.

For more inspiration, check out [how web scraping is transforming e-commerce analytics](https://apify.com/industries/ecommerce-and-retail).

### How to scrape

You can fill the `Start URLs` with the category links you want to scrape.
Don't forget to increase the `Max Requests per Crawl` if the products number is large.

### Example results

The output of Boohoo Category Scraper is stored in a dataset and will look something like this:

```JSON
[{
  "url": "https://www.boohoo.com/short-sleeve-textured-tonal-check-shirt/BMM52431.html?color=105",
  "title": "Short Sleeve Textured Tonal Check Shirt",
  "priceCurrency": "GBP",
  "original_price": 20,
  "discount_price": 14,
  "discount_percent": "30% OFF",
  "color": "black",
  "sizes": [
    "XS",
    "S",
    "M",
    "L",
    "XL"
  ],
  "product_image_urls": [
    "https://media.boohoo.com/i/boohoo/bmm52431_black_xl/male-black-short-sleeve-textured-tonal-check-shirt?w=414&qlt=default&fmt.jp2.qlt=70&fmt=auto&sm=fit 1x",
    "https://media.boohoo.com/i/boohoo/bmm52431_black_xl_1/male-black-short-sleeve-textured-tonal-check-shirt?w=414&qlt=default&fmt.jp2.qlt=70&fmt=auto&sm=fit 1x",
    "https://media.boohoo.com/i/boohoo/bmm52431_black_xl_2/male-black-short-sleeve-textured-tonal-check-shirt?w=414&qlt=default&fmt.jp2.qlt=70&fmt=auto&sm=fit 1x"
  ],
  "product_details": "\nStay in check with our range of men's checked shirts. Layer your checked shirt with a plain t-shirt for that iconic look or button up a long sleeve checked shirt for formal events. With the right print, whether it's a men's red check print shirt or a staple monochrome piece, you can't go wrong this season. Style: Checked ShirtDesign: CheckFabric: PolyesterLength: RegularSleeve Length: Short Sleeve\n98% Polyester 2% Elastane. Model is 6'1 and wears size M\n\nCheck your size here: \n\nSize guide\n\n\n\n\n#BMM52431\n\n\n\n \n"
}]

```

# Actor input Schema

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

URLs to start with.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of requests that can be made by this crawler.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.boohoo.com/mens/collections/going-out-clothes/tops"
    }
  ],
  "maxRequestsPerCrawl": 20
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.boohoo.com/mens/collections/going-out-clothes/tops"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jackwenyoung/boohoo-category-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 = { "startUrls": [{ "url": "https://www.boohoo.com/mens/collections/going-out-clothes/tops" }] }

# Run the Actor and wait for it to finish
run = client.actor("jackwenyoung/boohoo-category-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 '{
  "startUrls": [
    {
      "url": "https://www.boohoo.com/mens/collections/going-out-clothes/tops"
    }
  ]
}' |
apify call jackwenyoung/boohoo-category-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jackwenyoung/boohoo-category-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/iTjlmoKIfuw0trfwf/builds/PysukjhRyCybKbkbY/openapi.json
