# Altex.ro Scraper: Prices, Stock, Specs and Reviews (`dataizi-srl/altex-ro-scraper`) Actor

Scrape altex.ro for price and stock monitoring: price, old price, promotions, stock, brand, EAN, images, seller and rating for any category, search, SKU list or the whole catalogue. Add specs, reviews, Q\&A, per-store stock and seller profiles when you need them. Pay only per product.

- **URL**: https://apify.com/dataizi-srl/altex-ro-scraper.md
- **Developed by:** [Dataizi SRL](https://apify.com/dataizi-srl) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.11 / 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.
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

## Altex.ro Scraper: prices, stock, specs and reviews

Track prices and stock on **altex.ro**, Romania's big electronics and appliance shop, without copying anything by hand. Point the scraper at a category, a search, a list of product codes, or the **whole catalogue**. You get one clean row per product: current price, old price, promotion, stock, brand, EAN, images, seller and rating. Export the rows to JSON, CSV or Excel, or schedule a run each morning and watch how prices move.

Need more than the list data? Switch on product details, typed reviews, questions and answers, stock in each Altex store, marketplace seller profiles or instalment plans. Each extra is optional, and the price per product stays the same.

### 🇷🇴 Pe scurt, în română

Extrage produsele de pe altex.ro într-un tabel: prețuri, prețul vechi, promoții, stoc, brand, cod EAN, imagini, vânzător și rating. Poți porni de la o categorie, o căutare, o listă de coduri de produs sau tot catalogul. Opțional adaugi specificații, recenzii, întrebări și răspunsuri, stocul din fiecare magazin Altex, datele vânzătorilor din marketplace și ratele lunare. Este util pentru monitorizare prețuri, urmărirea produselor resigilate și a stocului în magazine. Exporți în Excel, CSV sau JSON și plătești doar pentru produsele primite.

### ✅ What you get

- 💰 **Price monitoring data on every row:** current price, old (struck-through) price, recommended price, discount type, open-box price, instalment "from" price and gift flag.
- 📦 **Stock at a glance:** in stock, the availability label the site shows (online only, in some stores, at the supplier, pre-order), store pick-up, locker delivery and the ids of the stores that have it.
- 🗂️ **The whole catalogue if you want it:** the site's product sitemaps list nearly 590,000 products. The scraper walks every category, gets past the site's 10,000-result listing limit by splitting large categories by price and brand, and removes duplicates by SKU.
- 🔎 **Four ways to choose products:** category URLs, search terms, SKU lists, or everything.
- 🎯 **The site's own filters:** brand, price range, minimum rating, promotions, open-box offers, sold by Altex, marketplace seller, stock in a given store, plus any other filter the site has.
- ⭐ **Reviews and Q\&A as real rows,** one review or question per row with rating, date, text, votes and replies, in their own datasets, so they open straight in Excel.
- 🏬 **Stock in each Altex store:** one row per store with address, opening hours and phone.
- 🧾 **Marketplace seller profiles:** company name, tax id (CUI), trade register number, address, phone and e-mail, as the seller page shows them.
- 📊 **Ready-made table views:** products, prices and promotions, stock and delivery, product details, sellers and offers, ratings.

### 💡 Use cases

- **Price monitoring:** schedule a daily run on your categories and compare `price` and `regularPrice` over time.
- **Competitor and assortment analysis:** see which brands Altex lists, at what price and with which promotions.
- **Open-box deal hunting:** filter on open-box offers and read `openBoxLowestPrice`.
- **Marketplace research:** find which sellers offer a product and who they are.
- **Product content:** pull specifications, descriptions, images and EAN codes into your own catalogue or comparison site.
- **Reviews analysis:** export review text and ratings for sentiment work.

### 🚀 Quick start

1. Click **Try for free** (or **Start**) with the default input. In a few seconds you get 50 power banks from the "Baterii externe" category.
2. Replace the start URL with your own category, for example `https://altex.ro/laptopuri/cpl/`, add filters if you like, and set **Maximum products**.
3. Open the **Output** tab, pick a view (Products, Prices and promotions, Stock and delivery…) and export.

### 🔧 Input

Everything is optional. With an empty input the scraper runs the default sample: 50 products from one category, list data only.

| Field | What it does |
|---|---|
| **Category or product URLs** (`startUrls`) | altex.ro category pages (address contains `/cpl/`) or product pages (`/cpd/`). |
| **Search terms** (`searchTerms`) | Words to search on altex.ro, at least 3 characters each. |
| **Product codes (SKUs)** (`skus`) | The "Cod produs" of each product. |
| **Whole catalogue** (`allProducts`) | Every product on the site. |
| **Add products missed by the listings** (`reconcileWithSitemap`) | With Whole catalogue: also adds products found only in the site's sitemaps. |
| **Brands**, **Minimum / Maximum price (lei)**, **Minimum rating** | Filters for category URLs. |
| **Only products on promotion / with open-box offers / sold by Altex / in stock** | Yes/no filters. |
| **Marketplace seller ids**, **In stock at these stores** | Filter by seller or by store. |
| **Extra site filters** (`extraFilters`) | Any other filter the site has, written as `attribute:value`. |
| **Sort by**, **Sort direction** | The order products are collected in. Matters when you set a maximum. |
| **Maximum products** (`maxItems`) | Stop after this many products. Leave empty for no limit. |
| **Product details**, **Reviews**, **Questions and answers**, **Stock in each store**, **Seller profile**, **Instalment plans**, **Delivery, returns and warranty** | Optional extras. Each makes the run slower; none changes the price per product. |
| **Proxy** | Off by default. You can switch on Apify Proxy (datacenter). |

Default input (what the daily test runs):

```json
{
  "startUrls": [{ "url": "https://altex.ro/baterii-externe-telefon/cpl/" }],
  "maxItems": 50,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

Apple laptops under 8,000 lei, with full product details:

```json
{
  "startUrls": [{ "url": "https://altex.ro/laptopuri/cpl/" }],
  "brands": ["apple"],
  "maxPrice": 8000,
  "includeDetails": true,
  "maxItems": 200
}
```

A search, newest reviews included:

```json
{
  "searchTerms": ["espressor"],
  "includeReviews": true,
  "maxReviewsPerProduct": 20,
  "maxItems": 100
}
```

### 📊 Output

One row per product in the default dataset, keyed by `sku`. Every row has every column. A column the run did not fetch (because its extra was off) is `null`, so your spreadsheet layout never changes between runs. A shortened example row:

```json
{
  "sku": "EXAMPLE-SKU",
  "name": "Baterie externa 20000 mAh, USB-C, negru",
  "url": "https://altex.ro/baterie-externa-example/cpd/EXAMPLE-SKU/",
  "brand": "Example Brand",
  "price": 149.99,
  "regularPrice": 199.99,
  "currency": "RON",
  "inStock": true,
  "stockType": "in stoc",
  "sellerName": "Altex",
  "rating": 4.6,
  "reviewsCount": 38,
  "imageUrl": "https://lcdn.altex.ro/...",
  "listingCategoryName": "Baterii externe",
  "scrapedAt": "2026-11-03T08:00:00Z"
}
```

The values above are illustrative.

#### Product fields (default dataset)

"List" fields are filled on every run. The others are filled when you switch on the extra named.

| Field | Filled | Description |
|---|---|---|
| `sku` | List | Product code ("Cod produs"), unique per row |
| `name` | List | Product name |
| `urlKey` | List | Product slug from the page address |
| `url` | List | Product page URL |
| `isEndOfLife` | List | `true` when the product is discontinued |
| `shortDescription` | List | Short description under the product name |
| `description` | Product details | Full description text |
| `descriptionBlocks` | Product details | Rich description content as laid out on the page |
| `brand` | List | Brand name |
| `brandLogoUrl` | Product details | Brand logo image URL |
| `brandUrl` | Product details | Brand page URL on altex.ro |
| `ean` | List | EAN barcode(s) |
| `color` | Delivery, returns and warranty | Colour as the product page states it |
| `price` | List | Current price, in lei |
| `regularPrice` | List | Price before the discount (the struck-through price) |
| `recommendedPrice` | List | Recommended retail price, when the site shows one |
| `openBoxLowestPrice` | List | Lowest open-box (resigilat) price. Not a 30-day lowest price |
| `discountType` | List | Form of the discount badge (percent or lei) |
| `currency` | List | Currency of every price (RON) |
| `greenTax` | Product details | Green tax ("taxa verde") included in the price |
| `installmentFromPrice` | List | Lowest monthly instalment the site advertises |
| `unitPriceLabel` | List | Unit price label, when the site shows one |
| `packageRegularPrice` | Product details | Package price before discount, for products sold as a package |
| `packagePrice` | Product details | Package selling price |
| `installmentPlans` | Instalment plans | Instalment options: months, monthly amount, total |
| `sellerId` | List | Id of the seller of the main offer (`1` is Altex) |
| `sellerName` | List | Seller of the main offer ("Vândut și livrat de") |
| `sellerIds` | List | Ids of every seller offering the product |
| `offers` | Product details | Every seller's offer, with price and stock |
| `hasGift` | List | `true` when the product comes with a gift |
| `sellerCompanyName` | Seller profile | Seller's company name |
| `sellerTaxId` | Seller profile | Seller's tax id (CUI) |
| `sellerTradeRegisterNumber` | Seller profile | Seller's trade register number |
| `sellerAddress` | Seller profile | Seller's registered address |
| `sellerEmail` | Seller profile | Seller's contact e-mail |
| `sellerPhone` | Seller profile | Seller's contact phone |
| `sellerDescription` | Seller profile | Seller's own description |
| `sellerUrlKey` | Product details | Seller page slug (`altex.ro/vendor/<key>/`) |
| `inStock` | List | `true` when the product can be ordered now |
| `stockType` | List | The availability label the site shows (in stock, online only, in some stores, at the supplier, pre-order) |
| `availability` | Product details | Availability as the page's structured data states it |
| `pickupInStore` | List | `true` when store pick-up is available |
| `preorder` | List | `true` when the product is on pre-order |
| `onDemand` | List | `true` when it ships from the supplier's stock |
| `lockerEligible` | List | `true` when it can be delivered to a locker |
| `storeIdsWithStock` | List | Ids of the Altex stores that have it in stock |
| `openBoxCount` | List | Number of open-box units offered |
| `hasOpenBoxOffers` | List | `true` when open-box units are offered |
| `openBoxOffers` | Product details | Each open-box unit: price, condition and store |
| `imageUrl` | List | Main image URL |
| `thumbnailUrl` | List | Thumbnail image URL |
| `smallImageUrl` | List | Small image URL |
| `imageUrls` | Delivery, returns and warranty | Every image URL on the product page |
| `gallery` | Product details | Gallery images and videos |
| `energyClass` | List | Energy class (A to G) |
| `energyLabelUrl` | List | Energy label image URL |
| `specifications` | Product details | Technical specifications, grouped as on the page |
| `variants` | List | Other versions (colour, capacity…) with their SKUs |
| `extraWarranties` | Product details | Extended warranty options with price |
| `mobileProtection` | Product details | Insurance options with price |
| `reviewsCount` | List | Number of reviews, across all variants of the product |
| `rating` | List | Average rating, out of 5 stars |
| `ratingDistribution` | Product details | Number of reviews per star (1 to 5) |
| `recommendPercent` | Product details | Share of reviewers who recommend it, in percent |
| `questionsCount` | Product details | Number of questions asked about it |
| `pageTitle` | Product details | Page title as shown in the browser tab |
| `breadcrumbs` | Product details | Category trail, from the top category down |
| `categoryUrlKey` | Product details | Slug of the product's own category |
| `listingCategoryUrlKey` | List | Slug of the category the row was collected from |
| `listingCategoryName` | List | Name of the category the row was collected from |
| `returnDays` | Delivery, returns and warranty | Days you have to return it |
| `returnFeesUrl` | Delivery, returns and warranty | Link to the return costs page |
| `returnMethods` | Delivery, returns and warranty | How returns can be made |
| `returnCountry` | Delivery, returns and warranty | Country returns are accepted in |
| `handlingDaysMin` | Delivery, returns and warranty | Minimum days to prepare the order |
| `handlingDaysMax` | Delivery, returns and warranty | Maximum days to prepare the order |
| `transitDaysMin` | Delivery, returns and warranty | Minimum delivery days |
| `transitDaysMax` | Delivery, returns and warranty | Maximum delivery days |
| `shippingCountry` | Delivery, returns and warranty | Country it ships to |
| `warrantyLabel` | Delivery, returns and warranty | Warranty line on the product page |
| `returnPolicyLabel` | Delivery, returns and warranty | Return line on the product page |
| `scrapedAt` | List | When the row was collected (UTC) |

#### Reviews, questions and store stock

These live in three more datasets of the same run, one row each, linked to the product by `sku`. Every row also carries the product's `name` and `url` and `scrapedAt`.

| Dataset | Filled by | Columns |
|---|---|---|
| **Reviews** | Reviews | `reviewId`, `reviewRating`, `reviewTitle`, `reviewText`, `reviewDate`, `reviewAuthorName`, `reviewVerifiedBuyer`, `reviewHelpfulVotes`, `reviewUnhelpfulVotes`, `reviewImageUrls`, `reviewReplies`, `reviewFromStaff` |
| **Questions** | Questions and answers | `questionId`, `questionText`, `questionDate`, `questionAuthorName`, `questionAnswers`, `questionSameCount` |
| **Store stock** | Stock in each store | `storeId`, `storeErpId`, `storeName`, `storeRegion`, `storeCity`, `storeAddress`, `storeSchedule`, `storeLatitude`, `storeLongitude`, `storeUrlKey`, `storeManagerName`, `storePhone`, `storeInStock` |

### 🗂️ Where are my reviews?

The **Export** button, the "run and get items" API endpoint and the task pages read the default dataset only: the products. Reviews, questions and store stock are in their own datasets, so a product with 100 reviews still fits on one spreadsheet row.

- **In Apify Console:** open the run's **Output** tab and click **Reviews**, **Questions** or **Store stock**. Each opens its own table with its own Export button.
- **In the run log:** the last line names each dataset with its row count.
- **Through the API:** read the run summary, which lists each dataset with its id, row count and download link:

```
GET https://api.apify.com/v2/actor-runs/<RUN_ID>/key-value-store/records/OUTPUT?token=<YOUR_TOKEN>
```

then download a dataset in the format you want:

```
GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=csv&token=<YOUR_TOKEN>
```

Join the rows to products on `sku`.

### 💸 Pricing

Pay per result: you pay for each product row, and nothing else.

- **$2.37 per 1,000 products** on the Apify Free plan, and **from $2.11 per 1,000** on paid plans.
- Review, question and store stock rows are included at no extra cost.
- Extras make a run slower, but they never change the price per product.
- You are not billed separately for compute.
- Set a maximum cost per run and the scraper stops cleanly when it reaches it, keeping everything collected so far. The Free plan has the same features: its only limit is your monthly credit.

### ⚡ Speed

- The default sample (50 products) finishes in seconds.
- List data arrives up to 96 products per request, so a category of a few thousand products takes a few minutes.
- The whole catalogue, list data only, takes about 2.5 to 4.5 hours.
- Extras add requests per product: details and seller profiles add one each, reviews and questions one per 100 rows. Store stock and "Delivery, returns and warranty" are the slowest, the latter about one second per product. For extras on the whole catalogue, run it category by category.

### ⚠️ Limitations

- **Search** returns at most what altex.ro's own search returns for a term. For a complete list use a category URL or the whole catalogue.
- **Filters** apply to category URLs. Search results on altex.ro ignore brand and attribute filters, and the run log says so when that happens.
- **Filter addresses:** a category URL with filters in its address (`/cpl/filtru/...`) is read as the plain category. Use the filter fields instead.
- **Review and question counts** cover every variant of a product (all colours, for example), while review rows cover the product code you asked for.
- **Caps:** up to 100 reviews and 100 questions per product.
- **Store stock** is one row per store per product (about 117 stores), and `storeInStock` is derived from the product's list of stores with stock.
- **Run time:** runs default to 6 hours, enough for the whole catalogue with list data only. A longer run stops cleanly before the timeout and keeps every row it saved.
- **Data is a snapshot** of what the site shows when the run happens. For a history, schedule the scraper and keep each run's dataset.
- Prices are in lei (RON). Names, labels and descriptions are in Romanian, as on the site.

### ❓ FAQ

**Do I need a proxy?**
No setup is needed: the proxy is off by default. If altex.ro ever starts refusing requests, switch on Apify Proxy in the input. Only Apify Proxy datacenter is supported.

**How fresh is the data?**
It is read live from altex.ro at run time. Schedule the scraper (daily, hourly) for monitoring.

**Can I scrape just one product?**
Yes. Paste its product URL into **Category or product URLs**, or its code ("Cod produs") into **Product codes (SKUs)**.

**How do I find a seller id or a store id?**
Run the scraper once: seller ids are in the `sellerId` and `sellerIds` columns, store ids in `storeIdsWithStock` and in the `storeId` column of the Store stock dataset.

**What happens when I hit my spending limit?**
The run stops cleanly, marks itself as finished and keeps every row it saved. You are never charged past your limit.

**Is it legal to scrape altex.ro?**
The scraper reads only public pages and data, with no login. Whether your use is lawful depends on what you do with the data. See the personal data note below, and check the site's terms for your use case.

**Something is missing or broken.**
Open an issue in the **Issues** tab with your run link. We read every one.

### 🔒 Personal data

Some fields can contain personal data, as altex.ro displays it publicly: marketplace seller contact details (a seller may be a sole trader), store manager names and phones, reviewer and asker display names, and whatever people wrote in reviews, questions and answers. If you process this data you need a lawful basis under the GDPR and other privacy laws. Do not use it for unsolicited marketing.

### Disclaimer

This is an unofficial tool. It is not affiliated with, endorsed by or sponsored by Altex România or altex.ro. The name "Altex" and the site's icon belong to their owner and are used here only to identify the website the scraper reads.

# Changelog

This Actor's version history is a separate document: https://apify.com/dataizi-srl/altex-ro-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

altex.ro category pages (the address contains /cpl/) or product pages (/cpd/), for example https://altex.ro/laptopuri/cpl/. Filters in the address (/filtru/...) are not read: use the filter fields below.

## `searchTerms` (type: `array`):

Words to search on altex.ro, at least 3 characters each, for example espressor or iphone 15. Search returns at most what the site's search shows for a term. For a complete list, use a category URL. Brand and attribute filters do not apply to search results.

## `skus` (type: `array`):

altex.ro product codes, shown on each product page as "Cod produs" and in the sku column of any result. Looked up in batches, so long lists are fast. Filters do not apply to product codes.

## `allProducts` (type: `boolean`):

Scrape every product on altex.ro (the site's sitemaps list nearly 590,000). Set Maximum products to 0 to get them all. With list data only, this takes about 2.5 to 4.5 hours. Category URLs, search terms and product codes are not needed and are not used. Extras on the whole catalogue take far longer, so run them category by category.

## `reconcileWithSitemap` (type: `boolean`):

Only with Whole catalogue. Compares the result with altex.ro's product sitemaps and adds products the category listings did not show. Makes the run longer.

## `brands` (type: `array`):

Keep only these brands, written in lowercase as in the site's brand links, for example samsung or apple. Several brands keep products of any of them.

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

Keep products costing at least this much, in whole lei.

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

Keep products costing at most this much, in whole lei.

## `minRating` (type: `integer`):

Keep products rated at least this many stars, from 1 to 5.

## `onlyPromotions` (type: `boolean`):

Keep only products the site shows with a promotion.

## `onlyOpenBox` (type: `boolean`):

Keep only products that also have open-box (resigilat) units on sale.

## `soldByAltexOnly` (type: `boolean`):

Leave out products sold by marketplace sellers.

## `onlyInStock` (type: `boolean`):

Skip products that cannot be ordered now. Skipped products are not charged.

## `sellerIds` (type: `array`):

Keep products offered by these sellers. A seller's id is in the sellerId column of any result (1 is Altex).

## `storeIds` (type: `array`):

Keep products in stock at these Altex stores. Store ids are in the storeIdsWithStock column of any result, or the storeId column of the Store stock dataset.

## `extraFilters` (type: `array`):

Any other filter the site offers, written as attribute:value, for example televizoare_rezolutie:4k. To find one, tick the filter on altex.ro and read it from the address bar after /filtru/: .../filtru/brand-3334/apple/ becomes brand:apple. The run log warns you if the site ignored a filter.

## `sortBy` (type: `string`):

The order products are collected in. Matters when you set Maximum products. Leave empty for the site's own order: best sellers in categories, best match in search.

## `sortDirection` (type: `string`):

Leave empty for the natural direction: lowest first for Price and Name, highest first for the others.

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

Stop after this many products. Set 0 for no limit. Each product row is one result you pay for. The default of 50 keeps a first run quick.

## `includeDetails` (type: `boolean`):

Adds description, specifications, gallery, every seller's offer, category trail, warranties, open-box units and rating breakdown. One extra request per product. The price per product does not change.

## `includeReviews` (type: `boolean`):

Adds reviews as rows in the Reviews dataset: rating, title, text, date, author name, verified buyer, votes, photos and replies. Find them in the Output tab. The price per product does not change.

## `maxReviewsPerProduct` (type: `integer`):

Newest reviews to collect per product, 1 to 100.

## `includeQuestions` (type: `boolean`):

Adds questions and their answers as rows in the Questions dataset. Find them in the Output tab. The price per product does not change.

## `maxQuestionsPerProduct` (type: `integer`):

Questions to collect per product, 1 to 100.

## `includeStoreAvailability` (type: `boolean`):

Adds one row per Altex store per product (about 117 stores) to the Store stock dataset: store name, city, address, opening hours, phone, manager and whether it has the product. One of the slowest extras. The price per product does not change.

## `includeSellerDetails` (type: `boolean`):

Adds the marketplace seller's company name, tax id (CUI), trade register number, address, phone, e-mail and description. Fetched once per seller. The price per product does not change.

## `includeInstallmentPlans` (type: `boolean`):

Adds the instalment options: number of months, monthly amount and total. One extra request per product. The price per product does not change.

## `includePageExtras` (type: `boolean`):

Reads the product page itself for the delivery estimate, return policy, warranty line, colour and every image link. The slowest extra, about one second per product. The price per product does not change.

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

Off by default. Switch on Apify Proxy if altex.ro starts refusing requests. Only Apify Proxy datacenter works: residential groups and custom proxy URLs are refused before the run starts.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://altex.ro/baterii-externe-telefon/cpl/"
    }
  ],
  "allProducts": false,
  "reconcileWithSitemap": false,
  "onlyPromotions": false,
  "onlyOpenBox": false,
  "soldByAltexOnly": false,
  "onlyInStock": false,
  "maxItems": 50,
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "includeQuestions": false,
  "maxQuestionsPerProduct": 20,
  "includeStoreAvailability": false,
  "includeSellerDetails": false,
  "includeInstallmentPlans": false,
  "includePageExtras": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `reviews` (type: `string`):

No description

## `questions` (type: `string`):

No description

## `storeStock` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://altex.ro/baterii-externe-telefon/cpl/"
        }
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataizi-srl/altex-ro-scraper").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 = {
    "startUrls": [{ "url": "https://altex.ro/baterii-externe-telefon/cpl/" }],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("dataizi-srl/altex-ro-scraper").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 '{
  "startUrls": [
    {
      "url": "https://altex.ro/baterii-externe-telefon/cpl/"
    }
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call dataizi-srl/altex-ro-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataizi-srl/altex-ro-scraper"
        }
    }
}
```

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/0hhuXq4LJtB71Qy6N/builds/PthmEIr6MDvchz1Ua/openapi.json
