# Trendyol Scraper (`mina_safwat/trendyol-scraper`) Actor

Scrapes Trendyol products from searches, categories, brands, stores and product links in Türkiye and Trendyol's international stores: prices, discounts, sellers, ratings, favourites, stock, images, plus optional details and reviews.

- **URL**: https://apify.com/mina_safwat/trendyol-scraper.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** E-commerce, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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

### What does Trendyol Scraper do?

**Trendyol Scraper** collects **product data from [Trendyol](https://www.trendyol.com)**, Türkiye's largest online marketplace, and from Trendyol's international stores (UAE, Saudi Arabia, the Gulf, Germany and the rest of Europe). Type a search word or paste a **search, category, brand, store or product link** and get one clean row per product with its **price, price before discount, discount, currency, seller, rating, number of ratings, favourites, category, images, stock and free-shipping flag**.

Turn on the extras to add each product's **seller description, attributes, variants (sizes with stock and price), barcode and product code**, and its **newest customer reviews**.

Try it with the prefilled search and category: click **Start** and the products are ready in a few seconds. Because it runs on the Apify platform, you also get API access, scheduled runs, integrations (Google Sheets, Make, Zapier, Slack, webhooks), proxy rotation and run monitoring.

### Why scrape Trendyol?

- **Price monitoring.** Track your own and your competitors' prices, promotions and discounts across sellers, every day.
- **Market research.** See which brands and products lead a category, how many favourites and ratings they collect, and how they are priced.
- **Seller intelligence.** Find which sellers carry a brand, how many other sellers offer the same product, and what they charge.
- **Catalogue and assortment checks.** Export a brand's or store's full listing with attributes, barcodes and variants.
- **Review analysis.** Collect the newest reviews to follow product quality and customer sentiment.

### How to scrape Trendyol

1. Open [trendyol.com](https://www.trendyol.com) (or trendyol.ae, trendyol.sa) and search, open a category, a brand or a store. Set any filters and sorting you want.
2. Copy the link from your browser's address bar and paste it into **Trendyol links**, one per line. Or type words into **Search words**.
3. Choose how many products you want per search or link with **Max products per search or link**.
4. Optionally turn on **Add product details** and **Add reviews**.
5. Click **Start**, then download the results when the run finishes.

**Filters in the link are kept.** Brand, price, colour, size and other filters you set on the site are read from the link, and so is its sort order, unless you pick one under **Sort by**.

### Input

Everything is set on the Input tab. In JSON, the input looks like this:

```json
{
    "searchQueries": ["bluetooth kulaklık"],
    "startUrls": [
        "https://www.trendyol.com/cep-telefonu-x-c103498?wb=794",
        "https://www.trendyol.com/magaza/trendyol-m-968",
        "https://www.trendyol.ae/sr?q=phone",
        "https://www.trendyol.com/samsung/galaxy-a16-128-gb-4-gb-ram-siyah-cep-telefonu-samsung-turkiye-garantili-p-881465224"
    ],
    "maxProducts": 100,
    "sort": "BEST_SELLER",
    "country": "TR",
    "includeDetails": false,
    "includeReviews": false,
    "maxReviewsPerProduct": 20
}
```

| Field | What it does |
|---|---|
| `searchQueries` | Words to search for, one search per line, run in the store chosen under `country`. |
| `startUrls` | Trendyol links: a search (`/sr?q=…`), a category (`/…-x-c103498`), a brand (`/…-x-b794`), a store (`/magaza/…-m-968`) or a product (`/…-p-881465224`). Plain text or `{"url": "…"}` objects; `https://` is optional. |
| `maxProducts` | Stops after this many products for each search word and each listing link. Default: 100. |
| `sort` | `BEST_SELLER`, `MOST_RECENT`, `PRICE_BY_ASC`, `PRICE_BY_DESC`, `MOST_FAVOURITE` or `MOST_RATED`. Empty keeps the site's or the link's own order. |
| `country` | The store for search words, and for trendyol.com links that don't name a country (such as English `/en/` pages). Default: `TR`. Links to trendyol.ae, trendyol.sa or a country path such as `/de/` or `/en-qa/` always read that country. |
| `includeDetails` | Adds description, attributes, variants, category path, product code, barcode, review count and other-seller count from each product's page. |
| `includeReviews` | Adds the newest reviews of each product. |
| `maxReviewsPerProduct` | How many reviews to add per product, up to 1,000. Default: 20. |
| `proxyConfiguration` | Leave it empty. The Actor picks the cheapest connection Trendyol accepts on its own. |

### Output

Each product becomes one row. Here is a real example from a search:

```json
{
    "id": 776526630,
    "url": "https://www.trendyol.com/muwago/unisex-gunluk-sneaker-p-776526630",
    "name": "Unisex Günlük Sneaker",
    "brand": "MUWAGO",
    "price": 793.91,
    "originalPrice": 818.46,
    "discountPercent": 3,
    "plusPrice": null,
    "currency": "TRY",
    "sellerId": 200597,
    "sellerName": "MODA PILLA",
    "rating": 3.91,
    "ratingCount": 164,
    "favoriteCount": 30000,
    "category": "Sneaker",
    "categoryId": 975,
    "imageUrl": "https://cdn.dsmcdn.com/ty1031/product/media/images/prod/SPM/PIM/20231102/23/e4b37cd1-ba3e-3fd4-97fc-6ec27983ba9a/1_org_zoom.jpg",
    "images": ["https://cdn.dsmcdn.com/ty1031/product/media/images/prod/SPM/PIM/20231102/23/e4b37cd1-ba3e-3fd4-97fc-6ec27983ba9a/1_org_zoom.jpg"],
    "freeShipping": true,
    "inStock": true,
    "isSponsored": false,
    "country": "TR",
    "position": 6,
    "sourceUrl": "spor ayakkabı",
    "scrapedAt": "2026-10-20T15:08:36+00:00"
}
```

With **Add product details** and **Add reviews** on, a row also carries fields like these (shortened, from a real run):

```json
{
    "reviewCount": 18,
    "productCode": "LİN-004-G-1",
    "barcode": "LİN-004-G-3-L",
    "categoryPath": "Giyim/Elbise",
    "variants": [
        { "value": "S", "inStock": true, "price": 598, "itemNumber": 1501125159 },
        { "value": "M", "inStock": true, "price": 604.5, "itemNumber": 1501126346 }
    ],
    "attributes": [{ "name": "Kumaş Tipi", "value": "Örme" }, { "name": "Materyal", "value": "Likra" }],
    "otherSellerCount": 0,
    "description": "Bordo 2 Yırtmaçlı Gümüş Zincir Detaylı Romantik Gecelik Gece Elbisesi- Romantik ve şık tasarımıyla…",
    "reviews": [
        {
            "id": 674316360,
            "rating": 5,
            "text": "Kumaşı esnek likralı tam beden alabilirsiniz…",
            "date": "2026-10-19T17:20:23+00:00",
            "likes": 0,
            "sellerName": "Lingeretta",
            "variant": { "attribute": "Beden", "value": "M" },
            "images": [],
            "originalText": null,
            "isTranslated": false,
            "language": "tr"
        }
    ]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. The Output tab has two views: **Products** and **Details and reviews**.

### Data fields

| Field | Description |
|---|---|
| `id` | Trendyol's product ID (the number after `-p-` in the link). |
| `url` | Link to the product page in its country's store. |
| `name`, `brand` | Product name (without the brand) and brand. |
| `price` | What any shopper pays now, as the site shows it, as a number. |
| `originalPrice` | The struck-through price the site shows above it (the seller's earlier or suggested price); `null` when the site strikes nothing. Trendyol's EU stores don't strike prices for basket promotions, so there it is usually `null`. |
| `discountPercent` | Discount from `originalPrice` to `price`, in whole percent; `null` without a struck price. |
| `plusPrice` | The lower price for Trendyol Plus members, when one is offered; otherwise `null`. |
| `currency` | ISO currency code of the store, such as `TRY`, `AED`, `SAR` or `EUR`. |
| `sellerId`, `sellerName` | The seller shown for the product. |
| `rating`, `ratingCount` | Average star rating (`null` before the first rating) and number of ratings. |
| `favoriteCount` | How many shoppers saved the product. Search results show it rounded (54K becomes 54000); product links and details give the exact number. `null` when the site shows none. |
| `category`, `categoryId` | The product's own category. |
| `imageUrl`, `images` | Main image and all images in full size. |
| `freeShipping`, `inStock` | Free-shipping flag and whether it can be bought now. |
| `isSponsored` | `true` for ads placed in search results; `null` for product links. |
| `country` | Two-letter code of the store the row was read from. |
| `position` | Place in the search or listing, counting from 1; `null` for product links. |
| `reviewCount`, `productCode`, `barcode`, `categoryPath`, `variants`, `attributes`, `otherSellerCount` | From the product page: with **Add product details**, and always for product links. Each variant has its `value` (such as a size), `inStock`, `price` and `itemNumber`. |
| `description` | The seller's own product description, without Trendyol's standard notices; `null` when the seller wrote none. Only with **Add product details**. |
| `reviews` | Newest reviews first, with `rating` (1–5), `text` as the store shows it, `originalText` and `isTranslated` (stores outside Türkiye show machine-translated reviews), `language` the review was written in, `date` (UTC), `likes`, `sellerName`, the bought `variant` and review `images`. Only with **Add reviews**. Reviewer names are not collected. |
| `sourceUrl` | The search word or link that led to this product. |
| `scrapedAt` | When the row was saved, in UTC. |

### How much does it cost to scrape Trendyol?

The Actor uses **pay-per-event** pricing: you pay for each product saved, plus one **product-details** event for each search or listing product whose page was read for **Add product details**, each product link that got a description, and each product that got at least one review. Asking for extras that a product doesn't have (no reviews, a product link without a description) costs nothing extra. See the **Pricing** tab for the exact prices.

It is light on platform resources: 1,000 products from search results took 30 seconds in our tests. Inputs that find nothing and failed inputs are never charged. If you set a maximum cost for a run, the Actor stops as soon as it is reached.

### Tips for scraping Trendyol

- **Filter on the site first.** Set brand, price or size filters on Trendyol and paste the link: you only pay for the products you need.
- **Leave the extras off for price monitoring.** Search rows already carry price, discount, seller, rating, stock and favourites; details add a page request per product.
- **Use `maxProducts`** to cap large categories; Trendyol lists 36 products per page.
- **Schedule runs** (for example daily) to follow prices and stock over time.
- The same product found by two searches is saved, and charged, once.

### FAQ, disclaimers and support

**Which Trendyol stores are supported?** Türkiye (trendyol.com), the United Arab Emirates (trendyol.ae), Saudi Arabia (trendyol.sa), Qatar, Kuwait, Oman, Bahrain, Azerbaijan, Germany and the other European stores Trendyol ships to (pick them under **Country**, or paste a link with the country path such as `/de/`, `/pl/` or `/en-qa/`).

**Why do some searches return products that don't match my words?** Trendyol itself replaces words it doesn't know with its closest match, and the Actor returns what the site shows.

**What happens to links that return nothing?** They are not saved as rows, so you are not charged for them. Each is listed with its reason (not a Trendyol link, no products, product removed) in the `FAILED_INPUTS` record of the run's key-value store, and the run's status message gives the counts. A run fails only when every input could not be loaded.

**Do reviews include seller replies?** Trendyol's review service doesn't publish seller replies, so they are not included.

**Is it legal to scrape Trendyol?** This Actor collects publicly visible product listings, prices and reviews. It does not log in and does not collect reviewers' names. You are responsible for making sure your use complies with Trendyol's terms and with the laws that apply to you, such as data protection and copyright rules for republishing descriptions or review texts. If in doubt, ask a lawyer.

**Found a problem or need a custom solution?** Open an issue on the **Issues** tab and we will look into it. Custom data feeds are available on request.

# Actor input Schema

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

Words to search for on Trendyol, one search per line, as you would type them in the site's search box (for example telefon or nike ayakkabı). Searches run in the store chosen under Country. Add search words, links below, or both.

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

Links copied from your browser, one per line: a search (https://www.trendyol.com/sr?q=telefon), a category (…/cep-telefonu-x-c103498), a brand (…/samsung-x-b794), a store (…/magaza/trendyol-m-968) or a single product (…/samsung/galaxy-a16-p-881465224). Filters and sorting set on the site are kept. Links to trendyol.ae, trendyol.sa and the country paths of trendyol.com (such as /de/ or /en-qa/) read that country's store.

## `maxProducts` (type: `integer`):

Stops after this many products for each search word and each listing link. Trendyol shows 36 products per page.

## `sort` (type: `string`):

The order products are read in. Leave it as is to keep the order of the site or of the pasted link.

## `country` (type: `string`):

The Trendyol store to search in, which sets the products, prices and currency. It also applies to trendyol.com links whose address doesn't name a country, such as English (/en/) pages. Links to trendyol.ae, trendyol.sa or a country path such as /de/ always read that country.

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

Opens each product's page to add its seller description, attributes (such as RAM or material), variants (sizes or capacities with stock and price), category path, product code, barcode, review count and number of other sellers, with the exact favourite count and seller. Slower: one or two extra requests per product. Product links always include these page fields; this option adds the description.

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

Adds the newest customer reviews of each product: rating, text (with the original when the store shows a translation), date, likes, the seller it was bought from, variant and photos.

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

How many of the newest reviews to add to each product, when reviews are turned on. Up to 1,000.

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

Leave this empty: the Actor connects through Apify's datacenter proxy on its own, keeps the addresses Trendyol accepts, and falls back to Turkish residential addresses if needed.

## Actor input object example

```json
{
  "searchQueries": [
    "bluetooth kulaklık"
  ],
  "startUrls": [
    "https://www.trendyol.com/cep-telefonu-x-c103498"
  ],
  "maxProducts": 10,
  "sort": "",
  "country": "TR",
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchQueries": [
        "bluetooth kulaklık"
    ],
    "startUrls": [
        "https://www.trendyol.com/cep-telefonu-x-c103498"
    ],
    "maxProducts": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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 = {
    "searchQueries": ["bluetooth kulaklık"],
    "startUrls": ["https://www.trendyol.com/cep-telefonu-x-c103498"],
    "maxProducts": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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 '{
  "searchQueries": [
    "bluetooth kulaklık"
  ],
  "startUrls": [
    "https://www.trendyol.com/cep-telefonu-x-c103498"
  ],
  "maxProducts": 10
}' |
apify call mina_safwat/trendyol-scraper --silent --output-dataset

```

## MCP server setup

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