By the end of this tutorial you will have a Python script that pulls product listings from Rozetka, the Ukrainian online marketplace, into structured rows. Each row carries the price in UAH and in USD, the old price and discount when the site shows them, the brand, the seller, the rating, the review count and the stock status.
Rozetka Scraper (reventadata/rozetka-scraper) is the Apify Actor built for this site. You paste one or more category addresses, and it returns one row per product. It reads the public category pages directly, so it needs no browser and no login.
The sample row in this guide is one product from a run that the Actor's README records on 2026-11-07. The values are copied from that record.
Prerequisites
You need three things:
- Python 3.11 or newer with
pip. - A free Apify account. You can sign up with an email address or a GitHub login.
- Your API token, which you find in the Apify Console under the integrations settings.
Install the Apify client. The code in this guide uses the 3.x line:
pip install -U "apify-client~=3.0"
Keep the token out of the script. Export it in your terminal so the code can read it from the environment.
What you'll achieve
At the end of the run you have a list of Rozetka products, one row each, that you can sort by price, compare across brands or export to a spreadsheet. A typical use is a weekly price list for one category, with the old price column showing which products are on sale.
Example: read the first 10 products of one phone category slice, and print the title, the price in UAH and in USD, and the seller for each. The same script works for any category address you paste into the input.
Step-by-step guide
Step 1: Open the Actor
Go to the Rozetka Scraper page on Apify Store. The input form has four fields:
-
categoryUrls: one or more category addresses, in the formhttps://rozetka.com.ua/ua/<name>/c<number>/. You can add one filter segment copied from the site. Search pages and query strings are refused. -
maxItems: the cap on products across all categories. The default is 1000. -
maxPagesPerCategory: the cap on pages per category, with 60 products on each page. The default and maximum are 100. -
includeProductDetails: adds the brand name, the seller name, the rating, the stock status and all the photos. It is on by default.
Step 2: Choose the category
For a first test, keep the run small. The script below reads one filtered slice of the mobile phones category, returns ten products and reads one page:
import os
from apify_client import ApifyClient
# 1. Initialise the client with your token from the environment
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
# 2. Describe the run: one phone category slice, ten products, one page
run_input = {
"categoryUrls": ["https://rozetka.com.ua/ua/mobile-phones/c80003/price=1000-5000/"],
"maxItems": 10,
"maxPagesPerCategory": 1,
"includeProductDetails": True,
}
# 3. Start the Actor and wait for it to finish
run = client.actor("reventadata/rozetka-scraper").call(run_input=run_input)
if run is None or run.status != "SUCCEEDED":
status = run.status if run else "unknown"
raise SystemExit(f"Run did not succeed (status: {status}).")
# 4. Read the rows from the run's default dataset
items = client.dataset(run.default_dataset_id).list_items().items
print(f"Retrieved {len(items)} products.\n")
# 5. Print one line per product: title, price in UAH and USD, then seller
for item in items:
print(f"{item.get('title')} | {item.get('price')} {item.get('currency')} | {item.get('priceUsd')} USD")
print(f" seller: {item.get('seller')}, rating: {item.get('rating')}, availability: {item.get('availability')}")
Step 3: Run it from Python
Export your token in the terminal and run the script:
export APIFY_API_TOKEN="your-token-here"
python3 rozetka_search.py
The script starts the Actor, waits for the run to end, and prints two lines per product. If the status is not SUCCEEDED, the script stops and prints the status.
Step 4: Read one row
Each dataset item is a JSON object. The sample is one product from the 2026-11-07 run. Photos are shortened, and the specification text is cut to its first words.
{
"id": "620419886",
"url": "https://rozetka.com.ua/ua/apple-iphone-18-pro-max-256gb-burgundy/p620419886/",
"title": "Мобільний телефон Apple iPhone 18 Pro Max 256GB Burgundy (MJXQ4AF/A)",
"price": 84999,
"oldPrice": null,
"discountPercent": 0,
"currency": "UAH",
"priceUsd": 1888.87,
"oldPriceUsd": null,
"condition": "new",
"brand": "Apple",
"brandId": 69,
"seller": "Rozetka",
"sellerId": 5,
"rating": 4.9,
"reviewsCount": 56,
"availability": "available",
"availabilityText": null,
"label": "ТОП ПРОДАЖІВ",
"imageUrl": "https://content2.rozetka.com.ua/goods/images/original/684034536.jpg",
"categoryId": 80003,
"categoryName": "Мобільні телефони",
"categoryUrl": "https://rozetka.com.ua/ua/mobile-phones/c80003/",
"inputUrl": "https://rozetka.com.ua/ua/mobile-phones/c80003/"
}
The full row also has the images list and a description line. Those are left out of the sample.
Understanding your results
-
idandurl: the product number and its public page. Use the id as the key in your own store. -
title,brandandbrandId: the product name and its brand. The brand name arrives with details on. -
priceandcurrency: the price in the site's currency. In the sample, the price is 84999 UAH. -
priceUsd: the price in USD, given as a number, so it sorts like one. -
oldPriceanddiscountPercent: the earlier price and the discount.oldPriceisnullwhen there is no discount, anddiscountPercentis then 0. -
sellerandsellerId: the seller that sells the product. The seller name arrives with details on. -
ratingandreviewsCount: the site's rating and the number of reviews. A rating ofnullmeans the site shows no mark. -
availability: the site's own stock status, such asavailable,limitedorunavailable. -
condition,labelandimageUrl: the product condition, the site's badge text and the main photo. -
categoryId,categoryNameandcategoryUrl: the category the product was read from.inputUrlis the category address you pasted.
A field with no value comes back as null, not as a missing key.
Pro tips and advanced usage
-
Split large categories with filters. A category is read up to 100 pages, which is 6,000 products. Copy a filter segment from the site, such as
price=1000-5000, to split a larger category into slices that each fit under the limit. - Keep details on for comparisons. Brand, seller and rating come with details. Turn details off only when you want listing fields alone.
-
Use
oldPriceto find discounts. Filter rows whereoldPriceis notnull, then sort bydiscountPercent. -
Compare in one currency. Sort by
priceUsdwhen you want dollar figures;priceis in UAH. - Run several categories together. Each product is returned once, even when two categories list it.
Troubleshooting common issues
-
The run ends as
FAILED. A category address that does not exist ends the run with a reason. Check the address against the site and try again. - The run succeeds with zero rows. A category with no products ends with a status message and no rows.
- Fewer rows than the site's count. The site serves at most 100 pages per category address, and a product listed twice in one run is returned once.
- A search address is refused. Search pages and query strings are not accepted. Open the category on the site, then copy its address.
For questions about a run, read its log in the Apify Console.
Next steps
Paste more category addresses to build a wider list, or change maxItems to read deeper. To repeat a run on a schedule, save the input as an Apify task and attach a schedule to it. Read each new dataset from Python in the same way, and check each run's status before you trust its count.
For current pricing and details, see the Store page.
What would you track first? Share it in the comments.
Top comments (0)