# Trendyol Scraper — Turkish Ecommerce Products & Prices (`studio-amba/trendyol-scraper`) Actor

Scrape products, prices, discounts, ratings, and brands from trendyol.com — Turkey's largest ecommerce marketplace. Search by keyword and extract structured product data for price monitoring or market research.

- **URL**: https://apify.com/studio-amba/trendyol-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result scrapeds

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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Trendyol Scraper — Turkish Ecommerce Products & Prices (No Login)

Scrape products, prices, discounts, ratings, and brands from trendyol.com — Turkey's largest ecommerce marketplace with hundreds of millions of monthly visits across electronics, fashion, home, and grocery.

### What is Trendyol?

Trendyol is Turkey's dominant online marketplace, comparable in scale and category breadth to Amazon in Western Europe. It lists products from thousands of third-party sellers alongside its own private-label brands, spanning electronics, fashion, cosmetics, home goods, and fast-moving consumer goods. Its scale and category depth make it a key data source for anyone tracking Turkish ecommerce pricing, brand distribution, or promotional activity.

- **Price monitoring for the Turkish market** — Track pricing and discount activity across categories
- **Brand distribution analysis** — See which brands dominate specific search terms and categories
- **Competitive intelligence** — Compare your own Turkish catalogue against Trendyol's live prices
- **Market research** — Study promotional patterns, rating distribution, and pricing tiers by category

### What data does Trendyol Scraper extract?

- Product name
- Brand
- Current price and currency (TRY)
- Original price and discount percentage, when the product is on sale
- Average rating and rating count
- Trendyol internal product ID
- Primary product image URL
- Full product page URL

### How to scrape trendyol.com data

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | String | Search term, e.g. `"telefon"`, `"laptop"`, `"ayakkabi"` |
| `maxResults` | Integer | Maximum products to return (default: 100) |
| `brightDataApiKey` | String (secret) | Bright Data Web Unlocker API key — required, see below |
| `proxyConfiguration` | Object | Not used by this actor — kept for input-schema compatibility |

**A Bright Data Web Unlocker API key is required.** Trendyol runs Cloudflare anti-bot protection that returns an empty HTTP 403 to plain and datacenter requests. Bright Data's Web Unlocker (Turkish exit) solves the challenge server-side and returns the real page. Get a key at [brightdata.com](https://brightdata.com).

**Tips:**

- This actor parses the embedded product JSON in the server-rendered page, not the DOM — it captures every field the search page carries, including ratings and discount pricing
- The public Trendyol API is intentionally not used (it returns empty responses through most proxy layers); the SSR page is the reliable path
- Results are deduplicated by product ID across pagination

### Output

Each product is returned as a structured JSON object:

```json
{
    "productName": "Galaxy A07 4/128 Gb Akıllı Telefon",
    "brand": "Samsung",
    "price": 8399,
    "currency": "TRY",
    "originalPrice": 9001.6,
    "discount": "-7%",
    "rating": 4.5,
    "ratingCount": 619,
    "productId": "1090837476",
    "imageUrl": "https://cdn.dsmcdn.com/mnresize/400/-/ty1818/prod/QC_PREP/20260202/07/34f21a18-af4a-30c1-907d-3e4531a9995f/1_org_zoom.jpg",
    "url": "https://www.trendyol.com/samsung/galaxy-a07-4-128-gb-akilli-telefon-p-1090837476",
    "scrapedAt": "2026-07-13T09:12:00.000Z"
}
```

### Output fields

| Field | Type | Example |
|-------|------|---------|
| `productName` | String | `"Galaxy A07 4/128 Gb Akıllı Telefon"` |
| `brand` | String | `"Samsung"` |
| `price` | Number | `8399` |
| `currency` | String | `"TRY"` |
| `originalPrice` | Number | `9001.6` (only when discounted) |
| `discount` | String | `"-7%"` (only when discounted) |
| `rating` | Number | `4.5` |
| `ratingCount` | Number | `619` |
| `seller` | String | Marketplace seller name, when available |
| `productId` | String | `"1090837476"` |
| `imageUrl` | String | Primary product image URL |
| `url` | String | Full product URL |
| `scrapedAt` | String | ISO 8601 timestamp |

### Cost estimate

Each search-results page returns 20-24 products from one Bright Data request, so this actor uses well under **1 compute unit per 100 products**. At standard Apify pricing that is a fraction of a cent per product.

### Limitations

- Seller/merchant name is not consistently exposed in the search page JSON — only `merchantId` is available internally, so `seller` is omitted for most products
- Full specs and variant options (colour, size) live on the product detail page only
- Data is scraped from the public website and may change without notice
- Respect Trendyol's terms of service and use responsibly

### Frequently asked questions

**Do I need my own Bright Data account?**
Yes. Trendyol blocks plain and datacenter requests with Cloudflare, so a Bright Data Web Unlocker API key is required to run this actor.

**Why don't all products have an `originalPrice`?**
`originalPrice` and `discount` only appear when a product is actively discounted. A product at its regular price returns just `price`.

**Does this scrape the same data as Trendyol's mobile app?**
It scrapes the public web search results, which carry the same core product fields (name, price, rating, brand) shown in the app.

### Related scrapers

- [Autohero Scraper](https://apify.com/studio-amba/autohero-scraper) — European used-car marketplace.
- [Autodoc Scraper](https://apify.com/studio-amba/autodoc-scraper) — European car parts retailer.
- [Carrefour FR Scraper](https://apify.com/studio-amba/carrefour-fr-scraper) — French grocery retailer.

### Disclaimer

This actor collects only publicly available product data from trendyol.com for legitimate use such as price monitoring and market research. Respect Trendyol's terms of service and applicable data-protection law when using the output.

### Need this data on a schedule, or a custom version?

We run this scraper as a managed service for businesses: scheduled runs, deduplication, delta detection, and delivery to your inbox, Google Sheets, or API — maintenance included. We can also build a custom version with your exact fields and filters, or combine multiple sources into one feed.

See [studioamba.dev/services](https://studioamba.dev/services/) or email <hello@studioamba.dev> for a free data sample. We maintain 300+ European web scrapers and answer within one business day.

# Actor input Schema

## `searchQuery` (type: `string`):

Search term for products, e.g. 'telefon', 'laptop', 'ayakkabi'.

## `maxResults` (type: `integer`):

Maximum number of products to return.

## `brightDataApiKey` (type: `string`):

Your Bright Data API key for the Web Unlocker zone. Required to bypass Trendyol's Cloudflare anti-bot protection. Get one at https://brightdata.com. Can also be supplied via the BRIGHT\_DATA\_API\_KEY environment variable.

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

Not used — this actor routes all traffic through Bright Data Web Unlocker (TR), not Apify proxies.

## Actor input object example

```json
{
  "searchQuery": "telefon",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "TR"
  }
}
```

# 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 = {
    "searchQuery": "telefon",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "TR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/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 = {
    "searchQuery": "telefon",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "TR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/trendyol-scraper").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 '{
  "searchQuery": "telefon",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "TR"
  }
}' |
apify call studio-amba/trendyol-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/trendyol-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/7s5i172knItnDIpXs/builds/M1Wx7O9fohGb5gYeD/openapi.json
