# LDLC Scraper – French PC & Tech Prices, Stock & Deals (`loudtzu/ldlc-fr-product-search`) Actor

Export ldlc.com category products: name, LDLC product and offer IDs, EUR price incl. VAT, was price, savings, web stock, star rating, review count and product link. Shared retail schema. $0.001/product + $0.0045/run. Runs saving no products incur no Actor event charges.

- **URL**: https://apify.com/loudtzu/ldlc-fr-product-search.md
- **Developed by:** [LOUDTZU TZULOUD](https://apify.com/loudtzu) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

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

## LDLC Scraper – French PC & Tech Prices, Stock & Deals

Export product prices from **ldlc.com**, one of France's largest online retailers of PC components, laptops and tech. Give it category pages; get name, LDLC product and offer IDs, price in EUR (incl. VAT), struck-through old price, saving, sale flag, web stock, star rating, review count and product link.

### Who it's for

- **French and EU PC builders and deal hunters** tracking GPUs, laptops and SSDs, especially around Black Friday.
- **Resellers, brands and price-comparison teams** benchmarking a major French tech retailer.
- **Analysts** measuring discount depth and stock across categories.
- **AI agents and MCP clients**: output follows our shared retail schema (`product`, `price`, `currency`, `store`, `country`, `url`, `timestamp` on every item), so it merges with our other EU, UK, Canadian and Australian store Actors.

### How to use it

1. **Just run it:** with no input it saves 100 graphics cards.
2. Or paste category pages copied from ldlc.com: the address ends in `/c<number>/`, e.g. `https://www.ldlc.com/informatique/ordinateur-portable/pc-portable/c4265/`.
3. Set **Max products**, **On sale only** or **In stock only**.

Example input:

```json
{"categoryUrls": ["https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/", "https://www.ldlc.com/informatique/ordinateur-portable/pc-portable/c4265/"], "maxItems": 120, "onSaleOnly": true}
```

### Input

| Field | Default | What it does |
|---|---|---|
| `categoryUrls` | Graphics cards | ldlc.com category listing pages (search, product, filtered `+fv` and non-French storefront pages are rejected) |
| `maxItems` | 100 | Total products, split fairly across categories (1 to 500 per run; at most 15 pages per category) |
| `onSaleOnly` | false | Only products shown with a struck-through old price |
| `inStockOnly` | false | Only products shown as in stock on the web shop |
| `proxyConfiguration` | off | Direct by default; switches to the Apify datacenter proxy by itself if blocked (never residential) |

### Output

Example item (local test run, 2026-11-15, Laptops, on sale only):

```json
{
 "product": "GIGABYTE GAMING A16 EVHS3FR894SH",
 "price": 1299.95,
 "currency": "EUR",
 "store": "LDLC",
 "country": "FR",
 "url": "https://www.ldlc.com/fiche/PB00750097.html",
 "timestamp": "2026-11-15T21:51:46Z",
 "productId": "PB00750097",
 "sku": "AR202608040042",
 "brand": null,
 "wasPrice": 1499.95,
 "onSale": true,
 "availability": "InStock",
 "stockText": "En stock",
 "rating": 5.0,
 "reviewCount": 4,
 "category": "Informatique > Ordinateur portable > PC portable",
 "marketplace": false,
 "savings": 200.0,
 "position": 236,
 "categoryUrl": "https://www.ldlc.com/informatique/ordinateur-portable/pc-portable/c4265/"
}
```

| Field | Notes |
|---|---|
| `product`, `price`, `currency` (EUR), `store`, `country` (FR), `url`, `timestamp` | Always filled (shared retail schema core). Consumer prices incl. VAT as shown on the site |
| `productId`, `sku` | LDLC product ID (PB…, the record key) and offer ID (AR…) |
| `wasPrice`, `onSale`, `savings` | Struck-through old price, sale flag and saving in EUR (`wasPrice` equals `price` when not on sale) |
| `availability`, `stockText` | Web stock: InStock / OutOfStock (null for delayed items such as "Sous 7 jours") and the label as shown |
| `rating`, `reviewCount` | Star rating in half stars and number of reviews; counts only |
| `category`, `marketplace`, `position` | French breadcrumb path, marketplace-seller flag, listing position |
| `brand` | Not shown on LDLC listings, always null (kept for the shared schema) |
| `categoryUrl` | The category page from `categoryUrls` the product was found on (cleaned listing URL) |

In local test runs (2026-11-15) a 100-product Graphics cards run filled every core field, IDs, stock label and category for all 100 items; 98 had an InStock/OutOfStock value and 62 a rating. Products shown without a price (some marketplace or unavailable items) are skipped and not charged.

Only facts and links are exported: no product descriptions or spec lines, no review text, no image files and no personal data.

### What to expect from a run

- The Actor reads public category pages (48 products each): the price and web stock each page publishes for its product tiles; 500 products (the per-run maximum) take about 30 s.
- Built for targeted price checks on small category extracts, not full-catalogue copies: at most 500 products per run and 15 pages per category.
- Search pages are not supported (robots.txt disallows `/recherche/`); use categories.
- A wrong URL, an unknown category, a block or an empty result ends with a clear message and **no charge at all**. Problems are listed in the `ERRORS` record.

### Pricing

Pay per event: **$0.0045 per run** (`run-start`, charged once and only when the run saves at least one product) + **$0.001 per product** saved. 1 product costs $0.0055, 100 products $0.1045, 500 products (the per-run maximum) $0.5045. Runs that save nothing (bad input, blocked, unknown category) cost nothing.

### Other LDLC Actors (prices checked 2026-11-15)

| Actor | Plan | Price per result | Start fee | Cheaper option |
|---|---|---|---|---|
| studio-amba/ldlc-scraper | FREE | $0.002 | $0.005 | This Actor at every run size |
| studio-amba/ldlc-scraper | BRONZE | $0.002 | $0.005 | This Actor at every run size |
| studio-amba/ldlc-scraper | SILVER | $0.0015 | $0.005 | This Actor at every run size |
| studio-amba/ldlc-scraper | GOLD and up | $0.0012 | $0.005 | This Actor at every run size |
| 123webdata/ldlc-scraper | All plans | $0.005 | none | 123webdata is cheaper on 1-product runs ($0.005 vs our $0.0055); this Actor from 2 products |
| **This Actor** | All plans | **$0.001** | $0.0045 (only when products are saved) | |

123webdata is cheaper on 1-product runs ($0.005 vs our $0.0055). This Actor is cheaper from 2 products (2: $0.0065 vs $0.010; 100: $0.1045 vs $0.50). studio-amba costs more at every run size (1 product: $0.0062–$0.007 vs our $0.0055).

### Privacy and legal

The Actor reads only public category pages that any visitor's browser loads without logging in, at a low request rate (one page every 1.5–2.5 s), and exports product facts and links only, never personal data, descriptions or images. LDLC's Conditions Générales de Vente (read on 2026-11-15 and searched for automation, reuse and linking clauses) are terms of sale; they have no clause about automated access or reuse of prices. Its legal notice reserves reproduction of the site, logos and images, so the Actor copies no texts or images, only prices, stock, IDs and links. It never opens search, basket, stock-detail or account pages, which robots.txt disallows. You are responsible for how you use the data.

### FAQ

**Where do I find a category URL?** Open the category on ldlc.com (for example *Cartes graphiques*) and copy the address bar; it ends in `/c<number>/`.
**Do I pay for a failed run?** No. Nothing is charged, not even the run fee, unless products are saved.
**Belgian, Swiss or Luxembourg prices?** Not yet: the Actor reads the French storefront (prices incl. French VAT).

# Actor input Schema

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

ldlc.com category listing pages copied from the site (address ending in /c<number>/), e.g. https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/. Search, product, filtered (+fv) and non-French storefront pages are rejected. Leave as is for a 'just run it' call (Graphics cards).

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

Total products across all categories (default 100, at most 500 per run). Split fairly; unused share passes to the next category. 48 products per page, at most 15 pages per category.

## `onSaleOnly` (type: `boolean`):

Keep only products shown with a struck-through old price (skipped products are not charged).

## `inStockOnly` (type: `boolean`):

Keep only products shown as in stock on the web shop.

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

Off by default: the site answers direct requests. If it blocks, the run switches to the Apify datacenter proxy by itself (never residential).

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/"
  ],
  "maxItems": 100,
  "onSaleOnly": false,
  "inStockOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (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 = {
    "categoryUrls": [
        "https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("loudtzu/ldlc-fr-product-search").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 = {
    "categoryUrls": ["https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("loudtzu/ldlc-fr-product-search").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 '{
  "categoryUrls": [
    "https://www.ldlc.com/informatique/pieces-informatique/carte-graphique-interne/c4684/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call loudtzu/ldlc-fr-product-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,loudtzu/ldlc-fr-product-search"
        }
    }
}
```

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/XSXJ1zLnY7j2osCk1/builds/xSAvtKesVql5NnEkM/openapi.json
