# Vinted Seller Products (`pintostudio/vinted-seller-products`) Actor

The Vinted Seller Products Actor allows you to extract comprehensive product data from any Vinted seller's profile page.

- **URL**: https://apify.com/pintostudio/vinted-seller-products.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Security:** Limited permissions
- **Stats:** 68 total users, 4 monthly users, 91.9% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.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/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 Seller Products Actor

A powerful Apify actor for scraping detailed product information from Vinted seller profiles across multiple countries and languages.

### Overview

The Vinted Seller Products Actor allows you to extract comprehensive product data from any Vinted seller's profile page. It supports all major Vinted domains and provides detailed information about each product including pricing, images, condition, availability status, and engagement metrics.

### Features

- **Multi-country Support**: Works with all 22 Vinted country domains
- **Pagination Control**: Scrape specific pages or ranges of products
- **Detailed Product Data**: Extract comprehensive information for each item
- **Error Handling**: Robust error handling with detailed logging
- **Data Validation**: Input validation for all parameters
- **Summary Statistics**: Automatic calculation of seller metrics

### Input Configuration

#### Required Fields

##### Seller URL

- **Type**: String
- **Description**: The full URL of the Vinted seller profile
- **Format**: `https://www.vinted.[country]/member/[seller_id]`
- **Example**: `https://www.vinted.pt/member/74292334`
- **Validation**: Must match the pattern for valid Vinted seller URLs

#### Optional Fields

##### Country Domain

- **Type**: String (Dropdown)
- **Description**: The country domain for Vinted
- **Default**: `com` (International)
- **Supported Countries**:
  - `com` - International
  - `fr` - France
  - `de` - Germany
  - `es` - Spain
  - `it` - Italy
  - `be` - Belgium
  - `nl` - Netherlands
  - `at` - Austria
  - `ch` - Switzerland
  - `cz` - Czech Republic
  - `dk` - Denmark
  - `fi` - Finland
  - `hu` - Hungary
  - `lt` - Lithuania
  - `lv` - Latvia
  - `lu` - Luxembourg
  - `pl` - Poland
  - `pt` - Portugal
  - `ro` - Romania
  - `se` - Sweden
  - `sk` - Slovakia
  - `si` - Slovenia

##### Page Number

- **Type**: Integer
- **Description**: The page number to scrape (starting from 1)
- **Default**: `1`
- **Range**: Must be a positive integer
- **Use Case**: Navigate through multiple pages of products

##### Items Per Page

- **Type**: Integer
- **Description**: Number of items to retrieve per page
- **Default**: `20`
- **Range**: 1-100
- **Use Case**: Control the amount of data retrieved per request

#### Example Input

```json
{
  "sellerUrl": "https://www.vinted.pt/member/74292334",
  "country": "pt",
  "page": 1,
  "perPage": 20
}
```

### Output Data Structure

The actor returns an array of product objects, each containing detailed information about a single item from the seller's catalog.

#### Product Object Fields

| Field | Type | Description |
|-------|------|-------------|
| `sellerUrl` | String | Original seller profile URL |
| `country` | String | Country domain used |
| `page` | Integer | Page number scraped |
| `perPage` | Integer | Items per page setting |
| `productId` | Integer | Unique Vinted product ID |
| `title` | String | Product title/name |
| `price` | Object | Price information with amount and currency |
| `currency` | String | Currency code (e.g., "EUR", "USD") |
| `brand` | String/null | Brand name if available |
| `size` | String/null | Size information if available |
| `condition` | String | Item condition (e.g., "New without tags") |
| `description` | String | Product description |
| `photos` | Array | Array of image URLs |
| `url` | String | Direct link to the product page |
| `isVisible` | Boolean | Whether the item is currently visible |
| `isSold` | Boolean | Whether the item has been sold |
| `isReserved` | Boolean | Whether the item is reserved |
| `createdAt` | String | Creation timestamp |
| `updatedAt` | String | Last update timestamp |
| `viewCount` | Integer | Number of views |
| `favouriteCount` | Integer | Number of favorites |
| `category` | String/null | Product category if available |
| `timestamp` | String | Scraping timestamp (ISO format) |

#### Example Output

```json
[
  {
    "sellerUrl": "https://www.vinted.pt/member/74292334",
    "country": "pt",
    "page": 1,
    "perPage": 20,
    "productId": 6778683487,
    "title": "Casaco, cardigan amarelo. Tam S /M. Há Outras cores e modelos diferentes.",
    "price": {
      "amount": "7.5",
      "currency_code": "EUR"
    },
    "currency": "EUR",
    "brand": null,
    "size": null,
    "condition": "New without tags",
    "description": "Beautiful yellow cardigan in excellent condition...",
    "photos": [
      "https://images1.vinted.net/t/02_00303_UXe2HPfMwtYSKeAAY365rGrB/f800/1753880031.jpeg?s=30123f11c8496d66077411cf496cf36021bfe6ea",
      "https://images1.vinted.net/t/01_00476_in49mA74L8pZBwspYryaFs1h/f800/1753880031.jpeg?s=3c848ea1d7513701fa2cbe4d0ccfe262df0dd1c1"
    ],
    "url": "https://www.vinted.pt/items/6778683487-casaco-cardigan-amarelo-tam-s-m-ha-outras-cores-e-modelos-diferentes",
    "isVisible": true,
    "isSold": false,
    "isReserved": false,
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-20T14:22:00Z",
    "viewCount": 156,
    "favouriteCount": 44,
    "category": "Women's Clothing",
    "timestamp": "2025-07-31T07:39:40.189Z"
  }
]
```

