# Wallapop Scraper: Listings, Prices, Sellers & Location (`davidcastro/wallapop-scraper`) Actor

Scrape Wallapop second-hand ads in Spain by keyword, city or coordinates and radius: title, description, price, previous price and discount, city, postcode, region, date, category, shipping, reserved flag, photos and seller name, type, rating, reviews and sales count. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/davidcastro/wallapop-scraper.md
- **Developed by:** [David Castro](https://apify.com/davidcastro) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.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/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: Listings, Prices, Sellers & Location

Collect second-hand ads from Wallapop, Spain's largest buy-and-sell app, by keyword around any city or coordinates. Each ad comes with its title, full description, price, previous price and discount when reduced, city, postcode, region and approximate coordinates, publish and update dates, category path, shipping options, reserved, refurbished and warranty flags, promoted flag and every photo. Turn on seller details to add the seller name and profile, shop or private, rating, number of reviews, items sold and bought, ads online and member-since date.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `itemId` | Bicicleta Fixie Negra y Azul, ad page, 36e53o1pmn6d |
| `price`, `previousPrice`, `discountPercent` | 200, 245, 18 |
| `city`, `postalCode`, `region`, `province` | Barcelona, 08036, Cataluña, Barcelona |
| `latitude`, `longitude` | 41.3838, 2.1502 |
| `createdAt`, `modifiedAt` | 2026-11-16T23:07:19Z |
| `category` | Bicicletas > Bicicletas y triciclos > Bicicletas ciudad |
| `shippable`, `sellerShips`, `reserved`, `refurbished`, `hasWarranty` | true, false, false, false, false |
| `image`, `images`, `imageCount` | main photo, all photos, 2 |
| `sellerName`, `sellerUrl`, `sellerType` | G P., profile link, private |
| `sellerRating`, `sellerReviews`, `sellerSales`, `sellerPurchases` | 5, 6, 9, 3 |
| `sellerActiveListings`, `sellerSince` | 4, 2019-03-02 |

### Inputs

- **Search keywords:** anything from iphone 15 to bicicleta, sofa or ps5.
- **City:** 25 Spanish cities, or custom latitude and longitude for any place.
- **Radius** in km around the location.
- **Price range** in euros.
- **Posted within:** last 24 hours, 7 days or 30 days.
- **Sort:** relevance, newest, closest, lowest or highest price.
- **Shipping available only.**
- **Include seller details:** rating, reviews and sales for each seller.

### Example input

```json
{
    "searchQueries": ["bicicleta electrica", "patinete"],
    "city": "valencia",
    "radiusKm": 20,
    "maxPrice": 800,
    "postedWithin": "lastWeek",
    "sort": "newest",
    "maxListings": 300
}
```

### Use cases

- Reselling and deal hunting: catch new underpriced ads in your city as they appear.
- Price research for used electronics, bikes, furniture and fashion in Spain.
- Seller research: find active shops and top-rated sellers with many sales.
- Market monitoring of second-hand supply and asking prices by city.

### Pricing

You pay per ad delivered. Searches that match nothing and error rows are never charged. The run stops at your maximum listings or your spend limit. Free Apify plans get up to 10 ads per run.

### FAQ

**Are phone numbers included?**
No. Wallapop sellers are contacted through the app chat.

**Can I search outside Spain?**
Wallapop also runs in Italy and Portugal. Use custom coordinates there; results depend on what Wallapop shows for that area.

# Actor input Schema

## `searchQueries` (type: `array`):

What to search for, for example iphone 15, bicicleta, sofa, ps5.

## `city` (type: `string`):

Search around this city. Use custom coordinates below for any other place.

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

Optional. Overrides the city, for example 43.2630.

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

Optional. Overrides the city, for example -2.9350.

## `radiusKm` (type: `integer`):

Only ads within this distance. 0 searches all of Spain, ordered by distance when sorting by closest.

## `minPrice` (type: `integer`):

Minimum price.

## `maxPrice` (type: `integer`):

Maximum price.

## `postedWithin` (type: `string`):

Only recent ads.

## `sort` (type: `string`):

Result order.

## `shippingOnly` (type: `boolean`):

Keep only ads the seller will ship.

## `includeSellerDetails` (type: `boolean`):

Add seller name, shop or private, rating, reviews, sales and member-since date. Slightly slower.

## `maxListings` (type: `integer`):

How many ads to collect for each keyword.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone 15"
  ],
  "city": "madrid",
  "radiusKm": 0,
  "postedWithin": "any",
  "sort": "newest",
  "shippingOnly": false,
  "includeSellerDetails": true,
  "maxListings": 30
}
```

# Actor output Schema

## `overview` (type: `string`):

The main fields in a table.

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

Every field of every result.

# 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 = {
    "searchQueries": [
        "iphone 15"
    ],
    "maxListings": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("davidcastro/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 = {
    "searchQueries": ["iphone 15"],
    "maxListings": 30,
}

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

```

## MCP server setup

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