# 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
- **Stats:** 32 total users, 7 monthly users, 98.7% runs succeeded, 0 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 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("💾 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 '{
  "keyword": "iphone 15"
}' |
apify call cptauad/wallapop-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Wallapop",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "hGL8kr0VrQin8wq1H"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/cptauad~wallapop-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-cptauad-wallapop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/cptauad~wallapop-scraper/runs": {
            "post": {
                "operationId": "runs-sync-cptauad-wallapop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/cptauad~wallapop-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-cptauad-wallapop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "Search keyword",
                        "type": "string",
                        "description": "The search term to look for on Wallapop."
                    },
                    "category_id": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "Wallapop category filter (e.g. 24200 for phones)."
                    },
                    "order_by": {
                        "title": "Sort order",
                        "enum": [
                            "most_relevance",
                            "newest",
                            "price_low_to_high",
                            "price_high_to_low",
                            "closest"
                        ],
                        "type": "string",
                        "description": "How to sort results.",
                        "default": "most_relevance"
                    },
                    "latitude": {
                        "title": "Latitude",
                        "type": "string",
                        "description": "Latitude for location-based search (default: Madrid)."
                    },
                    "longitude": {
                        "title": "Longitude",
                        "type": "string",
                        "description": "Longitude for location-based search (default: Madrid)."
                    },
                    "max_pages": {
                        "title": "Max pages",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of pages to fetch (40 items each). 0 = all pages.",
                        "default": 1
                    },
                    "min_price": {
                        "title": "Minimum price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only return items with price >= this value."
                    },
                    "max_price": {
                        "title": "Maximum price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only return items with price <= this value."
                    },
                    "shipping_only": {
                        "title": "Shipping only",
                        "type": "boolean",
                        "description": "Only return items with shipping enabled.",
                        "default": false
                    },
                    "condition": {
                        "title": "Condition",
                        "type": "array",
                        "description": "Item condition filter.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "un_opened",
                                "in_box",
                                "new",
                                "as_good_as_new",
                                "good",
                                "fair",
                                "has_given_it_all"
                            ],
                            "enumTitles": [
                                "Sealed / unopened",
                                "In original box",
                                "New",
                                "Like new",
                                "Good condition",
                                "Fair condition",
                                "Needs repair"
                            ]
                        }
                    },
                    "time_filter": {
                        "title": "Time filter",
                        "enum": [
                            "today",
                            "lastWeek",
                            "lastMonth"
                        ],
                        "type": "string",
                        "description": "Only items published within this period.",
                        "default": "lastMonth"
                    },
                    "has_warranty": {
                        "title": "Has warranty",
                        "type": "boolean",
                        "description": "Only return items with warranty.",
                        "default": false
                    },
                    "distance_in_km": {
                        "title": "Distance (km)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Search radius in km from the given coordinates."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
