# Trendyol Scraper – Prices, All Sellers & Reviews (`atesen-software/trendyol-scraper`) Actor

Scrape Trendyol.com products from categories, brands, stores, searches or product URLs: prices with cart discounts, every seller's offer (buy-box), attributes, variants, Trendyol's review summary with aspect sentiment, and reviews. Built-in price-change monitor.

- **URL**: https://apify.com/atesen-software/trendyol-scraper.md
- **Developed by:** [Atesen Software](https://apify.com/atesen-software) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

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

## Trendyol Scraper – Prices, All Sellers & Reviews

Scrape **Trendyol.com**, Turkey's largest marketplace: products from categories, brands, stores, searches or product URLs, with the price customers actually see (including cart discounts), **every seller's offer for a product (buy-box view)**, attributes, sizes with stock, **Trendyol's own review analytics** (star distribution, aspect sentiment, AI summary) and individual reviews. A built-in **price monitor** flags what changed since the last run.

- ✅ Category, brand, brand + category, store, search and product URLs
- ✅ Real Turkish-lira prices: displayed price, seller price, struck-through price, cart-discount label (“Sepette %40 İndirim”), “lowest price in 30 days” label
- ✅ All sellers of a product with price, seller score, stock, free shipping and buy-box winner
- ✅ Review summary: 1–5 star distribution, aspects such as *Kalite 94% positive*, size feedback, Trendyol's AI summary
- ✅ Reviews with rating, text, date, likes, seller, size/variant and photos — newest first if you want
- ✅ Price-change tracking between scheduled runs
- ✅ Pay only for what you get, with a hard cost cap

### How it works

Trendyol answers plain HTTP scrapers with a Cloudflare “Just a moment” challenge. This Actor uses a real Chromium browser **only as an HTTP client**: each session opens one Trendyol page, and every listing page, product page and review request is then fetched from inside that page. Images, styles and Trendyol's JavaScript bundles are never downloaded, so traffic stays close to that of a plain HTTP scraper (≈80 KB per page).

Each browser session uses its own proxy IP. Trendyol's review API rate-limits busy IPs, so requests are paced per IP and sessions are rotated before the limit is reached. If the review API still refuses, products are delivered without reviews (with a `reviewsError` explaining why) instead of being lost.

### Input

| Field | What it does |
| --- | --- |
| **Trendyol URLs** | Category (`/fritoz-x-c1055`), brand (`/schafer-x-b373`), brand + category, store (`/magaza/...-m-123`), search (`/sr?q=...`) or product (`...-p-123`) URLs. Filters already in the URL are kept. |
| **Search keywords** | Keywords searched on Trendyol. |
| **Max products per URL / keyword** | 36 products per Trendyol page; the Actor paginates until this limit. |
| **Sort listings by** | Recommended, lowest/highest price, newest, best sellers, most favourited, most reviewed. |
| **Add product details** | Opens each product page: all sellers, barcode, attributes, variants, exact favourites, category path. |
| **Add review summary** | Star distribution, aspect sentiment, size feedback, AI summary. |
| **Scrape reviews / Max reviews per product / Review order** | Individual reviews, nested in the product. |
| **Price monitor name** | Compare prices with the previous run that used the same name. |
| **Proxy** | Default: Apify residential proxy in Turkey (recommended). |

Example – the 200 cheapest air fryers with sellers and the latest 30 reviews:

```json
{
  "startUrls": [{ "url": "https://www.trendyol.com/fritoz-x-c1055" }],
  "sortBy": "PRICE_ASC",
  "maxProductsPerSource": 200,
  "includeProductDetails": true,
  "includeReviewSummary": true,
  "includeReviews": true,
  "maxReviewsPerProduct": 30,
  "reviewSort": "NEWEST"
}
```

### Output

One dataset item per product. Real record from a test run (shortened), with “Add product details” on:

```json
{
  "productId": 1030831041,
  "name": "AIF 2030 XL Sıcak Tutma Hazneli Air Fryer 1500W Siyah-Krom",
  "brand": "English Home",
  "category": "Fritöz",
  "url": "https://www.trendyol.com/english-home/aif-2030-xl-sicak-tutma-hazneli-air-fryer-1500w-siyah-krom-p-1030831041?merchantId=157151&boutiqueId=61",
  "price": 3203,
  "sellingPrice": 3203,
  "originalPrice": 3750,
  "discountPercent": 15,
  "currency": "TRY",
  "rating": 4,
  "ratingCount": 5,
  "favoriteCount": 623,
  "position": 36,
  "isSponsored": false,
  "sellerName": "EKO-EKOL",
  "sellerCount": 3,
  "lowestSellerPrice": 3203,
  "sellers": [
    { "sellerName": "EKO-EKOL", "sellerScore": 8.5, "price": 3203, "originalPrice": 3750, "inStock": true, "freeShipping": true, "isBuyBoxWinner": true },
    { "sellerName": "İkizler27 avm", "sellerScore": 9, "price": 3333, "inStock": true, "freeShipping": true, "isBuyBoxWinner": false },
    { "sellerName": "AnkaBilgisayar", "sellerScore": 7.9, "price": 4649, "inStock": true, "freeShipping": true, "isBuyBoxWinner": false }
  ],
  "barcode": "8684233467834",
  "categoryPath": "Elektronik > Elektrikli Ev Aletleri > Yiyecek & İçecek Hazırlama > Yiyecek Hazırlama > Fritöz",
  "attributes": { "Frekans": "50 Hz / 60 Hz", "Materyal": "Plastik", "Garanti Tipi": "Resmi Distribütör Garantili" },
  "scrapedAt": "2026-10-02T16:53:30.697Z"
}
```

With “Add review summary” and “Scrape reviews” on, a product also gets (another real record, Schafer Thermochef XL, reviews newest first):

```json
{
  "productId": 345141997,
  "reviewSummary": {
    "averageRating": 4.4,
    "ratingCount": 4018,
    "commentCount": 1406,
    "ratingDistribution": { "1": 365, "2": 89, "3": 190, "4": 410, "5": 2964 },
    "aspects": [
      { "name": "Fiyat", "mentions": 160, "positive": 137, "negative": 23, "positivePercent": 86 },
      { "name": "Kalite", "mentions": 67, "positive": 59, "negative": 4, "positivePercent": 94 }
    ],
    "aiSummary": ["Ürünün pratik kullanımı ve zaman tasarrufu sağlaması, birçok yorumda öne çıkan bir avantajdır.", "..."]
  },
  "reviews": [
    {
      "reviewId": 669674915,
      "reviewRating": 5,
      "reviewText": "Çok güzel pişirmesi kullanımı çok iyi kargolamada iyi",
      "reviewDate": "2026-10-02T08:07:59.879Z",
      "reviewLikes": 0,
      "reviewSellerName": "Schafer",
      "reviewVariant": null,
      "reviewLanguage": "tr",
      "reviewMediaUrls": [],
      "reviewTrusted": true
    }
  ],
  "reviewsError": null
}
```

Dataset views in Console: **Products**, **Reviews** (one row per review via `unwind`) and **Price changes**. Through the API, add `?view=reviews` or `?unwind=reviews` to get one row per review. Fields only product pages provide are `null` when “Add product details” is off. A `RUN_SUMMARY` record in the key-value store lists counts, failed pages and the stop reason.

**Price fields:** `price` is what Trendyol displays (including cart promotions; listings sort by it), `sellingPrice` is the seller's price before cart promotions, `originalPrice` is the crossed-out price.

### Pricing

Pay per event — platform and proxy costs are included:

| Event | Charged when |
| --- | --- |
| Product | a product is saved |
| Product details | a product is saved with “Add product details” on |
| Review | each saved review |

The review summary has no extra charge. Set **Maximum cost per run** in the run options: the Actor checks the remaining budget before each product and stops cleanly, so you are never charged for data you don't receive.

### Price monitoring

1. Set **Price monitor name**, e.g. `airfryer-watch`.
2. Schedule the Actor (daily, for example) with the same input.
3. Each product gets `previousPrice`, `priceChange`, `priceChangePercent` and `isNewInMonitor`. Open the **Price changes** view or filter on `priceChange != 0`, or connect a webhook / Google Sheets integration.

### Tips

- Start with 20–50 products to check the fields you need, then scale.
- Listing-only runs are the cheapest and fastest; turn on details or reviews only when you need them.
- Keep the default residential Turkey proxy. Datacenter IPs are mostly blocked by Trendyol.
- Many reviews per product take longer: the review API is rate-limited per IP.

### Limitations

- Product descriptions (the HTML “Ürün Açıklaması” block) are not included — Trendyol loads them separately.
- Sizes/variants include stock and barcode but not a separate price per size (Trendyol prices the selected offer).
- Trendyol can change its pages at any time. The Actor fails loudly (no silent empty results) and is monitored with tests against captured pages.
- Only the Turkish storefront (TRY) is supported; `/en/` URLs are mapped to it.

### Is it legal to scrape Trendyol?

This Actor collects publicly visible product, price and review data and does not log in. Reviewer names, height and weight, and sellers' tax and address details are deliberately **not** collected. Trendyol's robots.txt disallows search-result URLs (`/sr?...`); category, brand and product pages are a better fit where that matters to you. You are responsible for using the data in line with Trendyol's terms, the Turkish personal-data law (KVKK) and other laws that apply to you. This is not legal advice.

### FAQ

**Why are some reviews missing?** `maxReviewsPerProduct` caps them; and if Trendyol rate-limits its review API repeatedly, products are delivered with `reviewsError` set instead of reviews.

**Why does a product appear only once when it matches two keywords?** Products are de-duplicated across all inputs in a run; `sourceInput` shows where it was found first.

**Can I get a specific seller's offer?** Use a product URL with `?merchantId=...` — it is kept in `url`.

**Found a problem?** Open an issue on the Actor's Issues tab with the run ID and the URL.

# Actor input Schema

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

Category (e.g. https://www.trendyol.com/fritoz-x-c1055), brand, brand + category, store (/magaza/...-m-123), search (/sr?q=...) or product URLs (...-p-123). Filters and sorting already in the URL are kept.

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

Keywords to search on Trendyol, one per line (e.g. "airfryer", "kahve makinesi").

## `maxProductsPerSource` (type: `integer`):

Stop collecting from each category, search or store after this many products. Trendyol shows 36 products per page.

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

Sort order for keyword searches and URLs that don't already include one.

## `skipSponsored` (type: `boolean`):

Leave out ads (sponsored cards) that Trendyol mixes into listings.

## `includeProductDetails` (type: `boolean`):

Opens each product page: every seller's price and rating (buy-box analysis), barcode, attributes, sizes/variants with stock, exact favourite count, category path. Charged as an extra event per product.

## `includeReviewSummary` (type: `boolean`):

Adds Trendyol's review summary to each product: 1–5 star distribution, aspect sentiment (e.g. 'Kalite 94% positive'), size feedback and Trendyol's AI review summary. No extra charge.

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

Saves individual reviews as separate dataset rows (recordType = "review"). Reviewer names, height and weight are not collected.

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

Upper limit of reviews saved per product.

## `reviewSort` (type: `string`):

Which reviews come first.

## `priceMonitorKey` (type: `string`):

Set a name (e.g. "airfryer-watch") and schedule the run. Each product then gets previousPrice, priceChange, priceChangePercent and isNewInMonitor compared with the last run that used the same name. Leave empty to disable.

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

Trendyol blocks most datacenter IPs. Residential proxies in Turkey (TR) give the most reliable results and Turkish lira prices.

## `maxConcurrency` (type: `integer`):

Higher is faster but more likely to be rate-limited by Trendyol.

## `maxBrowserSessions` (type: `integer`):

Number of parallel browser sessions, each with its own proxy IP.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.trendyol.com/fritoz-x-c1055"
    }
  ],
  "searchQueries": [],
  "maxProductsPerSource": 50,
  "sortBy": "RELEVANCE",
  "skipSponsored": false,
  "includeProductDetails": false,
  "includeReviewSummary": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "reviewSort": "RELEVANCE",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "TR"
  },
  "maxConcurrency": 4,
  "maxBrowserSessions": 3
}
```

# Actor output Schema

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

No description

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

No description

## `priceChanges` (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://www.trendyol.com/fritoz-x-c1055"
        }
    ],
    "searchQueries": [],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "TR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("atesen-software/trendyol-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://www.trendyol.com/fritoz-x-c1055" }],
    "searchQueries": [],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "TR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("atesen-software/trendyol-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://www.trendyol.com/fritoz-x-c1055"
    }
  ],
  "searchQueries": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "TR"
  }
}' |
apify call atesen-software/trendyol-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,atesen-software/trendyol-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/OvQfJfLaxERNsd6Re/builds/nW7Yhml4zzRbRtmoS/openapi.json
