# wallapop.search

The second-hand listings Wallapop shows for a search around a place: title, price, category, details, town, photos and dates.

Wallapop search, one of the Wallapop scrapers.

| | |
| --- | --- |
| 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](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | What to search for, e.g. `iphone 13` or `bicicleta`. Limit: at least 1 characters, at most 150 characters. |
| `latitude` | number | no | The latitude of the point to search around, in decimal degrees. Madrid when not given. Limit: -90 to 90. Default: `40.4168`. |
| `longitude` | number | no | 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" | no | The order of the results. Default: `"most_relevance"`. |
| `min_price` | integer | no | Only listings at this price or more, in the listing's currency. Limit: 0 to 10000000. |
| `max_price` | integer | no | Only listings at this price or less. Limit: 0 to 10000000. |
| `max_results` | integer | no | 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. |
| `details[].name` | string | What the detail is, as Wallapop names it, e.g. `Brand`, `Condition`, `Storage capacity`, or for a car `km`, `gearbox`. |
| `details[].value` | 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

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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"}}'
```

## 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`.

```json
{
  "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.

```json
{
  "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](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Wallapop scrapers](https://docs.enrichednow.com/results-and-statuses.md#wallapop) are in their own section there.
