# vinted.search

The second-hand listings a Vinted search shows in one of Vinted's countries: title, price, brand, size and condition, saves and photo.

Vinted search, one of the Vinted scrapers.

| | |
| --- | --- |
| Id | `vinted.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/vinted.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. `nike air max` or `robe zara`. Limit: at least 1 characters, at most 150 characters. |
| `country` | "GB" \| "FR" \| "DE" \| "ES" \| "IT" \| "NL" \| "BE" \| "PL" \| "PT" \| "AT" \| "IE" \| "LU" \| "LT" \| "CZ" \| "SK" \| "HU" \| "RO" \| "SE" \| "FI" \| "DK" \| "GR" \| "HR" | no | The country whose Vinted site to search, as a two-letter code, e.g. `GB`, `FR`, `DE`. Default: `"GB"`. |
| `order` | "relevance" \| "newest" \| "price_low_to_high" \| "price_high_to_low" | no | The order of the results. Default: `"relevance"`. |
| `page` | integer | no | The results page, 96 listings a page. Limit: 1 to 10. Default: `1`. |

## 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 | The listing's place on this page, from 1. |
| `page` | integer | The results page the listing was on. |
| `item_id` | string | Vinted's id of the listing. |
| `title` | string | The listing's title, as its seller wrote it. |
| `url` | string | The listing's page on Vinted. |
| `price` | number or null | The price the seller asks, in `currency`. |
| `total_price` | number or null | The price with Vinted's buyer protection fee, as the card shows it. |
| `discounted_price` | number or null | The price after a discount, when the card shows one. |
| `currency` | string or null | The ISO currency code of the prices, e.g. `GBP`, `EUR`. |
| `brand` | string or null | The brand the card names, e.g. `Nike`. |
| `details` | array of string | What the card's second line states, in the site's language, usually the size and the condition, e.g. `6`, `Very good`. |
| `favourites` | integer or null | How many people saved the listing. |
| `promoted` | boolean or null | True when the listing is a paid promotion. |
| `business_seller` | boolean or null | True when the seller is a business, not a private person. |
| `photo` | string or null | The listing's main photo. |
| `fetched_at` | string (date-time) | When the results page was read, 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/vinted.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"nike air max"}}'
```

## 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": "vinted.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "nike air max"
  },
  "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": 2,
      "page": 1,
      "item_id": "10840230617",
      "title": "Nike air max 90",
      "url": "https://www.vinted.co.uk/items/10840230617-nike-air-max-90",
      "price": 65,
      "total_price": 68.95,
      "discounted_price": null,
      "currency": "GBP",
      "brand": "Nike",
      "details": [
        "10",
        "Very good"
      ],
      "favourites": 16,
      "promoted": true,
      "business_seller": false,
      "photo": "https://images1.vinted.net/t/01_026ac_qgVarVzTp5zHhyUpFtigKw2n/f800/aecb5c23.webp?s=470ba58a4f1d9b159abc84f0f101a4effa7d2467",
      "fetched_at": "2026-11-19T18:53:48.140956Z"
    }
  ],
  "next_cursor": null
}
```

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 Vinted scrapers](https://docs.enrichednow.com/results-and-statuses.md#vinted) are in their own section there.
