# Rozetka Price Search (`xidik_inc/rozetka-price-search`) Actor

Search Rozetka (rozetka.com.ua), Ukraine's largest online marketplace, and get clean JSON listings: title, price in UAH, discount, seller, rating, image, product URL. Fast HTTP pipeline — no browser. Built for price monitoring and e-commerce analytics.

- **URL**: https://apify.com/xidik\_inc/rozetka-price-search.md
- **Developed by:** [Khidayotullo Salakhitdinov](https://apify.com/xidik_inc) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 search 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## Rozetka Price Search

Search **Rozetka (rozetka.com.ua)** — Ukraine's largest online marketplace — by keyword and get clean, structured JSON product listings: title, price in UAH, old price and discount, seller, brand, rating, review count, image and product URL.

The actor uses Rozetka's fast HTTP endpoints directly (no headless browser), so a typical run finishes in seconds and results arrive in strict relevance order — the same order a shopper sees on the site.

### What can I use it for?

- **Price monitoring & repricing** — track how competitors price the products you sell and react to discounts.
- **E-commerce analytics** — build datasets of the Ukrainian market: prices, sellers, ratings, availability.
- **Competitor tracking** — see which sellers rank for your key product queries and at what price.
- **MAP / promo compliance** — the actor surfaces old-price + discount info (`oldPrice`, `discountText`) whenever Rozetka shows a strikethrough price.

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `query` | string | yes | – | Search query, as you would type it into Rozetka's search box. Specific queries work best, e.g. `American Crew pomade`. |
| `maxItems` | integer | no | `10` | Max listings to return (1–60), in relevance order. |
| `minPrice` | integer | no | – | Drop listings cheaper than this (UAH). |
| `maxPrice` | integer | no | – | Drop listings more expensive than this (UAH). |
| `useApifyProxy` | boolean | no | `true` | Route via Apify residential proxy (UA). Keep ON on the platform. |

Example input:

```json
{
  "query": "American Crew pomade",
  "maxItems": 10,
  "maxPrice": 1500
}
````

### Output

One dataset item per product listing. Real sample item (live run, July 2026):

```json
{
  "marketplace": "rozetka",
  "productId": 214783807,
  "title": "Кремова помада для стилізації волосся American Crew Cream Pomade 85 g",
  "price": 488,
  "currency": "UAH",
  "url": "https://rozetka.com.ua/ua/214783807/p214783807/",
  "sellerName": "Shlyuz",
  "brand": "American Crew",
  "rating": null,
  "reviewCount": null,
  "imageUrl": "https://content2.rozetka.com.ua/goods/images/original/611779871.webp",
  "availability": "available",
  "position": 1
}
```

Discounted listings additionally carry:

```json
{
  "oldPrice": 1067,
  "discountText": "Знижка 40%: 1067 → 642 грн"
}
```

Field notes:

- `price` / `oldPrice` — UAH, major units.
- `rating` (0–5) and `reviewCount` are `null` when the product has no reviews yet.
- `position` — 1-based relevance rank for the query.
- Unavailable listings and listings without a price are skipped automatically.

### Usage

**Apify API (run synchronously, get items back):**

```bash
curl -s -X POST \
  "https://api.apify.com/v2/acts/xidik_inc~rozetka-price-search/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "American Crew pomade", "maxItems": 10}'
```

**Apify CLI:**

```bash
apify call xidik_inc/rozetka-price-search --input '{"query": "American Crew pomade", "maxItems": 10}'
```

**JavaScript (apify-client):**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('xidik_inc/rozetka-price-search').call({
  query: 'American Crew pomade',
  maxItems: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Pricing

Pay per result: **$1.50 per 1,000 listings** (a `search-result` event is charged per dataset item). Runs that return 0 items cost you nothing beyond standard platform usage.

### Honest limits

- **Broad brand-only queries return 0 items.** Rozetka redirects queries like `iphone` to a category landing page instead of search results, so there is no per-query result list to scrape. Use specific product queries (brand + product type). The run log tells you when this happened.
- **Ratings are only present when a product has reviews** — otherwise `rating`/`reviewCount` are `null`.
- The actor relies on Rozetka's **unofficial** search and product endpoints. They can change without notice; this actor is used in production by MiyZapis PriceWatch and is **actively maintained** — breakages get fixed fast.
- The residential proxy (default ON) is required on the platform: Rozetka's product-details API is Cloudflare-gated for datacenter IPs.

***

Maintained by **[MiyZapis](https://miyzapis.com)** — the booking & commerce platform for Ukrainian businesses. This actor powers the PriceWatch competitor-pricing feature in production.

# Actor input Schema

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

Product search query, exactly as you would type it into the Rozetka search box. Specific product queries work best (brand + product type), e.g. <code>American Crew pomade</code> or <code>OPI nail polish</code>. Very broad brand-only queries (e.g. <code>iphone</code>) are redirected by Rozetka to a category page and return 0 items — see the README.

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

Maximum number of product listings to return (1–60). Results keep Rozetka's relevance order, so the first items are the best matches. You are only charged for items actually returned.

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

Optional lower price bound. Listings cheaper than this are dropped (UAH, major units — e.g. <code>200</code> means 200 ₴).

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

Optional upper price bound. Listings more expensive than this are dropped (UAH, major units — e.g. <code>2000</code> means 2000 ₴).

## `useApifyProxy` (type: `boolean`):

Route requests through Apify RESIDENTIAL proxy (country UA). Keep this ON when running on the Apify platform — Rozetka's product-details API is Cloudflare-gated for datacenter IPs. Disable only for local runs from an allowed IP.

## Actor input object example

```json
{
  "query": "OPI nail polish",
  "maxItems": 10,
  "minPrice": 200,
  "maxPrice": 2000,
  "useApifyProxy": true
}
```

# 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": "American Crew pomade",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("xidik_inc/rozetka-price-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": "American Crew pomade",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("xidik_inc/rozetka-price-search").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 '{
  "query": "American Crew pomade",
  "maxItems": 10
}' |
apify call xidik_inc/rozetka-price-search --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Rozetka Price Search",
        "description": "Search Rozetka (rozetka.com.ua), Ukraine's largest online marketplace, and get clean JSON listings: title, price in UAH, discount, seller, rating, image, product URL. Fast HTTP pipeline — no browser. Built for price monitoring and e-commerce analytics.",
        "version": "0.2",
        "x-build-id": "zQfULE9fXqUyCbuqC"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/xidik_inc~rozetka-price-search/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-xidik_inc-rozetka-price-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/xidik_inc~rozetka-price-search/runs": {
            "post": {
                "operationId": "runs-sync-xidik_inc-rozetka-price-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/xidik_inc~rozetka-price-search/run-sync": {
            "post": {
                "operationId": "run-sync-xidik_inc-rozetka-price-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Product search query, exactly as you would type it into the Rozetka search box. Specific product queries work best (brand + product type), e.g. <code>American Crew pomade</code> or <code>OPI nail polish</code>. Very broad brand-only queries (e.g. <code>iphone</code>) are redirected by Rozetka to a category page and return 0 items — see the README."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 60,
                        "type": "integer",
                        "description": "Maximum number of product listings to return (1–60). Results keep Rozetka's relevance order, so the first items are the best matches. You are only charged for items actually returned.",
                        "default": 10
                    },
                    "minPrice": {
                        "title": "Min price (UAH)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional lower price bound. Listings cheaper than this are dropped (UAH, major units — e.g. <code>200</code> means 200 ₴)."
                    },
                    "maxPrice": {
                        "title": "Max price (UAH)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional upper price bound. Listings more expensive than this are dropped (UAH, major units — e.g. <code>2000</code> means 2000 ₴)."
                    },
                    "useApifyProxy": {
                        "title": "Use Apify proxy",
                        "type": "boolean",
                        "description": "Route requests through Apify RESIDENTIAL proxy (country UA). Keep this ON when running on the Apify platform — Rozetka's product-details API is Cloudflare-gated for datacenter IPs. Disable only for local runs from an allowed IP.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
