# Wallapop Scraper (`louisdeconinck/wallapop-scraper`) Actor

Unlock the power of Wallapop with our advanced scraping actor! Effortlessly gather detailed product listings, including prices, descriptions, and seller info. Perfect for market research, trend analysis, and competitive insights. Customize searches by keywords, location, and more.

- **URL**: https://apify.com/louisdeconinck/wallapop-scraper.md
- **Developed by:** [Louis Deconinck](https://apify.com/louisdeconinck) (community)
- **Categories:** E-commerce, Automation, Social media
- **Stats:** 208 total users, 0 monthly users, 100.0% runs succeeded, 10 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

This actor scrapes product listings from Wallapop, a popular second-hand marketplace. It allows you to extract detailed information about items being sold on the platform, including prices, descriptions, seller information, and more.

### 👨‍💻 Use Cases

- Market research and price analysis
- Track specific product categories
- Monitor second-hand market trends
- Competitive analysis
- Product availability tracking

### ⚙️ Features

- Search by keywords or categories
- Filter by location and price range
- Extract detailed product information
- Customizable search parameters
- Pagination support
- Rate limiting and proxy rotation

### 🛠️ Input Parameters

- `keywords`: (optional) List of keywords to search for. When not provided, the actor will scrape all available items on Wallapop

Example input:

```json
{
    "keywords": [
        "car", 
        "bike"
    ]
}
```

### 📊 Output Format

The actor outputs a dataset with the following schema for each product:

- `id`: The unique identifier of the product
- `user_id`: The unique identifier of the user who posted the product
- `title`: The title of the product
- `description`: The description of the product
- `category_id`: The category of the product
- `price`: The price of the product
- `images`: The images of the product
- `reserved`: Whether the product is reserved
- `location`: The location of the product
- `shipping`: Whether the product is shippable
- `favorited`: Whether the product is favorited
- `bump`: The bump type of the product
- `web_slug`: The web slug of the product
- `created_at`: The creation date of the product
- `modified_at`: The modification date of the product
- `taxonomy`: The taxonomy of the product
- `is_favoriteable`: Whether the product is favoriteable
- `is_refurbished`: Whether the product is refurbished

Example output:

```json
{
	"id": "qjwd3qxgwgzo",
	"user_id": "v4z48ygqljy7",
	"title": "Libros lectura castellano",
	"description": "Libros de lectura mandados a leer en su mayor parte por el colegio Luther King de La Laguna. Pregunta sin compromiso....\nTítulos:\n\nTomás y la goma mágica\nAndrea y el cuarto rey mago\nCuentos fantásticos para conocer el mundo.\nEl monstruo peludo.\nRemedios mágicos.\nConspiración en el parque del Retiro.\nRosa está hecha un lío.\nEl secreto de la foto.\nUna bruja horriblemente guapa.\nHagamos caso al tigre.\nCubrelunas.\nOtra vez don quijote 1 y 2.\nAmelia quiere un perro.\nEl retorno de Villarina.",
	"category_id": 12463,
	"price": {
		"amount": 3,
		"currency": "EUR"
	},
	"images": [
		{
			"average_color": "13C1AC",
			"urls": {
				"small": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i5000555757.jpg?pictureSize=W320",
				"medium": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i5000555757.jpg?pictureSize=W640",
				"big": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i5000555757.jpg?pictureSize=W800"
			}
		},
		{
			"average_color": "7b8286",
			"urls": {
				"small": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i2366822008.jpg?pictureSize=W320",
				"medium": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i2366822008.jpg?pictureSize=W640",
				"big": "https://cdn.wallapop.com/images/10420/c1/dc/__/c10420p727896805/i2366822008.jpg?pictureSize=W800"
			}
		}
	],
	"reserved": {
		"flag": false
	},
	"location": {
		"latitude": 28.496716,
		"longitude": -16.331861,
		"postal_code": "38206",
		"city": "San Cristóbal de La Laguna",
		"region": "Islas Canarias",
		"region2": "Santa Cruz de Tenerife",
		"country_code": "ES"
	},
	"shipping": {
		"item_is_shippable": true,
		"user_allows_shipping": true,
		"cost_configuration_id": "814429d6-7844-471d-97af-196cd4020f26"
	},
	"favorited": {
		"flag": false
	},
	"bump": {
		"type": "none"
	},
	"web_slug": "libros-lectura-castellano-727896805",
	"created_at": 1641750485787,
	"modified_at": 1730406617648,
	"taxonomy": [
		{
			"id": 12463,
			"name": "Movies, books & music",
			"icon": "bookshelf"
		},
		{
			"id": 24003,
			"name": "Books, comics & magazines",
			"icon": null
		},
		{
			"id": 10064,
			"name": "Books",
			"icon": null
		},
		{
			"id": 10249,
			"name": "Children's and youth",
			"icon": null
		},
		{
			"id": 24098,
			"name": "Children",
			"icon": null
		}
	],
	"is_favoriteable": {
		"flag": true
	},
	"is_refurbished": {
		"flag": false
	}
}
```

# Actor input Schema

## `keywords` (type: `array`):

Keywords to search for.

## Actor input object example

```json
{}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("louisdeconinck/wallapop-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("louisdeconinck/wallapop-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 '{}' |
apify call louisdeconinck/wallapop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,louisdeconinck/wallapop-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/eVbRqcIPaYbWnRID2/builds/y0YccR4drRTxHYqzw/openapi.json
