Scraper APIWallapop
wallapop.search
The second-hand listings Wallapop shows for a search around a place: title, price, category, details, town, photos and dates.
- Id
wallapop.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/wallapop.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
queryrequired | string | What to search for, e.g. iphone 13 or bicicleta.Limit: at least 1 characters, at most 150 characters. |
latitude | number | The latitude of the point to search around, in decimal degrees. Madrid when not given.Limit: -90 to 90. Default: 40.4168. |
longitude | number | The longitude of that point. Wallapop lists what is for sale around it: Spain, Italy and Portugal are where it has listings.Limit: -180 to 180. Default: -3.7038. |
order | "most_relevance" | "newest" | "closest" | "price_low_to_high" | "price_high_to_low" | The order of the results.Default: "most_relevance". |
min_price | integer | Only listings at this price or more, in the listing's currency.Limit: 0 to 10000000. |
max_price | integer | Only listings at this price or less.Limit: 0 to 10000000. |
max_results | integer | Return at most this many listings of the page; all of them (up to 40) when not given.Limit: 1 to 40. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer or null | The listing's place in the search results, from 1. Null for a single listing.Limit: at least 1. |
item_id | string | Wallapop's id of the listing. wallapop.item takes it. |
title | string | The listing's title, as its seller wrote it. |
url | string | The listing's page on wallapop.com. |
description | string or null | The listing's text, as its seller wrote it. |
price | number or null | The asking price, in currency. |
currency | string or null | The ISO currency code of the price, e.g. EUR. |
category | string or null | The most specific category Wallapop files the listing in, e.g. Smartphones. |
category_path | array of string | The categories from the broadest to the most specific. |
details | array of object | What the listing states about the thing itself: brand, model, condition, colour, size; for a car its year, mileage, engine and gearbox. |
name (in details[]) | string | What the detail is, as Wallapop names it, e.g. Brand, Condition, Storage capacity, or for a car km, gearbox. |
value (in details[]) | string | The detail, as Wallapop writes it, e.g. Apple, As good as new, 128 GB. |
city | string or null | The town the listing is in. |
region | string or null | The region the town is in. Null for a single listing. |
postal_code | string or null | The postal code of the listing's area. |
country_code | string or null | The two-letter country code, e.g. ES. |
latitude | number or null | The latitude Wallapop shows for the listing: a rough point in its area, not an address. |
longitude | number or null | The longitude of that rough point. |
shippable | boolean or null | True when the listing can be sent by post through Wallapop. |
reserved | boolean or null | True when the seller has marked the listing as reserved for a buyer. Null for a single listing. |
refurbished | boolean or null | True for a refurbished product. Null for a single listing. |
has_warranty | boolean or null | True when the listing comes with a warranty. Null for a single listing. |
professional_seller | boolean or null | True when the listing is from a shop or a seller Wallapop marks as a top profile. |
views | integer or null | How many times the listing was viewed. Null in search results. |
favorites | integer or null | How many visitors saved the listing. Null in search results. |
images | array of string | The listing's photos, at their largest size, in the listing's order. |
created_at | string (date-time) or null | When the listing was posted, in UTC. Null for a single listing. |
modified_at | string (date-time) or null | When the listing was last changed, in UTC. |
fetched_at | string (date-time) | When Wallapop was asked, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/wallapop.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"iphone 13"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("wallapop.search", {"query": "iphone 13"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("wallapop.search", { query: "iphone 13" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "wallapop.search", map[string]any{"query": "iphone 13"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("wallapop.search", Map.of("query", "iphone 13"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run wallapop.search --input 'query=iphone 13'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"query": "iphone 13"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "wallapop.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"query": "iphone 13"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": 1,
"item_id": "v6gpd404r56e",
"title": "iPhone 13 128GB Negro",
"url": "https://es.wallapop.com/item/iphone-13-128gb-negro-1322474464",
"description": "iPhone 13 en color negro, con un diseño estilizado y compacto.\n\n- 128GB de almacenamiento.\n- Capacidad de batería al 89%.\n- Incluye caja original y funda protectora.",
"price": 215,
"currency": "EUR",
"category": "Smartphones",
"category_path": [
"Technology & electronics",
"Phones: mobiles & smartwatches",
"Smartphones"
],
"details": [],
"city": "Madrid",
"region": "Comunidad de Madrid",
"postal_code": "28015",
"country_code": "ES",
"latitude": 40.43714410182315,
"longitude": -3.7079830656989214,
"shippable": true,
"reserved": false,
"refurbished": false,
"has_warranty": false,
"professional_seller": false,
"views": null,
"favorites": null,
"images": [
"https://cdn.wallapop.com/images/10420/lv/d7/__/c10420p1322474464/i6855692114.jpg?pictureSize=W800",
"https://cdn.wallapop.com/images/10420/lv/d7/__/c10420p1322474464/i6855692122.jpg?pictureSize=W800",
"https://cdn.wallapop.com/images/10420/lv/d7/__/c10420p1322474464/i6855692129.jpg?pictureSize=W800"
],
"created_at": "2026-11-09T12:32:38.592000Z",
"modified_at": "2026-11-18T15:17:31.572000Z",
"fetched_at": "2026-11-19T18:07:41.740135Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
images: 6 items, the first 3 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Wallapop scrapers are in their own section there.