# Yandex Market Price & Seller Offer Comparison Scraper (`nimbryxo-studio/yandex-market-price-and-seller-offer-comparison`) Actor

Scrape product listings, prices, seller offers, and reviews from Yandex Market. Search by keyword, browse a category, pull a product's full seller-offer comparison, or collect product and seller reviews.

- **URL**: https://apify.com/nimbryxo-studio/yandex-market-price-and-seller-offer-comparison.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Yandex Market Price & Seller Offer Comparison Scraper

Pull product listings, pricing, and reviews from [Yandex Market](https://market.yandex.ru), the marketplace where most listings are fulfilled by multiple independent sellers competing on the same product page. Search by keyword, browse a category, compare every seller's price for one product, or collect reviews.

### What this actor does

- Searches Yandex Market by one or more keywords and returns matching product cards
- Browses every product listed under a category URL
- Fetches a single product's full detail page together with every seller's competing offer for that product
- Collects reviews for a product or for a seller's storefront
- Empty fields are omitted from records

### Output per product

- `recordType` — always `product`
- `productId` — Yandex Market's internal product ID
- `name`
- `url` — canonical product page URL
- `categoryPath` — array of category names from top-level down to the product's category (product-detail fetches only)
- `rating`, `reviewCount`
- `price`, `originalPrice`, `discount` — current price, pre-discount price, and discount percentage, in `currency` (`RUB`)
- `sellerName` — the primary/lead seller shown on a search or category card
- `deliveryInfo` — delivery estimate text as shown on a search or category card
- `availability` — `in_stock` or `out_of_stock`
- `specs` — key/value map of technical specifications (product-detail fetches only, when the page lists any)
- `images` — array of product image URLs
- `offers` — populated only in product-detail fetches; array of every competing seller's offer for this product (see below)
- `scrapedAt`

### Output per seller offer (nested in `offers`, product-detail fetches only)

- `sellerName`, `sellerUrl` — when shown on the offer
- `price`, `originalPrice` — when the offer shows a pre-discount price

### Output per review

- `recordType` — always `review`
- `reviewType` — `product` or `seller`
- `productId`, `productName`, `productUrl` — present on product reviews
- `sellerId`, `sellerName`, `sellerUrl` — present on seller reviews
- `author`, `rating`, `title`, `text` — when the review shows them
- `date`
- `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `searchProducts` | `searchProducts` / `browseCategory` / `getProductDetails` / `getReviews` |
| `searchQueries` | array | – | Keywords to search, e.g. `["iPhone 15", "Samsung Galaxy"]` (mode=searchProducts) |
| `categoryUrls` | array | – | `market.yandex.ru/catalog` URLs to browse (mode=browseCategory) |
| `productUrls` | array | – | Product URLs for detail fetch or product reviews (mode=getProductDetails, getReviews) |
| `sellerUrls` | array | – | Seller storefront URLs for seller reviews (mode=getReviews) |
| `maxItems` | integer | `50` | Records per query/URL (1–1000) |
| `sortOrder` | string | `relevance` | `relevance` / `priceAsc` / `priceDesc` / `rating` / `popularity` |
| `minPrice` | integer | – | Minimum price in RUB |
| `maxPrice` | integer | – | Maximum price in RUB |
| `minRating` | string | `any` | `any` / `3` / `3.5` / `4` / `4.5` |
| `reviewsSortOrder` | string | `newest` | `newest` / `highestRating` / `lowestRating` / `mostHelpful` |
| `proxyConfiguration` | object | RESIDENTIAL | Yandex Market blocks plain datacenter traffic, so a residential proxy is set by default |

#### Example: keyword search with price range

```json
{
  "mode": "searchProducts",
  "searchQueries": ["iPhone 15", "Samsung Galaxy S24"],
  "minPrice": 50000,
  "maxPrice": 100000,
  "sortOrder": "priceAsc"
}
```

#### Example: browse a category

```json
{
  "mode": "browseCategory",
  "categoryUrls": ["https://market.yandex.ru/catalog--smartfony/54726/list"],
  "maxItems": 100
}
```

#### Example: compare every seller's offer for one product

```json
{
  "mode": "getProductDetails",
  "productUrls": ["https://market.yandex.ru/product--apple-iphone-15/1926025774"]
}
```

#### Example: newest reviews for a product

```json
{
  "mode": "getReviews",
  "productUrls": ["https://market.yandex.ru/product--apple-iphone-15/1926025774"],
  "reviewsSortOrder": "newest",
  "maxItems": 100
}
```

### Use cases

- **Price monitoring** — track how a product's price moves across every seller offering it
- **Seller benchmarking** — compare seller ratings, delivery times, and pricing side by side
- **Catalog research** — pull a whole category's listings with specs and current prices
- **Sentiment tracking** — gather product reviews with pros/cons to spot recurring complaints
- **Market-entry analysis** — scope typical price ranges and seller competition before listing a product

### FAQ

**Does `searchQueries` accept Russian text?**  Yes — keywords can be in Russian or English; Yandex Market returns whatever matches on its own site.

**How do I see every seller's price for one product, not just the lead offer?**  Use `mode: "getProductDetails"` with the product URL — the `offers` array on that record lists every competing seller's offer.

**Why does a `searchProducts` record have an empty `offers` field?**  Search and category listing cards only show the lead seller; the full offer comparison is only fetched in `getProductDetails` mode, to avoid an extra request per card during a listing scan.

**Can I get reviews for a seller instead of a product?**  Yes — pass a storefront URL in `sellerUrls` with `mode: "getReviews"`; those records carry `reviewType: "seller"` and seller identifying fields instead of product ones.

**Do I need to configure the proxy myself?**  No — `proxyConfiguration` defaults to a residential proxy because Yandex Market blocks plain datacenter traffic; leave the default unless you have your own proxy group to use instead.

**What happens if a run finds nothing?**  If no product, listing, or review records could be extracted for the whole run, the dataset gets a single informational record (`type: "yandex_market_scraper_error"`) naming the mode and suggesting a residential proxy, instead of leaving the dataset silently empty.

**Is this affiliated with Yandex?**  No. This actor reads Yandex Market's publicly accessible pages and is not affiliated with or endorsed by Yandex.

# Actor input Schema

## `mode` (type: `string`):

What to scrape. searchProducts: find products by keyword. browseCategory: scrape a product category. getProductDetails: full details + all seller offers for specific product URLs. getReviews: scrape product or seller reviews.

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

One or more search queries (mode=searchProducts). Examples: 'iPhone 15', 'ноутбук Samsung'.

## `categoryUrls` (type: `array`):

Yandex Market category page URLs (mode=browseCategory). Must be market.yandex.ru/catalog URLs.

## `productUrls` (type: `array`):

Yandex Market product page URLs (mode=getProductDetails or getReviews). Format: https://market.yandex.ru/product--{slug}/{id}

## `sellerUrls` (type: `array`):

Yandex Market seller page URLs (mode=getReviews only). Format: https://market.yandex.ru/shop--{slug}/{id}

## `maxItems` (type: `integer`):

Maximum number of records to return per query/URL.

## `sortOrder` (type: `string`):

How to sort search results. Only applies in searchProducts and browseCategory modes.

## `minPrice` (type: `integer`):

Minimum price filter in Russian rubles. Only applies in searchProducts and browseCategory modes.

## `maxPrice` (type: `integer`):

Maximum price filter in Russian rubles. Only applies in searchProducts and browseCategory modes.

## `minRating` (type: `string`):

Filter out products below this rating. Only applies in searchProducts and browseCategory modes.

## `reviewsSortOrder` (type: `string`):

How to sort reviews. Only applies in getReviews mode.

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

Required. Yandex Market only serves Russian IPs. Use Apify Residential proxy with country=RU for reliable access.

## Actor input object example

```json
{
  "mode": "searchProducts",
  "searchQueries": [
    "iPhone 15"
  ],
  "categoryUrls": [
    "https://market.yandex.ru/catalog--smartfony/54726"
  ],
  "productUrls": [
    "https://market.yandex.ru/product--smartfon-apple-iphone-7/14206636"
  ],
  "sellerUrls": [],
  "maxItems": 5,
  "sortOrder": "relevance",
  "minRating": "any",
  "reviewsSortOrder": "newest",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with scraped Yandex Market products, seller offers, and reviews.

# 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 = {
    "mode": "searchProducts",
    "searchQueries": [
        "iPhone 15"
    ],
    "categoryUrls": [
        "https://market.yandex.ru/catalog--smartfony/54726"
    ],
    "productUrls": [
        "https://market.yandex.ru/product--smartfon-apple-iphone-7/14206636"
    ],
    "sellerUrls": [],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "RU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/yandex-market-price-and-seller-offer-comparison").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 = {
    "mode": "searchProducts",
    "searchQueries": ["iPhone 15"],
    "categoryUrls": ["https://market.yandex.ru/catalog--smartfony/54726"],
    "productUrls": ["https://market.yandex.ru/product--smartfon-apple-iphone-7/14206636"],
    "sellerUrls": [],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "RU",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/yandex-market-price-and-seller-offer-comparison").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 '{
  "mode": "searchProducts",
  "searchQueries": [
    "iPhone 15"
  ],
  "categoryUrls": [
    "https://market.yandex.ru/catalog--smartfony/54726"
  ],
  "productUrls": [
    "https://market.yandex.ru/product--smartfon-apple-iphone-7/14206636"
  ],
  "sellerUrls": [],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}' |
apify call nimbryxo-studio/yandex-market-price-and-seller-offer-comparison --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/yandex-market-price-and-seller-offer-comparison"
        }
    }
}
```

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/XOsDPtQpdza8krB4z/builds/cegVbRb8GCk1Tm8JZ/openapi.json
