# Vinted Product Search (`pintostudio/vinted-product-search`) Actor

The Vinted Product Search Actor is a web scraping tool designed to search and extract product information from the Vinted marketplace.

- **URL**: https://apify.com/pintostudio/vinted-product-search.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Stats:** 72 total users, 0 monthly users, 3.2% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.70 / 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Vinted Product Search Actor

### Overview

The **Vinted Product Search Actor** is a web scraping tool designed to search and extract product information from the Vinted marketplace. This actor allows you to search for products across different Vinted country domains, apply various filters, and retrieve detailed product data including pricing, seller information, images, and more.

### Features

- 🔍 **Product Search**: Search for products using keywords across Vinted marketplace
- 🌍 **Multi-Country Support**: Search across 13 different Vinted country domains
- 📄 **Pagination**: Browse through multiple pages of search results
- 🎛️ **Advanced Filtering**: Filter by category, size, brand, condition, color, and material
- 📊 **Sorting Options**: Sort results by newest, price, or relevance
- 📸 **Complete Product Data**: Extract comprehensive product information including images, pricing, and seller details

### Supported Countries

The actor supports the following Vinted country domains:

| Country | Code | Domain |
|---------|------|--------|
| Global | `com` | vinted.com |
| Portugal | `pt` | vinted.pt |
| France | `fr` | vinted.fr |
| Germany | `de` | vinted.de |
| Spain | `es` | vinted.es |
| Italy | `it` | vinted.it |
| Belgium | `be` | vinted.be |
| Netherlands | `nl` | vinted.nl |
| Czech Republic | `cz` | vinted.cz |
| Slovakia | `sk` | vinted.sk |
| Lithuania | `lt` | vinted.lt |
| Latvia | `lv` | vinted.lv |
| Luxembourg | `lu` | vinted.lu |

### Input Parameters

#### Required Parameters

| Parameter | Type | Description | Example |
|-----------|------|-------------|---------|
| `query` | String | Search term for products | `"nike shoes"`, `"summer dress"` |

#### Optional Parameters

| Parameter | Type | Default | Description | Example |
|-----------|------|---------|-------------|---------|
| `page` | Integer | `1` | Page number for pagination | `1`, `2`, `3` |
| `perPage` | Integer | `96` | Number of items per page (max 96) | `50`, `96` |
| `country` | String | `"com"` | Country domain code | `"pt"`, `"fr"`, `"de"` |
| `orderBy` | String | `"newest_first"` | Sort order | `"price_low_to_high"`, `"relevance"` |
| `catalogIds` | String | `""` | Comma-separated category IDs | `"1,2,3"` |
| `sizeIds` | String | `""` | Comma-separated size IDs | `"206,207,208"` |
| `brandIds` | String | `""` | Comma-separated brand IDs | `"53,88,304"` |
| `statusIds` | String | `""` | Comma-separated condition IDs | `"1,2,3"` |
| `colorIds` | String | `""` | Comma-separated color IDs | `"1,2,3"` |
| `materialIds` | String | `""` | Comma-separated material IDs | `"1,2,3"` |

#### Sort Options

- `newest_first` - Sort by newest listings first
- `price_low_to_high` - Sort by price ascending
- `price_high_to_low` - Sort by price descending
- `relevance` - Sort by search relevance

### Input Example

```json
{
  "query": "boots",
  "page": 1,
  "perPage": 96,
  "country": "com",
  "orderBy": "newest_first",
  "catalogIds": "",
  "sizeIds": "",
  "brandIds": "",
  "statusIds": "",
  "colorIds": "",
  "materialIds": ""
}
```

### Output Format

The actor returns a JSON object containing the search results with the following structure:

#### Main Output Object

| Field | Type | Description |
|-------|------|-------------|
| `query` | String | The search query used |
| `page` | String | Current page number |
| `perPage` | String | Items per page |
| `country` | String | Country domain used |
| `orderBy` | String | Sort order applied |
| `filters` | Object | Applied filters |
| `totalResults` | Number | Total number of results found |
| `products` | Array | Array of product objects |
| `pagination` | Object | Pagination information |
| `timestamp` | String | ISO timestamp of the search |

#### Product Object Structure

Each product in the `products` array contains:

| Field | Type | Description |
|-------|------|-------------|
| `id` | Number | Unique product ID |
| `title` | String | Product title |
| `price` | Object | Price information (amount, currency) |
| `brand_title` | String | Brand name |
| `path` | String | Product URL path |
| `url` | String | Full product URL |
| `photo` | Object | Main product image information |
| `user` | Object | Seller information |
| `size_title` | String | Product size |
| `status` | String | Product condition |
| `favourite_count` | Number | Number of favorites |
| `view_count` | Number | Number of views |
| `service_fee` | Object | Vinted service fee |
| `total_item_price` | Object | Total price including fees |

#### Pagination Object

| Field | Type | Description |
|-------|------|-------------|
| `current_page` | Number | Current page number |
| `total_pages` | Number | Total number of pages |
| `total_entries` | Number | Total number of products |
| `per_page` | Number | Items per page |
| `time` | Number | Unix timestamp |

### Output Example

