# Wallapop Vendidos — Sold & Reserved Price Comps (`noahadler/wallapop-sold-comps`) Actor

Scrape wallapop vendidos and reserved listings in Spain: itemId, title, last ask, sold or reserved status. Wallapop sold comps for resellers — not a live ads dump. Last ask only. RESIDENTIAL ES recommended.

- **URL**: https://apify.com/noahadler/wallapop-sold-comps.md
- **Developed by:** [Noah Adler](https://apify.com/noahadler) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 sold comps

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 Vendidos — Sold & Reserved Price Comps

**wallapop vendidos** and **wallapop sold** comps from **es.wallapop.com**: listings that sold or were reserved, with `itemId`, title, last ask and `status` (`sold` | `reserved` | `removed`). Built for resellers who need **wallapop comps**, not another live search dump.

> Wallapop has no public sold archive. This Actor watches a keyword (or search URL), emits **reserved** ads when the search flag is on, pulls matching **vendidos** from seller sell-reviews, and on later scheduled runs adds IDs that left the universe (`removed`). Price is always **last ask** — never an invented hammer.

### Table of contents

- [What you get](#what-you-get)
- [How it works](#how-it-works)
- [Input](#input)
- [Output](#output)
- [Example input](#example-input)
- [Use cases](#use-cases)
- [Proxy](#proxy)
- [API quick start](#api-quick-start)
- [FAQ](#faq)
- [Limitations](#limitations)
- [Racimo](#racimo)
- [Keywords](#keywords)

### What you get

**Sold / reserved / removed comp**

- `itemId`, `url` (es.wallapop.com)
- `title`, `city`, `sellerId`
- `status`: `sold` | `reserved` | `removed` | (optional) `active`
- `lastPrice`, `soldPrice`, `priceKind` (`last_ask`), `currency` (EUR)
- `reserved` boolean when the listing is reserved
- `lastSeenAt`, `scrapedAt`

This is **wallapop vendidos**, **wallapop sold** and reserved ads. It is not a third Wallapop live-listings scraper.

### How it works

| Step | Action |
|------|--------|
| 1 | Call Wallapop search JSON for your keyword / city (or `searchUrl`). |
| 2 | If `reserved.flag` is true, emit a **reserved** row with last ask. |
| 3 | Read seller **sell** reviews and keep items whose title matches the keyword → **sold**. |
| 4 | Save the live universe in Actor storage for the next run. |
| 5 | Probe `itemIds` / `watchItems` and IDs that vanished. HTTP 404 = `removed`. Detail `sold` / `reserved` flags win. |
| 6 | Push only sold / reserved / removed unless you turn `includeActive` on. |

HTTP only (`curl_cffi`). No Playwright. Last ask from search or item detail — not a made-up close price.

### Input

| Field | Required | Default | Notes |
|-------|----------|---------|-------|
| `keyword` | One of keyword / URL / IDs | iphone 12 | Query as on Wallapop |
| `searchUrl` | One of keyword / URL / IDs | — | es.wallapop.com or api.wallapop.com search |
| `city` | No | madrid | Spain city for coordinates |
| `itemIds` | One of keyword / URL / IDs | — | IDs or item URLs to check now |
| `watchItems` | No | — | Last-known cards (`itemId`, `title`, `lastPrice`, …) |
| `maxItems` | No | 20 | 1–80 |
| `lookbackHours` | No | 168 | Keep IDs between scheduled runs |
| `includeActive` | No | false | Off = vendidos / reserved / removed only |
| `proxyConfiguration` | No | RESIDENTIAL + ES | Keep country ES |

### Output

One row per sold, reserved or removed listing. A hard block pushes one row with `error: true` and a message that names RESIDENTIAL + ES. A first run with no comps yet pushes one honest empty row (`error: false`) and stores the universe.

```json
{
  "itemId": "mzn3k8vq72jn",
  "url": "https://es.wallapop.com/item/iphone-12-pro-max-256gb",
  "title": "iPhone 12 Pro Max 256GB",
  "status": "sold",
  "lastPrice": 280.0,
  "soldPrice": 280.0,
  "priceKind": "last_ask",
  "currency": "EUR",
  "reserved": false,
  "sellerId": "436ee72e3k6d",
  "keyword": "iphone 12",
  "scrapedAt": "2026-09-25T11:00:00Z"
}
```

### Example input

```json
{
  "keyword": "iphone 12",
  "city": "madrid",
  "maxItems": 20,
  "lookbackHours": 168,
  "includeActive": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "ES"
  }
}
```

Schedule that input every 6–12 hours. The first run often already returns **wallapop vendidos** (seller reviews) and **reserved** ads; later runs add listings that dropped out of search.

To check IDs you already have:

```json
{
  "keyword": "iphone 12",
  "city": "madrid",
  "itemIds": ["mzn3k8vq72jn", "https://es.wallapop.com/item/zzzznotanitem00"],
  "maxItems": 20
}
```

### Use cases

- Price an iPhone / PS5 / bike lot from **wallapop vendidos** and reserved last asks, not live ads.
- Feed the Forocoches-style “análisis reservados o vendidos” (min / max / mean) from real comps.
- Watch a keyword and alert when a listing is **reserved**, **sold**, or **removed**.
- Keep a private sold history — Wallapop search Actors only dump live inventory.

### Proxy

Wallapop JSON can 403 without a Spain residential exit. Default proxy is Apify `RESIDENTIAL` with country **ES**.

### API quick start

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("noahadler/wallapop-sold-comps").call(run_input={
    "keyword": "iphone 12",
    "city": "madrid",
    "maxItems": 20,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

```bash
curl "https://api.apify.com/v2/acts/noahadler~wallapop-sold-comps/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"iphone 12","city":"madrid","maxItems":20}'
```

### FAQ

**Why might the first run be empty?** Search does not list a sold archive. If no seller nearby has a matching sell-review and nothing is reserved, the run seeds the universe. The next scheduled run emits **removed** comps. Pass `itemIds` to check known listings now.

**Is this another Wallapop search scraper?** No. Live listing Actors already exist. This Actor is **wallapop sold** / vendidos / reserved comps.

**Do you invent sold prices?** No. `priceKind` is `last_ask` (search or item detail). There is no public hammer.

**Will I get every sale on Wallapop?** No. You get reserved flags, matching seller sell-reviews, and disappearances inside the universe you watch.

### Limitations

- Spain (`es.wallapop.com` / `api.wallapop.com`) only in v0.1. IT/PT are out of scope.
- Cap 80 items per run. Seller reviews are sampled from the search universe.
- Sold price equals last asking price when Wallapop hides the close price.
- Ranking changes are not sold: an item must be reserved, have a sell-review, show a sold flag, or 404.
- `includeActive` off by default so Try it does not dump live ads.

### Racimo

Hijo de tu Wallapop listings. Ampliar IT/PT **solo si este hero tiene runs** a 7–14 días.

### Keywords

wallapop vendidos · wallapop sold · wallapop comps · wallapop reservado · wallapop scraper

# Actor input Schema

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

Query as buyers type it on Wallapop (e.g. iphone 12). Builds the watched universe and matches wallapop vendidos from seller reviews. Required unless you pass searchUrl, itemIds or watchItems.

## `searchUrl` (type: `string`):

Optional es.wallapop.com search URL or api.wallapop.com /api/v3/search URL. Overrides the keyword URL when set.

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

Spain city for search coordinates (madrid, barcelona, valencia, sevilla, …). Default Madrid.

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

Optional. Overrides city coordinates.

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

Optional. Overrides city coordinates.

## `itemIds` (type: `array`):

Optional. Wallapop item IDs or https://es.wallapop.com/item/… URLs to check now (sold, reserved, removed or still active).

## `watchItems` (type: `array`):

Optional last-known cards from a previous run: itemId, title, lastPrice. Used as the lookback universe when you paste last run output instead of relying on Actor storage.

## `maxItems` (type: `integer`):

Maximum sold/reserved/removed rows to save, and size of the watched search universe (1–80).

## `lookbackHours` (type: `integer`):

How long to keep IDs in the watched universe between scheduled runs (1–720). Typical: 168 (7 days).

## `includeActive` (type: `boolean`):

Off by default. This Actor is wallapop vendidos / reserved comps, not a live listing dump. Turn on only if you also want current matches from the search universe.

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

Default: Apify RESIDENTIAL. Country is injected as ES (Spain) when you leave it blank.

## Actor input object example

```json
{
  "keyword": "iphone 12",
  "city": "madrid",
  "maxItems": 20,
  "lookbackHours": 168,
  "includeActive": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

# Actor output Schema

## `comps` (type: `string`):

No description

# 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 12"
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,noahadler/wallapop-sold-comps"
        }
    }
}
```

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/fTvbgEvtFfW1Ficqt/builds/NJbvxvrnobKapCPqM/openapi.json
