# Wallapop (`cptauad/wallapop-scraper`) Actor

Ideal for price monitoring, market research, and deal alerts on Spain's largest second-hand marketplace. Filter by keyword, price range, item condition, location, shipping availability, warranty, and publication date. Returns title, description, price, images, seller location, and direct item URLs.

- **URL**: https://apify.com/cptauad/wallapop-scraper.md
- **Developed by:** [cptauad](https://apify.com/cptauad) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 59 total users, 6 monthly users, 99.8% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## Wallapop Scraper

Search [Wallapop](https://es.wallapop.com) and get structured JSON results. Wallapop is Spain's largest second-hand marketplace with millions of active listings.

### What does Wallapop Scraper do?

This actor searches Wallapop for any keyword and returns detailed item data including prices, images, seller locations, and direct links. All filtering is done server-side for fast, efficient scraping.

**Use cases:**

- **Price monitoring** -- track prices for specific products over time
- **Deal alerts** -- find bargains by filtering on price, condition, and shipping
- **Market research** -- analyze pricing trends and availability across categories
- **Lead generation** -- find sellers in specific locations and categories

### Input

| Parameter | Required | Default | Description |
|---|---|---|---|
| `keyword` | Yes | | Search term |
| `category_id` | No | | Wallapop category (e.g. `24200` for phones) |
| `order_by` | No | `most_relevance` | Sort: `most_relevance`, `newest`, `price_low_to_high`, `price_high_to_low`, `closest` |
| `min_price` | No | | Minimum price (EUR) |
| `max_price` | No | | Maximum price (EUR) |
| `condition` | No | | Item condition: `un_opened`, `in_box`, `new`, `as_good_as_new`, `good`, `fair`, `has_given_it_all` |
| `time_filter` | No | `lastMonth` | Publication date: `today`, `lastWeek`, `lastMonth` |
| `shipping_only` | No | `false` | Only items with shipping enabled |
| `has_warranty` | No | `false` | Only items with warranty |
| `latitude` | No | Madrid | Search location latitude |
| `longitude` | No | Madrid | Search location longitude |
| `distance_in_km` | No | | Search radius from location |
| `max_pages` | No | `1` | Pages to fetch (40 items each). `0` = all pages |

#### Example input

```json
{
    "keyword": "iphone 15",
    "condition": ["new", "as_good_as_new"],
    "max_price": 500,
    "shipping_only": true,
    "order_by": "price_low_to_high"
}
```

### Output

Each result contains:

```json
{
    "id": "wzvgkk9ddqzl",
    "title": "iPhone 15 128 GB Negro",
    "description": "iPhone 15 in perfect condition...",
    "price": 449.0,
    "currency": "EUR",
    "url": "https://es.wallapop.com/item/iphone-15-128-gb-negro-1229569665",
    "image": "https://cdn.wallapop.com/images/10420/kc/1y/__/c10420p1229569665/i6286087158.jpg?pictureSize=W800",
    "location": {
        "city": "Madrid",
        "region": "Comunidad de Madrid"
    },
    "shipping": true,
    "reserved": false,
    "category": "Technology & electronics",
    "published_at": "2026-02-10T16:43:22.800000+00:00"
}
```

| Field | Description |
|---|---|
| `id` | Wallapop item ID |
| `title` | Listing title |
| `description` | Full item description |
| `price` | Price in the listed currency |
| `currency` | Currency code (typically `EUR`) |
| `url` | Direct link to the listing |
| `image` | Main image URL (800px) |
| `location.city` | Seller's city |
| `location.region` | Seller's region |
| `shipping` | Whether the seller offers shipping |
| `reserved` | Whether the item is reserved |
| `category` | Item category name |
| `published_at` | Publication timestamp (ISO 8601) |

### Tips

- **Location matters** -- Wallapop results are location-aware. Set `latitude`/`longitude` to search near a specific city. Default is Madrid.
- **Pagination** -- Each page returns up to 40 items. Set `max_pages: 0` to fetch all available results.
- **Combine filters** -- Use `condition`, `max_price`, and `shipping_only` together to narrow down results before they're returned.
- **Scheduling** -- Run the actor on a schedule to monitor new listings for specific products.

# Actor input Schema

## `keyword` (type: `string`):

The search term to look for on Wallapop.

## `category_id` (type: `string`):

Wallapop category filter (e.g. 24200 for phones).

## `order_by` (type: `string`):

How to sort results.

## `latitude` (type: `string`):

Latitude for location-based search (default: Madrid).

## `longitude` (type: `string`):

Longitude for location-based search (default: Madrid).

## `max_pages` (type: `integer`):

Maximum number of pages to fetch (40 items each). 0 = all pages.

## `min_price` (type: `number`):

Only return items with price >= this value.

## `max_price` (type: `number`):

Only return items with price <= this value.

## `shipping_only` (type: `boolean`):

Only return items with shipping enabled.

## `condition` (type: `array`):

Item condition filter.

## `time_filter` (type: `string`):

Only items published within this period.

## `has_warranty` (type: `boolean`):

Only return items with warranty.

## `distance_in_km` (type: `integer`):

Search radius in km from the given coordinates.

## Actor input object example

```json
{
  "keyword": "iphone 15",
  "order_by": "most_relevance",
  "max_pages": 1,
  "shipping_only": false,
  "time_filter": "lastMonth",
  "has_warranty": false
}
```

# Actor output Schema

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

Wallapop items with price, location, images, and metadata.

# 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 = {
    "keyword": "iphone 15"
};

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

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

```

## MCP server setup

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