# PcComponentes Scraper y API: productos, precios y ofertas (`scraperseurope/pccomponentes-spain`) Actor

Extrae productos de PcComponentes España: precios en EUR, referencias, marcas, valoraciones y disponibilidad publicada. Búsqueda paginada y exportación JSON, CSV o Excel para comparar ofertas.

- **URL**: https://apify.com/scraperseurope/pccomponentes-spain.md
- **Developed by:** [Scrapers Europe](https://apify.com/scraperseurope) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 producto entregados

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## PcComponentes Scraper y API de productos

Extrae productos y precios de PcComponentes España en EUR. Obtén referencias, marcas, valoraciones, vendedor y disponibilidad publicada para comparar ofertas, seguir componentes de PC, crear tablas de hardware o analizar el catálogo de informática.

### Datos entregados

Nombre, referencia SKU, URL verificable, precio publicado, moneda, marca, imagen, vendedor, valoración y número de opiniones cuando la fuente los publica. La disponibilidad refleja la oferta mostrada, no un inventario por tienda ni una entrega garantizada. Los campos desconocidos permanecen vacíos.

La extracción utiliza la lista estructurada de productos. No convierte pagos mensuales en precios ni inventa descuentos. Se entrega una fila por producto, no todas las variantes o vendedores.

### Ejemplos

```json
{"term":"portatil","maxItems":50}
```

```json
{"searchTerms":["portatil","monitor"],"maxItems":200,"maxRuntimeSecs":240}
```

```json
{"term":"portatil","maxPages":2}
```

Sin `maxItems` o `maxPages` no hay un tope inicial impuesto por el actor. Se detiene al final de las páginas accesibles, al presupuesto de tiempo o al límite de gasto de Apify. La fuente puede restringir la búsqueda a 25 páginas aunque anuncie más productos: esa cobertura se informa como parcial. El presupuesto de tiempo es de 240 segundos por defecto, ampliable a 7200.

Las búsquedas pueden tener coincidencias aproximadas o categorías elegidas por el sitio. No se garantiza que cada palabra del término aparezca literalmente en cada título.

### Acceso automático

No necesitas configurar proxies, cookies o cuentas. El actor intenta una solicitud ligera y utiliza sesiones de navegador persistentes solo cuando la fuente lo requiere. Los cambios de acceso son automáticos y tienen intentos y tiempo acotados.

### Resultados y estados

Los productos llegan progresivamente al Dataset. Exporta JSON, CSV o Excel o utiliza la API Dataset. Ejecuta el actor desde la consola, mediante la API de Apify o con tareas programadas.

`RUN_SUMMARY` informa páginas, productos, finalización y rendimiento. `DIAGNOSTICS` contiene mensajes sin cargo por resultado. Una búsqueda vacía confirmada es `no_results`; una protección es `blocked`, nunca un falso vacío. Una respuesta inconsistente es `failed`. Si una página tardía falla, se conservan los productos anteriores y el resumen indica `partial`.

### Precio

**USD 0.004 por producto real único entregado**, más el consumo de plataforma Apify a cargo del usuario. No se cobran como resultados los duplicados, errores, diagnósticos ni resúmenes. El uso de red, proxies y cómputo depende de las páginas y del acceso necesario. El límite de gasto puede detener la entrega antes del final del sitio.

### Límites e independencia

Los precios son una fotografía del catálogo público y pueden cambiar durante la ejecución. No se extrapolan envíos, cantidades disponibles ni condiciones comerciales ausentes. No se garantiza cobertura exhaustiva o posición en buscadores.

Herramienta independiente de Scrapers Europe, sin afiliación, respaldo ni operación por PcComponentes. Las marcas solo identifican la fuente. Usa los datos conforme a los derechos y condiciones aplicables.

# Actor input Schema

## `term` (type: `string`):

Producto, marca o modelo en PcComponentes España.

## `searchTerms` (type: `array`):

Reemplaza el término individual. Los productos duplicados se entregan y cobran una sola vez.

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

Sin valor no se impone un límite fijo de resultados. Este límite es global para todas las búsquedas.

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

Sin valor se recorre la paginación disponible hasta el límite de tiempo o gasto.

## `maxRuntimeSecs` (type: `integer`):

Se conservan los productos entregados si una página posterior falla.

## `requestTimeoutSecs` (type: `integer`):

Tiempo máximo de espera de una solicitud al sitio.

## Actor input object example

```json
{
  "term": "portatil",
  "maxRuntimeSecs": 240,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `diagnostics` (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 = {
    "term": "portatil"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperseurope/pccomponentes-spain").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 = { "term": "portatil" }

# Run the Actor and wait for it to finish
run = client.actor("scraperseurope/pccomponentes-spain").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 '{
  "term": "portatil"
}' |
apify call scraperseurope/pccomponentes-spain --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scraperseurope/pccomponentes-spain"
        }
    }
}
```

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/ZbdmvcqcT7zDK1u0z/builds/RHRwmqhwHMXCRDJgg/openapi.json