### Additional Features

#### Summary Statistics

The actor automatically generates summary statistics saved to the key-value store under `seller_products_summary`:

```json
{
  "sellerUrl": "https://www.vinted.pt/member/74292334",
  "country": "pt",
  "page": 1,
  "perPage": 20,
  "timestamp": "2025-07-31T07:39:40.189Z",
  "totalItemsOnPage": 20,
  "totalPages": 15,
  "totalItems": 287,
  "hasNextPage": true,
  "summary": {
    "itemsProcessed": 20,
    "averagePrice": 12.45,
    "soldItems": 3,
    "reservedItems": 1,
    "visibleItems": 19
  }
}
```

#### Error Handling

The actor includes comprehensive error handling:

- **URL Validation**: Ensures seller URLs are properly formatted
- **Country Validation**: Warns about unsupported country codes
- **Pagination Validation**: Validates page numbers and items per page
- **Network Error Handling**: Graceful handling of connection issues
- **Data Parsing**: Safe handling of missing or malformed data

### Usage Examples

#### Basic Usage

Scrape the first 20 products from a Portuguese seller:

```json
{
  "sellerUrl": "https://www.vinted.pt/member/74292334",
  "country": "pt"
}
```

#### Pagination Example

Scrape page 3 with 50 items per page:

```json
{
  "sellerUrl": "https://www.vinted.fr/member/12345678",
  "country": "fr",
  "page": 3,
  "perPage": 50
}
```

#### Large Batch Scraping

For scraping multiple pages, run separate actor instances or use the pagination information from the summary to iterate through pages.

### Best Practices

1. **Respect Rate Limits**: Don't run too many concurrent instances
2. **Use Appropriate Page Sizes**: Balance between efficiency and resource usage
3. **Monitor for Changes**: Vinted's structure may change; monitor for errors
4. **Data Storage**: Use Apify's dataset for large amounts of data
5. **Error Monitoring**: Check logs for validation warnings and errors

### Troubleshooting

#### Common Issues

**Invalid Seller URL**

- Ensure the URL follows the correct format
- Check that the seller ID is numeric
- Verify the country domain matches the URL

**No Products Returned**

- Seller may have no products or all products are sold
- Check if the seller profile is active
- Verify the country setting matches the seller's location

**Pagination Issues**

- Check if the requested page number exists
- Some sellers may have fewer products than expected
- Use the summary data to understand total available pages

#### Error Messages

- `sellerUrl is required`: Provide a valid seller URL
- `page must be a positive integer`: Use page numbers starting from 1
- `perPage must be a positive integer between 1 and 100`: Adjust the items per page value
- `No seller products retrieved`: The seller may have no visible products

### API Integration

This actor can be integrated into your applications using Apify's API:

```javascript
// Example API call
const client = new ApifyClient({
    token: 'your-token',
});

const run = await client.actor('the-actor-id').call({
    sellerUrl: 'https://www.vinted.pt/member/74292334',
    country: 'pt',
    page: 1,
    perPage: 20
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

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

## `sellerUrl` (type: `string`):

The full URL of the Vinted seller profile (e.g., https://www.vinted.com/member/12345678)

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

The country domain for Vinted (e.g., 'com' for vinted.com, 'fr' for vinted.fr)

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

The page number to scrape (starting from 1)

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

Number of items to retrieve per page (1-100)

## Actor input object example

```json
{
  "sellerUrl": "https://www.vinted.pt/member/74292334",
  "country": "com",
  "page": 1,
  "perPage": 20
}
```

# 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 = {
    "sellerUrl": "https://www.vinted.pt/member/74292334",
    "country": "com",
    "page": 1,
    "perPage": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/vinted-seller-products").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 = {
    "sellerUrl": "https://www.vinted.pt/member/74292334",
    "country": "com",
    "page": 1,
    "perPage": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pintostudio/vinted-seller-products").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 '{
  "sellerUrl": "https://www.vinted.pt/member/74292334",
  "country": "com",
  "page": 1,
  "perPage": 20
}' |
apify call pintostudio/vinted-seller-products --silent --output-dataset

```

## MCP server setup

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

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/nXDtb0gOAlMI98JZ7/builds/If2aCIXgrFkEJ48CP/openapi.json
