Get Wallapop listings as JSON with one HTTP request. The Wallapop Scraper API searches second-hand listings with Wallapop's own filters (price, condition, brand, distance, shipping, and year, mileage and gearbox for cars), returns full listing pages with views and favourites, and reads seller profiles, their live listings and the reviews they received, in Spain, Italy and Portugal. This repo has a runnable Python, Node.js and cURL example for each endpoint and the real response each one returned.
A Wallapop scraper collects public listing data from Wallapop, such as titles, prices, condition, location, photos, view and favourite counts, and seller ratings, and returns it as structured data. Resellers use it to price items, dealers to watch used-car prices, and analysts to track second-hand demand. With this API you send a keyword, category or seller ID and get JSON back, for any point in Spain, Italy or Portugal.
- Quick start
- Endpoints
- Common parameters
- Examples by endpoint
- Example output
- Use it with AI agents (MCP)
- Use cases
- Pricing
- Errors
- FAQ
- Other languages
- Related scrapers
- Learn more
-
Create a free ScrapeBadger account. You get 1,000 free credits, no card needed.
-
Copy your API key from the dashboard and export it:
export SCRAPEBADGER_API_KEY="your_api_key"
-
Make your first request: search Wallapop listings.
cURL
curl -sS --max-time 120 -G "https://scrapebadger.com/v1/wallapop/search" \
-H "X-API-Key: $SCRAPEBADGER_API_KEY" \
--data-urlencode 'query=iphone 14' \
--data-urlencode 'market=es' \
--data-urlencode 'min_price=200' \
--data-urlencode 'max_price=600'Python (pip install requests)
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/search",
headers={"X-API-Key": API_KEY},
params={
"query": "iphone 14",
"market": "es",
"min_price": 200,
"max_price": 600,
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js (18+, no dependencies)
const params = new URLSearchParams({
query: 'iphone 14',
market: 'es',
min_price: '200',
max_price: '600',
});
const response = await fetch(`https://scrapebadger.com/v1/wallapop/search?${params}`, {
headers: { 'X-API-Key': process.env.SCRAPEBADGER_API_KEY },
signal: AbortSignal.timeout(120000),
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${await response.text()}`);
}
console.log(JSON.stringify(await response.json(), null, 2));Every endpoint below has the same three versions in examples/, and the real response it returned is in output-samples/.
Base URL: https://scrapebadger.com. Authenticate with the X-API-Key header. Credits are charged only for successful requests.
| Endpoint | What it returns | Credits per request | Docs |
|---|---|---|---|
GET /v1/wallapop/search |
Search listings | 8 | Docs |
GET /v1/wallapop/items/{item_id} |
Get listing detail | 8 | Docs |
GET /v1/wallapop/users/{user_id} |
Get user profile | 8 | Docs |
GET /v1/wallapop/users/{user_id}/items |
Get user listings | 8 | Docs |
GET /v1/wallapop/users/{user_id}/reviews |
Get user reviews | 8 | Docs |
GET /v1/wallapop/autocomplete |
Autocomplete | 2 | Docs |
GET /v1/wallapop/categories |
List categories | 2 | Docs |
GET /v1/wallapop/filters |
List search filters | 3 | Docs |
GET /v1/wallapop/filters/{filter_id}/options |
List filter options | 3 | Docs |
GET /v1/wallapop/markets |
List markets | Free | Docs |
| Parameter | Description | Default |
|---|---|---|
market |
es (Spain), it (Italy) or pt (Portugal). Sets the default search location and the language of category and filter names. |
es |
next_page |
Cursor from the previous response. Send it on its own (with the same market) to get the next page of search results, a seller's listings or reviews. |
Each example prints the JSON response. The Python versions are below; Node.js and cURL versions are linked under each one.
Search Wallapop listings (40 per page). Needs a query, a category_id, subcategory_ids, or a combination.
GET /v1/wallapop/search · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
query |
string | Search text, e.g. 'iphone 14' | ||
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) | |
latitude |
number | Search centre latitude (defaults to the market capital) | ||
longitude |
number | Search centre longitude | ||
distance_km |
integer | Search radius | ||
category_id |
integer | Category id from /categories | ||
subcategory_ids |
string | Comma-separated subcategory ids from /categories (any level of the tree), e.g. 9447 (Smartphones) or 9447,10310 | ||
min_price |
number | Minimum price (EUR) | ||
max_price |
number | Maximum price (EUR) | ||
condition |
string | Comma-separated: un_opened, in_box, new, as_good_as_new, good, fair, has_given_it_all | ||
brand |
string | Brand, e.g. Apple | ||
model |
string | Model, e.g. iPhone 14 | ||
color |
string | Colour id, e.g. black | ||
time_filter |
enum | Only listings published within this window One of today, lastWeek, lastMonth. |
||
shippable |
boolean | false |
Only listings that ship | |
has_warranty |
boolean | false |
Only listings with a warranty | |
refurbished |
boolean | false |
Only refurbished listings | |
min_year |
integer | Cars: earliest model year | ||
max_year |
integer | Cars: latest model year | ||
min_km |
integer | Cars: minimum mileage | ||
max_km |
integer | Cars: maximum mileage | ||
gearbox |
enum | Cars One of manual, automatic. |
||
min_horsepower |
integer | Cars: minimum power | ||
max_horsepower |
integer | Cars: maximum power | ||
order_by |
enum | most_relevance |
Sort order One of most_relevance, newest, closest, price_low_to_high, price_high_to_low. |
|
next_page |
string | Cursor from the previous page's next_page; other parameters are then ignored |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/search",
headers={"X-API-Key": API_KEY},
params={
"query": "iphone 14",
"market": "es",
"min_price": 200,
"max_price": 600,
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (169 KB)
Search Wallapop listings (40 per page). Needs a query, a category_id, subcategory_ids, or a combination. The same search endpoint with the Cars category (100) and its year, mileage and gearbox filters.
GET /v1/wallapop/search · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
category_id |
integer | Category id from /categories | ||
query |
string | Search text, e.g. 'iphone 14' | ||
min_year |
integer | Cars: earliest model year | ||
max_year |
integer | Cars: latest model year | ||
min_km |
integer | Cars: minimum mileage | ||
max_km |
integer | Cars: maximum mileage | ||
gearbox |
enum | Cars One of manual, automatic. |
||
min_horsepower |
integer | Cars: minimum power | ||
max_horsepower |
integer | Cars: maximum power | ||
min_price |
number | Minimum price (EUR) | ||
max_price |
number | Maximum price (EUR) |
Plus 15 more parameters in the docs.
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/search",
headers={"X-API-Key": API_KEY},
params={
"query": "volkswagen golf",
"category_id": 100,
"market": "es",
"min_year": 2018,
"max_km": 100000,
"gearbox": "manual",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (423 KB)
Full listing detail by id (e.g. nzxeknm5x562) or listing slug.
GET /v1/wallapop/items/{item_id} · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
item_id |
Yes | string | Wallapop item ID, e.g. vjren7dglwzk (the id in search results), or the listing slug from its URL |
|
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
item_id = "vjren7dglwzk"
response = requests.get(
f"https://scrapebadger.com/v1/wallapop/items/{item_id}",
headers={"X-API-Key": API_KEY},
params={
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (3 KB)
Seller profile with ratings, sales counters, response rate and verifications.
GET /v1/wallapop/users/{user_id} · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
user_id |
Yes | string | Wallapop user ID, e.g. 7v6go8ydxnje (the user_id on a listing) |
|
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
user_id = "7v6go8ydxnje"
response = requests.get(
f"https://scrapebadger.com/v1/wallapop/users/{user_id}",
headers={"X-API-Key": API_KEY},
params={
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (1 KB)
A seller's live listings, 40 per page.
GET /v1/wallapop/users/{user_id}/items · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
user_id |
Yes | string | Wallapop user ID, e.g. 7v6go8ydxnje (the user_id on a listing) |
|
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) | |
next_page |
string | Cursor from the previous page's next_page |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
user_id = "7v6go8ydxnje"
response = requests.get(
f"https://scrapebadger.com/v1/wallapop/users/{user_id}/items",
headers={"X-API-Key": API_KEY},
params={
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (77 KB)
Reviews a seller received, newest first, 40 per page.
GET /v1/wallapop/users/{user_id}/reviews · Credits: 8 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
user_id |
Yes | string | Wallapop user ID, e.g. 7v6go8ydxnje (the user_id on a listing) |
|
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) | |
next_page |
string | Cursor from the previous page's next_page |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
user_id = "7v6go8ydxnje"
response = requests.get(
f"https://scrapebadger.com/v1/wallapop/users/{user_id}/reviews",
headers={"X-API-Key": API_KEY},
params={
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (36 KB)
The filters Wallapop offers for a category or query, with option ids.
GET /v1/wallapop/filters · Credits: 3 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
category_id |
integer | Category the filters apply to | ||
subcategory_ids |
string | Comma-separated subcategory ids (needs their category_id) | ||
query |
string | Search text the filters apply to | ||
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/filters",
headers={"X-API-Key": API_KEY},
params={
"category_id": 100,
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (7 KB)
Long option lists (e.g. brand, model) for filters flagged options_endpoint.
GET /v1/wallapop/filters/{filter_id}/options · Credits: 3 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
filter_id |
Yes | string | A filter id from GET /v1/wallapop/filters whose options_endpoint is true, e.g. brand or model |
|
category_id |
integer | Category to scope options to | ||
subcategory_ids |
string | Comma-separated subcategory ids (needs their category_id) | ||
query |
string | Search text to scope options to | ||
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
filter_id = "brand"
response = requests.get(
f"https://scrapebadger.com/v1/wallapop/filters/{filter_id}/options",
headers={"X-API-Key": API_KEY},
params={
"category_id": 100,
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (5 KB)
Wallapop's search-box suggestions for a partial query.
GET /v1/wallapop/autocomplete · Credits: 2 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
query |
Yes | string | Partial search text, e.g. 'bici' | |
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/autocomplete",
headers={"X-API-Key": API_KEY},
params={
"query": "bici",
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (1 KB)
The full category tree; top-level ids are the search category_id, nested subcategory ids go in subcategory_ids.
GET /v1/wallapop/categories · Credits: 2 · Docs
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
market |
string | es |
Market: es (Spain), it (Italy), pt (Portugal) |
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/categories",
headers={"X-API-Key": API_KEY},
params={
"market": "es",
},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (259 KB)
Supported Wallapop markets and their default search location.
GET /v1/wallapop/markets · Credits: Free · Docs
import json
import os
import requests
API_KEY = os.environ["SCRAPEBADGER_API_KEY"]
response = requests.get(
"https://scrapebadger.com/v1/wallapop/markets",
headers={"X-API-Key": API_KEY},
timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))Node.js · cURL · Output sample (1 KB)
A real response from GET /v1/wallapop/search, trimmed to the first items of each list. The full response is in output-samples/search.json.
{
"items": [
{
"id": "8z88o7elqlz3",
"user_id": "8z819w8g3d63",
"title": "iPhone 14 256GB Negro",
"description": "iPhone 14 – 256 GB – Negro\n\niPhone 14 de 256 GB en color negro\n\n* Modelo: iPhone 14\n* Almacenamiento: 256 GB\n* Color: Negro\n* Salud de batería: 84 %\n* Estado: Buen estado, funcionamiento correcto, con algo de uso y el al…",
"price": 255.0,
"currency": "EUR",
"category_id": 24200,
"taxonomy": [
{
"id": 24200,
"name": "Tecnología y electrónica"
}
],
"condition": null,
"brand": null,
"model": null,
"attributes": {},
"images": [
{
"id": "vjrkvkdkq7lz",
"small": "https://cdn.wallapop.com/images/10420/ly/t7/__/c10420p1328259494/i6888350519.jpg?pictureSize=W320",
"medium": "https://cdn.wallapop.com/images/10420/ly/t7/__/c10420p1328259494/i6888350519.jpg?pictureSize=W640",
"large": "https://cdn.wallapop.com/images/10420/ly/t7/__/c10420p1328259494/i6888350519.jpg?pictureSize=W800",
"average_color": "13C1AC"
}
],
"location": {
"latitude": 40.49751032422303,
"longitude": -3.51252296153805,
"postal_code": "28860",
"city": "Paracuellos de Jarama",
"region": "Comunidad de Madrid",
"region2": "Madrid",
"country_code": "ES",
"approximated": null
},
"shippable": true,
"user_allows_shipping": true,
"reserved": false,
"bumped": true,
"bump_type": "city",
"is_top_profile": true,
"is_refurbished": false,
"has_warranty": false,
"slug": "iphone-14-256gb-negro-1328259494",
"url": "https://es.wallapop.com/item/iphone-14-256gb-negro-1328259494",
"created_utc": 1795638794.542,
"created_at": "2026-11-25T20:33:14.542000Z",
"modified_utc": 1796162936.249,
"modified_at": "2026-12-01T22:08:56.249000Z"
}
],
"result_count": 40,
"total_results": 2309,
"next_page": "eyJhbGciOiJIUzI1NiJ9.eyJwYXJhbXMiOnsic2VhcmNoUmVxdWVzdFBhcmFtcyI6eyJrZXl3b3JkcyI6ImlwaG9uZSAxNCIsImxhdGl0dWRlIjo0MC40MTY4LCJsb25naXR1ZGUiOi0zLjcwMzgsIm1pbl9zYWxlX3ByaWNlIjoyMDAuMCwibWF4X3NhbGVfcHJpY2UiOjYwMC4wLCJvcmRlcl9…",
"order_by": "most_relevance",
"market": "es",
…ScrapeBadger runs a hosted MCP server, so Claude, Cursor, ChatGPT and other agents can call the Wallapop endpoints as tools, with no code.
- Claude (claude.ai or Claude Desktop): Settings → Connectors → Add custom connector →
https://mcp.scrapebadger.com/mcp, then sign in. No API key needed. - Cursor, VS Code, Windsurf and other clients: add this server to your MCP config:
{
"mcpServers": {
"scrapebadger": {
"url": "https://mcp.scrapebadger.com/mcp?apis=wallapop",
"headers": { "Authorization": "Bearer YOUR_SCRAPEBADGER_API_KEY" }
}
}
}Then ask:
Find iPhone 14 listings on Wallapop within 20 km of Barcelona between 300 and 500 euros that ship, and give me the median price and the 5 best-rated sellers.
Setup guides for each client are in the MCP docs.
| Use case | What you collect | Endpoints |
|---|---|---|
| Resale pricing | Asking prices for an item by condition and location, and how fast listings collect views and favourites | Search Wallapop listings, Get listing details |
| Used-car market tracking | Car listings by make, model, year, mileage and gearbox, with version, fuel, power and price | Search used cars, List search filters, List filter options |
| Seller research | A seller's rating, sales count, verifications, live listings and reviews | Get a seller profile, Get a seller's listings, Get a seller's reviews |
| Local demand analysis | What is listed within a radius of a city, by category | Search Wallapop listings, List categories |
| Keyword research | What buyers type into Wallapop search | Get search suggestions |
- Each endpoint's credit cost is listed in the endpoints table.
- Only successful requests are billed. Blocked, empty and failed results cost nothing.
- New accounts get 1,000 free credits. After that, pay as you go or pick a monthly plan. Credits on pay-as-you-go never expire.
See ScrapeBadger pricing for the price per credit on each plan.
Errors come back as JSON with a detail field (and an error code on some).
| Status | Meaning | What to do |
|---|---|---|
400 / 422 |
A parameter is missing or invalid | Check the parameter table for the endpoint |
401 |
Missing, invalid or expired API key | Send the key in the X-API-Key header |
402 |
Out of credits | Top up or upgrade in the dashboard |
403 |
The key can't call this API, or the request came from an IP the key doesn't allow | Check the key's scopes and IP allowlist |
404 |
The item, page or profile doesn't exist (or is no longer public) | Check the ID; not billed |
429 |
Over your account's max concurrency | Wait Retry-After (1 s) and retry; run fewer calls in parallel (concurrency) |
502 / 503 / 504 |
The target site failed or timed out on this attempt | Not billed. Retry with backoff |
Long calls can run asynchronously: send Prefer: respond-async and poll the returned request_id (async requests).
Is it legal to scrape Wallapop?
Listings, seller profiles and reviews on Wallapop are public, and collecting public data is generally lawful in most jurisdictions. Most Wallapop sellers are private people, so profiles and reviews are personal data: check the rules that apply to how you store and use them (GDPR applies in Spain, Italy and Portugal), and ask a lawyer if you're unsure.
What Wallapop data can I get?
Search results with price, location, shipping, warranty and photos (plus make, model, year, mileage, fuel, gearbox and power for cars); full listings with description, category path, attributes, condition, views, favourites and conversations; seller profiles with rating, sales and purchase counts, response rate and verifications; a seller's live listings; the reviews a seller received; search suggestions; and the category tree and filter options. See the endpoints table.
How much does it cost?
Each request costs a fixed number of credits, shown in the endpoints table, and only successful requests are billed. Empty results are free too. You get 1,000 free credits when you sign up, then pay as you go or pick a plan on the pricing page.
Which countries are supported?
Spain (es), Italy (it) and Portugal (pt), with prices in EUR. Wallapop searches by location rather than by domain: each market defaults to its capital, and latitude, longitude and distance_km search around any point you choose.
How fast is it, and are there rate limits?
Search, listings and seller profiles usually answer in under a second. There's no per-minute cap: you can run as many requests in parallel as your plan's max concurrency allows, and a request over it gets 429 without being billed. Search, seller listings and reviews return up to 40 results per page.
These examples use plain HTTP. Official SDKs wrap every endpoint with types and retries:
| Language | Repository | Install |
|---|---|---|
| Python | scrape-badger/scrapebadger-python | pip install scrapebadger |
| Node.js / TypeScript | scrape-badger/scrapebadger-node | npm install scrapebadger |
| Go | scrape-badger/scrapebadger-go | |
| Java | scrape-badger/scrapebadger-java | |
| C# | scrape-badger/scrapebadger-csharp | |
| PHP | scrape-badger/scrapebadger-php | |
| Ruby | scrape-badger/scrapebadger-ruby | |
| Rust | scrape-badger/scrapebadger-rust | |
| Kotlin | scrape-badger/scrapebadger-kotlin | |
| Swift | scrape-badger/scrapebadger-swift | |
| Dart | scrape-badger/scrapebadger-dart | |
| C++ | scrape-badger/scrapebadger-cpp |
There is also a CLI (pip install scrapebadger-cli) and an n8n node.
- Vinted Scraper API: Search by text or photo, items, sellers, brands and reference data on 27 markets
- Depop Scraper API: Second-hand fashion search, product details and seller shops in 10 markets
- Leboncoin Scraper API: French classified ads, ad details, similar ads and sellers, by region or city
- eBay Scraper API: Active and sold listings, item details, reviews and sellers on 18 marketplaces
- E-commerce Scraper API: Every marketplace we cover, with one example repo per marketplace
- Wallapop Scraper API: features, pricing and a live playground
- Wallapop API documentation
ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by Wallapop, S.L. or any of its subsidiaries or affiliates. "Wallapop" is a trademark of Wallapop, S.L., used here only to describe the platform this scraper works with. This repository only covers publicly available data. You are responsible for how you use the data you collect and for following the laws that apply to you.
MIT. The examples are free to copy into your own projects.
