# Vinted Secondhand Fashion Scraper (`lulzasaur/vinted-scraper`) Actor

Scrape Vinted secondhand fashion listings by search query. Returns title, price, brand, size, condition, seller, favourites, views, image, and listing URL. Uses Vinted's catalog API with a warmed session. Supports multiple queries, result limits, and proxy config.

- **URL**: https://apify.com/lulzasaur/vinted-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Vinted Secondhand Fashion Scraper

Scrape product listings from **[Vinted](https://www.vinted.com)** — one of the largest secondhand fashion marketplaces — by search query or by browsing the newest catalog. Perfect for resale/arbitrage research, price monitoring, brand tracking, and market analysis.

### What it does

Give it one or more search terms (e.g. `nike hoodie`, `levis 501`, `stanley cup`) and it returns clean, structured listing data pulled directly from Vinted's catalog API.

### Output fields

Each listing record includes:

| Field | Description |
|-------|-------------|
| `id` | Vinted item ID |
| `title` | Listing title |
| `brand` | Brand name |
| `price` | Item price (number) |
| `totalPrice` | Price including buyer protection fee |
| `serviceFee` | Buyer protection fee |
| `currency` | Currency code (e.g. `USD`, `EUR`) |
| `size` | Size label (e.g. `L / US 12-14`) |
| `condition` | Item condition (e.g. `New without tags`, `Very good`) |
| `favourites` | Number of favourites/likes |
| `views` | View count |
| `isPromoted` | Whether the listing is promoted |
| `sellerId` | Seller user ID |
| `sellerLogin` | Seller username |
| `sellerUrl` | Seller profile URL |
| `sellerIsBusiness` | Whether the seller is a business account |
| `imageUrl` | Primary product image URL |
| `url` | Direct listing URL |
| `description` | Full description (only when `scrapeDetails` is on; best-effort) |
| `scrapedAt` | ISO timestamp of when the record was scraped |

### Input

```json
{
  "searchQueries": ["nike hoodie", "levis 501"],
  "maxResults": 100,
  "order": "relevance",
  "scrapeDetails": false,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

- **searchQueries** — list of search terms. Use `[""]` to browse the newest listings without a keyword.
- **maxResults** — max listings per query (`0` = unlimited).
- **order** — `relevance`, `newest_first`, `price_low_to_high`, or `price_high_to_low`.
- **scrapeDetails** — fetch full item descriptions (slower; may be blocked by anti-bot).
- **proxyConfiguration** — proxy settings. Vinted uses DataDome; **residential proxies are recommended** for large or repeated runs.

### How it works

Vinted's catalog is served by a JSON API (`/api/v2/catalog/items`). The Actor first performs a homepage GET to obtain an anonymous session cookie, then calls the catalog API with that session plus a realistic browser fingerprint. It auto re-warms the session if it hits an anti-bot challenge.

### Notes & limitations

- Vinted uses **DataDome** anti-bot protection. The catalog API is reliably accessible with a warmed session; individual item detail pages are more aggressively protected, so `scrapeDetails` is best-effort and may return `null` descriptions.
- For heavy usage, enable **residential** proxies in `proxyConfiguration`.
- Respect Vinted's Terms of Service and scrape responsibly.

### Pricing

This Actor uses **pay-per-result** pricing. You are charged a small fee per listing returned, plus a tiny Actor-start fee.

# Actor input Schema

## `searchQueries` (type: `array`):

One or more search terms to look up on Vinted (e.g. "nike hoodie", "levis 501"). Use a single empty string "" to browse the newest catalog listings.

## `maxResults` (type: `integer`):

Maximum number of listings to collect for each search query. Set to 0 for unlimited (scrapes all available pages).

## `order` (type: `string`):

Sort order for catalog results.

## `scrapeDetails` (type: `boolean`):

If enabled, fetches each item's full description page. NOTE: Vinted item pages are often DataDome-protected, so descriptions may be null when blocked. This also makes runs significantly slower. All other fields come from the catalog API and are always populated.

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

Proxy settings. Vinted uses DataDome anti-bot; RESIDENTIAL proxies are recommended for large or repeated runs. Datacenter often works for smaller runs.

## Actor input object example

```json
{
  "searchQueries": [
    "nike"
  ],
  "maxResults": 100,
  "order": "relevance",
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "nike"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/vinted-scraper").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 = {
    "searchQueries": ["nike"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/vinted-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "nike"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lulzasaur/vinted-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lulzasaur/vinted-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Y6r3vymOZpto7T7Ew/builds/R4MXLcLewiC5IwgO3/openapi.json