```json
{
  "query": "boots",
  "page": "1",
  "perPage": "96",
  "country": "com",
  "orderBy": "newest_first",
  "filters": {
    "catalogIds": "",
    "sizeIds": "",
    "brandIds": "",
    "statusIds": "",
    "colorIds": "",
    "materialIds": ""
  },
  "totalResults": 960,
  "products": [
    {
      "id": 6777712452,
      "title": "Western style black cowboy boots",
      "price": {
        "amount": "25.0",
        "currency_code": "USD"
      },
      "brand_title": "NO LABEL",
      "path": "/items/6777712452-western-style-black-cowboy-boots",
      "url": "https://www.vinted.com/items/6777712452-western-style-black-cowboy-boots",
      "photo": {
        "id": 27566964484,
        "url": "https://images1.vinted.net/t/03_01452_UNE7mywriJbTPPVkLckfwgjt/f800/1753871869.jpeg",
        "width": 800,
        "height": 600,
        "dominant_color": "#98968A"
      },
      "user": {
        "id": 235470340,
        "login": "dionnamarie",
        "profile_url": "https://www.vinted.com/member/235470340-dionnamarie"
      },
      "size_title": "7.5",
      "status": "Very good",
      "favourite_count": 0,
      "view_count": 0,
      "service_fee": {
        "amount": "1.95",
        "currency_code": "USD"
      },
      "total_item_price": {
        "amount": "26.95",
        "currency_code": "USD"
      }
    }
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 10,
    "total_entries": 960,
    "per_page": 96,
    "time": 1753872030
  },
  "timestamp": "2025-07-30T10:40:31.208Z"
}
```

### Usage Examples

#### Basic Product Search

```json
{
  "query": "nike sneakers"
}
```

#### Search with Filters

```json
{
  "query": "dress",
  "country": "fr",
  "orderBy": "price_low_to_high",
  "perPage": 50,
  "sizeIds": "206,207,208"
}
```

#### Paginated Search

```json
{
  "query": "boots",
  "page": 2,
  "perPage": 48,
  "orderBy": "newest_first"
}
```

### Error Handling

The actor includes comprehensive error handling:

- **Missing Query**: Throws an error if the required `query` parameter is not provided
- **Invalid Country**: Warns if an unsupported country code is used but continues execution
- **Search Failures**: Returns error information in the output if the search fails
- **No Results**: Returns an empty products array with appropriate metadata if no products are found

### Rate Limiting and Best Practices

- The actor respects Vinted's servers and implements appropriate delays
- Use reasonable `perPage` values (maximum 96)
- For large datasets, use pagination instead of very high `perPage` values
- Monitor your usage to avoid overwhelming the target website

### Data Storage

The actor stores results in two ways:

1. **Dataset**: All search results are pushed to the actor's dataset
2. **Key-Value Store**: A summary of the search is saved to the key-value store under the key `search_results`

### Use Cases

- **Price Monitoring**: Track prices of specific products across different markets
- **Market Research**: Analyze product availability and pricing trends
- **Inventory Management**: Monitor competitor listings and pricing
- **Data Analysis**: Collect data for fashion and retail analytics
- **Personal Shopping**: Find specific items across multiple Vinted markets

### Support

If you have any questions or encounter any issues, please consult the Apify documentation or reach out to us through one of the following channels:

- **Telegram**: [@pintoflow](https://t.me/pintoflow)
- **Email**: <pintoflowpt@gmail.com>
- **Apify Platform**: You can also contact us directly through this platform.

***

# Actor input Schema

## `query` (type: `string`):

Search term for products (e.g., 'nike shoes', 'summer dress')

## `page` (type: `integer`):

Page number for pagination (starts from 1)

## `perPage` (type: `integer`):

Number of items to return per page (max 96)

## `country` (type: `string`):

Country domain for Vinted (e.g., 'com', 'pt', 'fr', 'de', 'es', 'it')

## `orderBy` (type: `string`):

Order to sort the search results

## `catalogIds` (type: `string`):

Comma-separated catalog IDs to filter by category (optional)

## `sizeIds` (type: `string`):

Comma-separated size IDs to filter by size (optional)

## `brandIds` (type: `string`):

Comma-separated brand IDs to filter by brand (optional)

## `statusIds` (type: `string`):

Comma-separated status IDs to filter by condition (optional)

## `colorIds` (type: `string`):

Comma-separated color IDs to filter by color (optional)

## `materialIds` (type: `string`):

Comma-separated material IDs to filter by material (optional)

## Actor input object example

```json
{
  "query": "shoes",
  "page": 1,
  "perPage": 96,
  "country": "com",
  "orderBy": "newest_first",
  "catalogIds": "1,2,3",
  "sizeIds": "206,207,208",
  "brandIds": "53,88,304",
  "statusIds": "1,2,3",
  "colorIds": "1,2,3",
  "materialIds": "1,2,3"
}
```

# 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 = {
    "query": "shoes",
    "page": 1,
    "perPage": 96,
    "country": "com",
    "orderBy": "newest_first",
    "catalogIds": "",
    "sizeIds": "",
    "brandIds": "",
    "statusIds": "",
    "colorIds": "",
    "materialIds": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/vinted-product-search").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 = {
    "query": "shoes",
    "page": 1,
    "perPage": 96,
    "country": "com",
    "orderBy": "newest_first",
    "catalogIds": "",
    "sizeIds": "",
    "brandIds": "",
    "statusIds": "",
    "colorIds": "",
    "materialIds": "",
}

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

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

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

```

## CLI example

```bash
echo '{
  "query": "shoes",
  "page": 1,
  "perPage": 96,
  "country": "com",
  "orderBy": "newest_first",
  "catalogIds": "",
  "sizeIds": "",
  "brandIds": "",
  "statusIds": "",
  "colorIds": "",
  "materialIds": ""
}' |
apify call pintostudio/vinted-product-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pintostudio/vinted-product-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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