# JBC Scraper — Belgian Fashion, Clothing & Prices (`studio-amba/jbc-scraper`) Actor

Scrape products, prices, and availability from JBC.be. Belgian fashion retailer for women, men, kids & baby. Supports search, category browsing, and bilingual output (NL/FR).

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

## Pricing

from $2.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?

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

## JBC Scraper

Scrapes clothing and fashion products from jbc.be, a popular Belgian family fashion chain. Supports both Dutch and French storefronts.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `categoryUrl` | String | No | JBC category page URL |
| `searchQuery` | String | No | Search term (e.g., "jeans", "winterjas") |
| `maxResults` | Integer | No | Max products (default: 100) |
| `language` | String | No | `nl` (default) or `fr` |
| `proxyConfiguration` | Object | No | Proxy settings |

Without input, scrapes the four main clothing categories (dames, heren, meisjes, jongens).

### Output

| Field | Type | Example |
|-------|------|---------|
| `name` | String | `"Slim fit jeans"` |
| `brand` | String | `"JBC"` |
| `price` | Number | `39.95` |
| `originalPrice` | Number | `49.95` |
| `currency` | String | `"EUR"` |
| `sku` | String | `"314071"` |
| `inStock` | Boolean | `true` |
| `imageUrl` | String | Product image |
| `imageUrls` | Array | All variant images |
| `description` | String | Product description |
| `color` | String | `"Donkerblauw"` |
| `category` | String | `"Dames > Kleding > Jeans"` |
| `categories` | Array | Breadcrumb trail |
| `language` | String | `"nl"` |

### How it works

Product discovery on listing pages uses a clever trick: JBC embeds CQuotient tracking scripts on each product tile with `cq_params.products = [{ id: '314071BLD' }]`. The scraper extracts these product IDs, strips the color suffix to get the base product ID, and constructs product detail URLs.

Product pages use JSON-LD Product data for extraction. Color variants and sale prices come from HTML elements.

Pagination uses `start=` and `sz=` URL parameters (Salesforce Commerce Cloud pattern). The scraper reads the "X van Y items" text to know when to stop paginating.

### Cost

About **$0.35 per 1,000 products** (visits detail pages for each product).

### Notes

- Belgian fashion chain with only own-brand products
- URL structure: `/nl-be/` for Dutch, `/fr-be/` for French
- Default page size is 72 items per listing page
- Product IDs like "314071BLD" consist of a numeric base + color code suffix

### How to scrape Jbc 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 Jbc.
- **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 Jbc 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 Jbc?**
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.

# Actor input Schema

## `categoryUrl` (type: `string`):

A JBC.be category page URL to scrape. Example: https://www.jbc.be/nl-be/dames/kleding/. If empty and no search query, scrapes main categories.

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

Search for products by keyword (e.g., 'jeans', 't-shirt'). Uses JBC search.

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

Maximum number of products to return.

## `language` (type: `string`):

Language for product data. Affects URL prefix (/nl-be/ or /fr-be/).

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

Proxy settings. Usually not needed for JBC.be.

## Actor input object example

```json
{
  "categoryUrl": "https://www.jbc.be/nl-be/dames/kleding/",
  "searchQuery": "jeans",
  "maxResults": 100,
  "language": "nl",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BE"
  }
}
```

# 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 = {
    "categoryUrl": "https://www.jbc.be/nl-be/dames/kleding/",
    "searchQuery": "jeans",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "BE"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/jbc-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 = {
    "categoryUrl": "https://www.jbc.be/nl-be/dames/kleding/",
    "searchQuery": "jeans",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BE",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/jbc-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 '{
  "categoryUrl": "https://www.jbc.be/nl-be/dames/kleding/",
  "searchQuery": "jeans",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BE"
  }
}' |
apify call studio-amba/jbc-scraper --silent --output-dataset

```

## MCP server setup

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