# Chollometro Deals Scraper (`truenorth/chollometro-deals`) Actor

Extract Chollometro deals, prices, discounts, vouchers, merchants, and community signals for monitoring and analysis.

- **URL**: https://apify.com/truenorth/chollometro-deals.md
- **Developed by:** [TrueNorth](https://apify.com/truenorth) (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 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Chollometro Deals Scraper

Turn Chollometro listings into structured deal data for price monitoring, promotion research, market analysis, and automated alerts. This Apify Actor extracts prices, comparison prices, discounts, voucher codes, merchants, categories, shipping details, community temperature, status, and source links without running a browser.

Provide a feed, search phrase, or Chollometro listing URLs. Results are deduplicated by stable `threadId` and saved to the default Apify dataset for JSON, CSV, Excel, XML, RSS, HTML, or JSONL export.

With no feed or start URLs, the Actor uses the live Popular feed at `/populares`. The Featured homepage feed remains available with `feed: "featured"`.

### Why use this Actor?

- Track hot, new, popular, or most-voted deals from Spain's Chollometro community.
- Monitor product and merchant promotions with numeric price and discount fields.
- Find voucher codes and community-validated offers for editorial or affiliate workflows.
- Schedule repeat runs and connect clean dataset records to webhooks, Make, Zapier, or your own API client.
- Optionally resolve Chollometro visit links to final merchant destinations.

### Use cases

- Price and promotion monitoring
- Competitive retail research
- Deal discovery and alerting
- Coupon and voucher aggregation
- Merchant and category trend analysis
- Content research for shopping newsletters and social channels

### Input example

Search for LEGO deals from the last 30 days, save up to 100 unique records, and resolve merchant links:

```json
{
  "feed": "search",
  "query": "LEGO",
  "maxItems": 100,
  "maxPages": 5,
  "sortBy": "temp",
  "priceFrom": 10,
  "priceTo": 200,
  "temperatureFrom": 100,
  "timeFrame": 30,
  "hideExpired": true,
  "hideLocal": false,
  "requestDelayMs": 500,
  "resolveRedirectUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "ES"
  }
}
```

You can also bypass feed construction with Chollometro listing or search URLs:

```json
{
  "startUrls": [
    { "url": "https://www.chollometro.com/populares" },
    { "url": "https://www.chollometro.com/search?q=playstation" }
  ],
  "maxItems": 200,
  "maxPages": 4
}
```

### Input options

| Field | Type | Default | Purpose |
| --- | --- | --- | --- |
| `startUrls` | array | empty | Chollometro listing or search URLs; overrides `feed` and `query`. |
| `feed` | string | `popular` | `featured`, `new`, `popular`, `most_voted`, or `search`. |
| `query` | string | empty | Search phrase used with `feed: "search"`. |
| `maxItems` | integer | `50` | Maximum unique records saved across all URLs. |
| `maxPages` | integer | unlimited | Maximum pages fetched per start URL. |
| `sortBy` | string | site default | `relevance`, `new`, `temp`, `highest_price`, `lowest_price`, or `discussion`. |
| `priceFrom`, `priceTo` | number | empty | Minimum and maximum price filters. |
| `temperatureFrom`, `temperatureTo` | number | empty | Minimum and maximum community temperature filters. |
| `timeFrame` | integer | empty | `7`, `30`, `365`, or `0` for all time. |
| `hideExpired` | boolean | `false` | Exclude expired deals through Chollometro's filter. |
| `hideLocal` | boolean | `false` | Exclude local-only deals through Chollometro's filter. |
| `proxyConfiguration` | object | Spain residential Apify Proxy | Proxy settings used for page and redirect requests. |
| `requestDelayMs` | integer | `0` | Delay between listing page requests. |
| `resolveRedirectUrls` | boolean | `false` | Follow visit redirects and populate `resolvedRedirectUrl`. |

### Output example

Each dataset item represents one deal:

```json
{
  "threadId": "1907981",
  "title": "Power bank with 65 W USB-C charging",
  "url": "https://www.chollometro.com/ofertas/example-1907981",
  "shareableLink": "https://www.chollometro.com/share-deal/1907981",
  "visitRedirectLink": "https://www.chollometro.com/visit/thread/1907981",
  "resolvedRedirectUrl": "https://merchant.example/product",
  "commentCount": 6,
  "status": "Activated",
  "isExpired": false,
  "isNew": false,
  "isPinned": false,
  "temperature": 434.63,
  "temperatureLevel": "Hot2",
  "isHot": true,
  "price": 19.99,
  "nextBestPrice": 85.54,
  "percentage": 76,
  "shipping": { "isFree": true, "price": 0 },
  "voucherCode": "SAVE20",
  "publishedAt": 1780577531,
  "updatedAt": 1780593119,
  "merchant": {
    "merchantId": 171,
    "merchantName": "Example merchant",
    "merchantUrlName": "example.es"
  },
  "mainGroup": {
    "threadGroupId": 14,
    "threadGroupName": "Electronics",
    "threadGroupUrlName": "electronica"
  },
  "mainImage": {
    "path": "threads/raw/example",
    "name": "1907981_1",
    "uid": "1907981_1.png",
    "ext": "png",
    "width": 2406,
    "height": 3000
  },
  "user": {
    "userId": 521773,
    "username": "DealUser",
    "title": "member",
    "isBanned": false
  },
  "scrapedAt": "2026-06-04T17:00:00.000Z"
}
```

`resolvedRedirectUrl` is omitted when redirect resolution is disabled. A failed redirect produces `null` while other records continue processing.

### How it works

The Actor requests server-rendered Chollometro listing HTML with a persistent cookie jar, reads structured `ThreadMainListItemNormalizer` payloads embedded in `data-vue3` attributes, normalizes records, paginates, and deduplicates by `threadId`. Non-homepage routes receive a homepage warm-up request first.

### Limitations

- Only `chollometro.com` and `www.chollometro.com` start URLs are accepted.
- Chollometro controls filter semantics and may change supported query values or page markup.
- Cloudflare or site rate limits can block requests. Spain-targeted residential proxies and conservative delays reduce risk but cannot guarantee access.
- This HTTP scraper has no browser fallback. A markup or embedded-payload change can require a parser update.
- Redirect resolution adds one request per saved deal. Merchant failures return `resolvedRedirectUrl: null` rather than failing the run.
- Deal fields reflect source data at scrape time; nullable values mean Chollometro did not provide that value.

### Local development

```bash
pnpm install --frozen-lockfile
pnpm test
CHOLLOMETRO_USE_FIXTURE=1 apify run -i '{"maxItems":10,"maxPages":1}'
```

Legacy local inputs containing `useFixture: true` remain supported for deterministic tests. Fixture mode is internal and absent from public input schema. `APIFY_IS_AT_HOME=1` always disables fixture mode, even if stale input or environment settings request it.

Project uses pnpm 10.30.0. Do not use npm to install dependencies.

# Actor input Schema

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

Chollometro listing or search URLs to scrape. When supplied, these URLs override feed and query.

## `feed` (type: `string`):

Chollometro feed to scrape when startUrls is empty.

## `query` (type: `string`):

Search phrase used when feed is set to search.

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

Maximum number of unique deal records to save across all start URLs.

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

Maximum pages fetched per start URL. Leave empty to continue until maxItems or an empty or duplicate page is reached.

## `sortBy` (type: `string`):

Ordering passed to Chollometro listing and search pages.

## `priceFrom` (type: `number`):

Minimum deal price filter passed to Chollometro.

## `priceTo` (type: `number`):

Maximum deal price filter passed to Chollometro.

## `temperatureFrom` (type: `number`):

Minimum community temperature filter passed to Chollometro.

## `temperatureTo` (type: `number`):

Maximum community temperature filter passed to Chollometro.

## `timeFrame` (type: `integer`):

Age window passed to Chollometro: use 7, 30, or 365 days, or 0 for all time.

## `hideExpired` (type: `boolean`):

Ask Chollometro to exclude expired deals.

## `hideLocal` (type: `boolean`):

Ask Chollometro to exclude local-only deals.

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

Apify Proxy settings. Residential proxies with Spain country targeting are recommended for live Chollometro runs.

## `requestDelayMs` (type: `integer`):

Pause between page requests to reduce request rate.

## `resolveRedirectUrls` (type: `boolean`):

Follow each Chollometro visit redirect and add resolvedRedirectUrl to each record.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.chollometro.com/"
    }
  ],
  "feed": "popular",
  "maxItems": 50,
  "hideExpired": false,
  "hideLocal": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  },
  "requestDelayMs": 0,
  "resolveRedirectUrls": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

API URL for all deal records produced by this run.

# 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.chollometro.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("truenorth/chollometro-deals").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.chollometro.com/" }] }

# Run the Actor and wait for it to finish
run = client.actor("truenorth/chollometro-deals").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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.chollometro.com/"
    }
  ]
}' |
apify call truenorth/chollometro-deals --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=truenorth/chollometro-deals",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/udNwkFeYgpPiuaR7M/builds/1D4lqZMRqtPCPnzaM/openapi.json
