# Dealabs Deals - Prices, Discounts, Heat & Merchants (`xtracto/dealabs-deals-scraper`) Actor

Scrape deals from Dealabs, France's biggest deal community: title, price, previous price, computed discount, community heat score, comment count, merchant, voucher code and shipping. Reads the page's own structured deal objects, not the rendered text. HTTP-only, no account.

- **URL**: https://apify.com/xtracto/dealabs-deals-scraper.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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/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

## Dealabs Deals — Prices, Discounts, Heat & Merchants

Scrape deals from **Dealabs**, France's biggest deal community: title, price, previous price, a
computed discount, the community heat score, comment count, merchant, voucher code and shipping.
HTTP-only, no account, no browser.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | *required* | Homepage, a group (`/groupe/informatique`), a merchant page or a search |
| `maxDealsPerUrl` | integer | `120` | Deals come 30 to a page |
| `maxPages` | integer | `10` | Stops early at the end of the list |
| `includeExpired` | boolean | `false` | Expired deals are filtered out and counted in the log |
| `maxConcurrency` | integer | `2` | Listings in parallel; pages stay sequential |

### Output

```jsonc
{
  "_input": "https://www.dealabs.com/groupe/informatique",
  "_source": "S1-data-vue3",
  "_scrapedAt": "2026-09-09T00:56:22Z",
  "_page": 1,

  "dealId": "3405208",
  "title": "Clavier sans fil Logitech K400 Plus … (Via ODR 20€)",
  "price": 10.55,
  "previousPrice": 30.4,
  "discountPercent": 65.3,
  "temperature": 6139.33,        // Dealabs' community heat score
  "commentCount": 151,
  "merchantName": "E.Leclerc", "merchantId": 195,
  "voucherCode": null,
  "shippingPrice": 0, "shippingIsFree": null,
  "isExpired": false, "isHot": true, "isSuperHot": false, "isTopDeal": false,
  "publishedAt": "2026-09-07T…Z", "postedBy": "…",
  "dealUrl": "https://www.dealabs.com/share-deal/3405208"
}
```

100 deals in testing, every core field populated.

### How it works

Each deal card is an `<article>` whose descendant carries a **`data-vue3` attribute holding the
whole deal object as JSON** — price, comparison price, temperature, merchant, voucher, shipping
and status flags. That is the source. Scraping the rendered text would recover a fraction of it
and break on every restyle, so **no CSS selector is used for field extraction at all**.

Pagination is `?page=N`, 30 a page, verified with **zero overlap** between consecutive pages.

#### Two fields that need care

**`previousPrice` is `0`, not null, when there is no comparison price.** Passed through raw, that
lets a consumer compute a 100% discount off a price that never existed. It is normalised to
`null`, and `discountPercent` is only computed when both prices are real — 54 of 100 deals in
testing had a genuine comparison price, and exactly those 54 got a discount.

**`percentage` is often 0 on live deals that do have a discount.** The site publishes it but does
not always set it, so the discount is computed from the two prices instead. Dealabs' own value is
still passed through as `publishedPercentage` if you want it.

### Known limits

| Limit | Detail |
|---|---|
| Deduplication is per start URL | The homepage and a group page can both carry the same deal; run one listing per input if you need a globally unique set |
| `keywords` is empty | Present in Dealabs' schema but unset on every list card observed — kept in case that changes |
| List view only | Deal descriptions and comments live on the deal page, which this actor does not fetch |
| `outboundUrl` is often empty | The merchant link is behind a redirect on the deal page, not in the list payload |

# Actor input Schema

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

Dealabs listing URLs — the homepage, a group (https://www.dealabs.com/groupe/informatique), a merchant page or a search. Build the view you want in the browser and paste the URL.

## `maxDealsPerUrl` (type: `integer`):

Deals come 30 to a page.

## `maxPages` (type: `integer`):

Paging stops early at the end of the list.

## `includeExpired` (type: `boolean`):

Off by default — expired deals are filtered out and counted in the log. Turn on to keep them, e.g. for price history.

## `maxRounds` (type: `integer`):

How many times to repeat the TLS profile ladder on a refused page.

## `maxConcurrency` (type: `integer`):

Listing URLs in parallel; pages within one listing stay sequential.

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

Optional. A French exit is closest to a normal visitor.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.dealabs.com/",
    "https://www.dealabs.com/groupe/mode"
  ],
  "maxDealsPerUrl": 120,
  "maxPages": 10,
  "includeExpired": false,
  "maxRounds": 2,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dealabs deals - one row per scraped record, stored in the run's default dataset.

# 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": [
        "https://www.dealabs.com/groupe/informatique"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/dealabs-deals-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": ["https://www.dealabs.com/groupe/informatique"] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/dealabs-deals-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": [
    "https://www.dealabs.com/groupe/informatique"
  ]
}' |
apify call xtracto/dealabs-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/dealabs-deals-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/Y1myMfY75JU0d3JXv/builds/99RwuFEbYCsMNy2tQ/openapi.json
