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

Search Wallapop listings in Spain, Italy and Portugal by keyword and location. Prices, photos, seller id, location and dates. Pay per listing.

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

## Pricing

from $0.30 / 1,000 wallapop item scrapeds

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, the second-hand marketplace, by keyword and location and get structured listings: title, description, price, photos, category, location, seller id and dates. It works for Spain and also for Italy and Portugal, because Wallapop serves all three markets from the same search.

You pay per listing. There is no monthly fee.

### What you can do with it

- Track the asking prices of a product (phones, bikes, furniture, cars parts) in a city.
- Find new listings first by sorting on newest.
- Collect price ranges per category for market research or resale.
- Feed listings into a spreadsheet, a database or a price alert.

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | list of text | One search per keyword. Required for a real run. |
| `location` | text | City name. The 20 largest Spanish cities are built in (Madrid, Barcelona, Valencia, Sevilla, Zaragoza, Malaga, Murcia, Palma, Las Palmas de Gran Canaria, Bilbao, Alicante, Cordoba, Valladolid, Vigo, Gijon, L'Hospitalet de Llobregat, Vitoria-Gasteiz, A Coruna, Elche, Granada), plus Milano, Roma, Lisboa and Porto. Default: Madrid. |
| `latitude`, `longitude` | number | Search around any point. When both are set they replace `location`. |
| `minPrice`, `maxPrice` | number | Price range filter. |
| `categoryId` | integer | Wallapop category id. Every result row shows its `category_id`. |
| `orderBy` | text | `relevance` (default), `newest`, `closest`, `price_low_to_high` or `price_high_to_low`. |
| `maxResultsPerQuery` | integer | Listings per keyword. Default 50, maximum 1000. One page holds 40 listings. |

An empty input runs a small demo: the keyword "bicicleta" around Madrid, 5 listings.

Example, two keywords around Madrid:

```json
{
  "keywords": ["iphone", "bicicleta"],
  "latitude": 40.4168,
  "longitude": -3.7038,
  "maxResultsPerQuery": 60
}
```

Example, newest bikes in Milan between 50 and 300 euros:

```json
{
  "keywords": ["bicicleta"],
  "location": "Milano",
  "minPrice": 50,
  "maxPrice": 300,
  "orderBy": "newest",
  "maxResultsPerQuery": 45
}
```

A listing that matches several keywords is delivered once.

### Output

One row per listing. Fields without a value are `null`.

| Field | Description |
|---|---|
| `item_id`, `url`, `web_slug` | Listing id and the link to its page |
| `title`, `description` | Text written by the seller |
| `price`, `currency` | Asking price |
| `previous_price`, `discount_percentage` | Shown when the seller lowered the price |
| `category_id`, `category`, `category_path` | Category of the listing |
| `city`, `region`, `province`, `postal_code`, `country_code`, `latitude`, `longitude` | Where the item is |
| `images`, `image_count`, `thumbnail` | Photo links |
| `reserved`, `shippable`, `seller_allows_shipping` | Listing state and shipping options |
| `promotion_type`, `is_refurbished`, `has_warranty`, `seller_is_top_profile` | Badges shown on the listing |
| `seller_id` | The public seller id shown by Wallapop. No other seller data is collected. |
| `created_at`, `modified_at` | Dates in ISO 8601, UTC |
| `search_query`, `page`, `scraped_at` | Which search found it and when |

Output sample:

```json
{
  "item_id": "nz085ored76o",
  "url": "https://es.wallapop.com/item/iphone-xr-negro-1319249375",
  "title": "iPhone XR Negro",
  "price": 80,
  "currency": "EUR",
  "category": "Smartphones",
  "category_path": ["Technology & electronics", "Phones: mobiles & smartwatches", "Smartphones"],
  "city": "Madrid",
  "region": "Comunidad de Madrid",
  "postal_code": "28014",
  "country_code": "ES",
  "image_count": 4,
  "reserved": false,
  "shippable": true,
  "seller_id": "pzp9kglx5m63",
  "created_at": "2026-11-01T03:36:15Z",
  "modified_at": "2026-11-05T10:24:14Z",
  "search_query": "iphone",
  "page": 1
}
```

### Pricing

You pay for two events.

| Event name | When it is charged | Price |
|---|---|---|
| `actor-start` | Once per run, together with the first delivered listing | $0.001 per run |
| `wallapop-item-result` | For each listing delivered | $0.0003 per listing ($0.30 per 1,000) |

A run that finds nothing is not charged. If you set a maximum cost for the run, the actor stops cleanly when the limit is reached and keeps the listings already delivered.

### FAQ

**Which countries work?**
Spain, Italy and Portugal. The country of the results follows the location you search around. Results near a border can include listings from the neighbouring market.

**How many listings can I get per keyword?**
Up to 1000 per keyword. Wallapop returns 40 per page, and the actor follows the pages until your limit or the end of the results.

**Does it return seller names or contact details?**
No. Only the public seller id shown with the listing.

**Why did I get fewer listings than I asked for?**
The search may have fewer matches, or the price and category filters narrowed it. The run status message says how many listings were delivered.

**Is a rerun going to repeat listings?**
Each run is independent. Within one run a listing is delivered once, and a run that is moved to another machine continues without repeating listings or charges.

**What does the run status say when something goes wrong?**
If Wallapop refuses all requests, the run ends with an error and a clear message, and nothing is charged. A search with no matches ends normally with the message "No listings found for this search".

**Can I use the category id from a result?**
Yes. Copy `category_id` from any row into the `categoryId` input to search inside that category.

# Actor input Schema

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

One search per keyword, for example 'iphone' or 'bicicleta'. Leave the whole input empty for a tiny demo run (search 'bicicleta' around Madrid, 5 results).

## `location` (type: `string`):

City to search around: one of the 20 largest Spanish cities (Madrid, Barcelona, Valencia, Sevilla, Zaragoza, Malaga, Murcia, Palma, Las Palmas de Gran Canaria, Bilbao, Alicante, Cordoba, Valladolid, Vigo, Gijon, L'Hospitalet de Llobregat, Vitoria-Gasteiz, A Coruna, Elche, Granada) or Milano, Roma, Lisboa, Porto. Ignored when latitude and longitude are set. Default: Madrid.

## `latitude` (type: `number`):

Latitude of the search centre, for example 40.4168. Use together with longitude to search around any place in Spain, Italy or Portugal. The country of the results follows the coordinates.

## `longitude` (type: `number`):

Longitude of the search centre, for example -3.7038.

## `minPrice` (type: `number`):

Only listings priced at or above this amount (in the local currency).

## `maxPrice` (type: `number`):

Only listings priced at or below this amount (in the local currency).

## `categoryId` (type: `integer`):

Wallapop category id, for example 24200 for technology and electronics. Each result row shows its category id, so you can reuse it here.

## `orderBy` (type: `string`):

How Wallapop sorts the results.

## `maxResultsPerQuery` (type: `integer`):

Maximum listings collected per keyword. A page holds 40 listings. Maximum: 1000.

## `proxyConfiguration` (type: `object`):

Network settings for the requests. The default works for most runs.

## Actor input object example

```json
{
  "keywords": [
    "iphone",
    "bicicleta"
  ],
  "location": "Madrid",
  "orderBy": "relevance",
  "maxResultsPerQuery": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Wallapop listings found for the searches

# 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 = {
    "keywords": [
        "iphone",
        "bicicleta"
    ],
    "location": "Madrid",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nanodata/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 = {
    "keywords": [
        "iphone",
        "bicicleta",
    ],
    "location": "Madrid",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nanodata/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 '{
  "keywords": [
    "iphone",
    "bicicleta"
  ],
  "location": "Madrid",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nanodata/wallapop-scraper --silent --output-dataset

```

## MCP server setup

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