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

Trendyol scraper for trendyol.com search and category pages: price, original price and discount, rating, seller store name, free shipping and fast delivery flags, brand, category. Sort and filter by rating, discount and shipping. Monitor mode alerts on new products and price drops.

- **URL**: https://apify.com/datahamster/trendyol-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (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 $0.80 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Trendyol Scraper

Search trendyol.com by keyword or paste any Trendyol search or category URL, and get one row per product: price in Turkish lira, the struck-through original price and discount, rating and rating count, favourites and order counts, best-seller rank, free shipping (Kargo Bedava), fast delivery and next-day flags, coupons and promotions, brand, category, image, product URL and the seller's store name with its Trendyol score. Sort and filter the results, and turn the same search into a scheduled new-product and price-drop alert.

**Try it:** the prefilled example returns 20 rows in about 15 seconds and costs about $0.027. Results cost $1.00 per 1,000.

All-in cost: the $0.027 above is $0.020 for 20 results plus $0.0073 of platform usage, almost all of it residential proxy traffic (13 seller-profile lookups plus one listing page). Three runs of the prefill on 2026-11-18 took 7, 7 and 21 seconds. Without seller names a full page of 36 products uses about $0.0008 of proxy traffic.

Coverage: trendyol.com (Turkey) search and category listings, 36 products per page, up to 100 pages per search. Product pages are not opened, so there is no description, stock count, variants or reviews.

### Why this one

Compared with the most-used Trendyol actor in the Store (fatihtahta/trendyol-scraper, about 114 users in 30 days; checked 2026-11-18: its input has start URLs, queries, min/max price, a minimum star rating, lowest-price-days, coupon, special-offer, influencer and newly-released flags, product enrichment, reviews and Q\&A, and a per-query limit) and the second one (memo23/trendyol-scraper, whose monitoring option returns products it has not delivered before):

- **New-product and price-drop alerts.** In monitor mode a run returns only products newly listed on Trendyol that show up in your search (`changeType: "new"`) and known products whose price changed (`changeType: "changed"` with `previous.price`), and can post them to a webhook or Telegram. `priceAlert: "drops"` with `minPriceChangePercent` reports only real price cuts. Neither leader reports price changes: fatihtahta's README suggests scheduling re-runs that return every row again, and memo23's monitoring only skips products it delivered before. Older products that merely move into the pages you read are not charged as new (see Monitor mode below). Measured on 2026-11-18: `kulaklık` and `airpods` (relevance, 1 page each) recorded 125 products as a baseline; the run 4 minutes later read the same pages, recorded 6 older products that had moved into them without charging, and returned 1 row: a Bluetooth headset whose price went from 2,429 to 2,000 TRY. `elbise` sorted by newest returned nothing 4 minutes after its baseline (72 checked).
- **Sort orders and filters on what the card shows.** Seven Trendyol sort orders (relevance, price up or down, newest, best sellers, most favourited, most rated) and row filters `minDiscountPercent`, `freeCargoOnly`, `fastDeliveryOnly`, `minRating` and `minRatingCount`, applied before a row is pushed, so you never pay for rows you throw away. Neither leader's input has a sort order, a discount-percent filter or a free-shipping or fast-delivery filter. Measured on 2026-11-18: `kablosuz kulaklık`, `bluetooth kulaklık` and a nonsense phrase, 2 pages each, with rating 4.3+, 100+ ratings, 5%+ discount and free shipping read 5 pages, dropped 100 products before pushing, skipped 4 cross-keyword duplicates and pushed 4 rows.
- **No filler from unmatched keywords.** Trendyol answers any phrase with products: `qzxvbnmplkj wqzzx` returned 36 unrelated products under a "multilingual" guess on 2026-11-18. `strictQueryMatch` recognises Trendyol's own fallback signal and returns nothing for such a search instead of charging you for filler.
- **One row per product across searches.** Several keywords or URLs in one run return a product once (`dedupeAcrossSearches`); sponsored products that Trendyol repeats on later pages are returned once per search, flagged `isSponsored`.
- **Paste any listing URL.** A category or search page from your browser (`trendyol.com/kulaklik-x-c92?sst=BEST_SELLER&wb=...`) keeps every filter and sort you clicked.

### What you get

Sample rows from the smoke run of 2026-11-18 (prefilled `kulaklık`, page 1):

| `position` | `name` | `price` | `originalPrice` | `discountPercent` | `rating` (`ratingCount`) | `sellerName` | `freeCargo` | `isSponsored` |
|---|---|---|---|---|---|---|---|---|
| 1 | Air Pro 2 Anc Gürültü Engelleyici Bluetooth Kulaklık | 878.75 TRY | 925 | 5 | 4.36 (14946) | Technoverse | true | true |
| 2 | Beyaz 1. Nesil Pro A Kalite Uyumlu Bluetooth 5.0 Kulaklık | 569.9 TRY | 649.9 | 12 | 3.96 (5713) | Ocado | true | true |
| 8 | Redmi Buds 6 Play Siyah Kulakiçi Kulaklık | 739 TRY |  |  | 4.34 (22276) | Trendyol | false | false |
| 14 | Bluetooth Kulaklık I12 Ios Android Popup Bağlantılı | 335.86 TRY | 399 | 16 | 3.03 (2879) | SULED TÜRKİYE | false | false |
| 19 | soundcore Liberty 5 Pro Max, Adaptif ANC | 15999 TRY | 16999 | 6 | 4.8 (10) | Anker | true | true |

One full row:

```json
{
  "id": "119607851",
  "url": "https://www.trendyol.com/teknoloji-gelsin/bluetooth-kulaklik-kablosuz-kulakustu-isikli-katlanabilir-mikrofonlu-fm-aux-sd-siyah-p-119607851",
  "scrapedAt": "2026-11-18T16:56:20.547410Z",
  "productId": "119607851",
  "query": "kulaklık",
  "searchUrl": "https://www.trendyol.com/sr?q=kulakl%C4%B1k",
  "searchId": "96ac192943",
  "position": 11,
  "page": 1,
  "isSponsored": false,
  "name": "Bluetooth Kulaklık Kablosuz Kulaküstü Işıklı Katlanabilir Mikrofonlu Fm-aux-sd Siyah",
  "brand": "Teknoloji Gelsin",
  "brandId": 994146,
  "categoryName": "Kulak üstü Bluetooth Kulaklık",
  "categoryId": 5195,
  "price": 387.6,
  "originalPrice": 408,
  "originalPriceType": "sellingPrice",
  "discountPercent": 5,
  "currency": "TRY",
  "rating": 4.12,
  "ratingCount": 11697,
  "favoritesLabel": "98K",
  "favorites": 98000,
  "ordersLabel": "400+",
  "orders": 400,
  "bestSellerRank": 1,
  "freeCargo": true,
  "fastDelivery": true,
  "nextDayDelivery": true,
  "sameDayShipping": false,
  "fastSeller": true,
  "hasCoupon": false,
  "badges": [
    "FREE_CARGO",
    "FAST_SELLER"
  ],
  "promotions": [
    "300 TL'ye %5 İndirim"
  ],
  "merchantId": 117925,
  "sellerName": "Teknoloji Gelsin",
  "sellerScore": 9.2,
  "imageUrl": "https://cdn.dsmcdn.com/ty1621/prod/QC/20250108/17/2870c207-92a1-3f65-8549-95a9689ab558/1_org_zoom.jpg",
  "imageCount": 8,
  "color": "SİYAH"
}
```

`price` is what the card shows, after a basket promotion. `originalPrice` is the struck-through price: `originalPriceType: "sellingPrice"` is the seller's price before that promotion, `"recentPrice"` is Trendyol's earlier lowest recent price. `favorites` and `orders` are Trendyol's rounded labels as numbers (`"800+"` gives 800, a floor). `position` counts every card in the order shown, sponsored ones included.

### Input

| Field | Meaning | Default |
|---|---|---|
| `keywords` | Search terms, one per line | `kulaklık` (prefill) |
| `searchUrls` | Pasted `trendyol.com/sr?…` or category `trendyol.com/<name>-x-c<id>` URLs; filters and sort in the URL are kept | empty |
| `sort` | `relevance`, `price-asc`, `price-desc`, `newest`, `best-seller`, `most-favourite`, `most-rated` | `relevance` |
| `minPrice`, `maxPrice` | Price range in TRY (Trendyol's own filter, also checked per row) | empty |
| `maxPages` | Pages per search, 1-100 (36 products each) | `1` |
| `includeSellerNames` | Add the seller's store name and score (one lookup per seller per run) | `true` |
| `minRating`, `minRatingCount`, `minDiscountPercent` | Row filters | empty |
| `freeCargoOnly`, `fastDeliveryOnly` | Row filters | `false` |
| `includeSponsored` | Keep sponsored products, flagged | `true` |
| `strictQueryMatch` | Return nothing when Trendyol could not match the keyword | `true` |
| `dedupeAcrossSearches` | One row per product across keywords and URLs | `true` |
| `priceAlert`, `minPriceChangePercent` | Monitor: any change or drops only, minimum change in percent | `any`, `0` |
| `maxItems` | Stop after this many rows | `100` |
| `mode` | `scrape`, or `monitor` for new and changed products only | `scrape` |
| `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor state key and alert targets | empty |

**Monitor mode** keys each row on the search (keyword or URL, sort, filters and depth) + product id and compares `price`. The first run of a search records it and returns nothing (a baseline). Later runs return newly listed products (`changeType: "new"`) and known products whose price changed (`changeType: "changed"`, with `previous`). "New" means listed on Trendyol recently: Trendyol product ids grow with listing time, each monitor run reads one busy newest-first page as a reference for how new the newest products are, and an unseen product more than 250,000 ids (under an hour of listings at peak) below the newest id seen at the previous run is recorded silently, not charged (`watch.unseenOld` in `RUN_SUMMARY`). The flip side: a product created earlier but published only now is not reported. Because Trendyol reshuffles its pages between loads, every monitor pass also reads one page past `maxPages` only to remember what sits there; a product that later moves up from it is already known. That extra page is never pushed or charged, but it is one more page of proxy traffic per search. On relevance sort, "new" means a product listed since about the previous run that is on your pages now; a product listed earlier that only moves into your pages is not reported. For a new-listings alert use `sort: newest`. With `priceAlert: "drops"` price rises are not reported at all. The last reported price stays the reference, so a product that rises and then falls is reported only when it drops below that price (by at least `minPriceChangePercent`). Changing `maxPages`, the sort or a filter starts a new baseline (changing `priceAlert` or `minPriceChangePercent` does not). Seller names are looked up only for rows that may be pushed. If a monitor run dies without releasing its lease, the next runs of the same state end as `overlapping_run` until that run's timeout; wait or use a new `monitorStateId`.

### Pricing

| Event | Price |
|---|---|
| result | $0.001 per product ($1.00 per 1,000; Silver $0.0009, Gold and above $0.0008) |
| monitor-check | $0.005 per monitor run |
| change | $0.001 per new or changed product |

You are charged only for rows actually pushed. A blocked run pushes nothing and charges nothing for results.

The actor reads Trendyol through Apify residential proxies in Turkey, because Cloudflare blocks datacenter traffic. That proxy traffic is platform usage billed to your account at Apify's rate: about $0.0008 per listing page of 36 products and about $0.0005 per seller-profile lookup (turn `includeSellerNames` off to skip those).

**Found it useful?** A quick review on the Store page helps other buyers find this actor and tells us what to improve. Spot a wrong price or field? Open an issue on the actor page.

### Limits

- trendyol.com (Turkey) only, prices in TRY. Trendyol's international storefronts are not offered.
- Listing data only: no description, attributes table, stock, variants, reviews or Q\&A. Product pages are never opened.
- Seller store pages and product pages are not accepted as input, only search and category listings.
- Trendyol serves at most 100 pages of a listing and reports totals above 100,000 as 100,000.
- `strictQueryMatch` relies on Trendyol's own "no match" signal; a keyword that Trendyol matches loosely still returns what Trendyol shows.
- When Trendyol answers with a bot challenge, the page is retried on fresh residential sessions three times, then the search is given up and, if nothing was read, the run is reported as blocked (`emptyReason: blocked` in `RUN_SUMMARY`) instead of an empty dataset as if nothing matched.

### What is NOT collected

Rows describe products and the merchant that sells them. The merchant appears only by its store name, which is its public trading name on Trendyol; for a sole trader that name can include the owner's name. The merchant's registered legal (official) name, tax number, address and contact details are never read. No reviews, reviewer or buyer data are collected. Titles are scrubbed of phone numbers and e-mails.

### FAQ

**Why do two keywords give fewer rows than the sum?** `dedupeAcrossSearches` returns a product once per run. Turn it off to get one row per keyword.

**Why did a keyword return nothing?** Check `SEARCH_SUMMARY` in the run's key-value store: `fallbackSearches` counts keywords Trendyol could not match, `filteredOut` the products your row filters dropped. `RUN_SUMMARY` has `emptyReason`.

**Why is `sellerName` empty on some rows?** The seller lookup failed or was skipped (`includeSellerNames` off, or after repeated blocks). `merchantId` is always filled.

### Related actors

- [Amazon Search Scraper](https://apify.com/datahamster/amazon-search-scraper): the same keyword search with organic rank on Amazon marketplaces.
- [AliExpress Scraper](https://apify.com/datahamster/aliexpress-scraper): product search on AliExpress.
- [1688 Scraper](https://apify.com/datahamster/1688-scraper): wholesale products and price tiers from 1688.com.
- [Flipkart Products](https://apify.com/datahamster/flipkart-products): product search on Flipkart.

### Changelog

- 0.1: initial release: keyword and URL search on trendyol.com, seven sort orders, row filters on rating, discount, free shipping and fast delivery, seller store names, cross-keyword dedupe, monitor mode with new-product and price-drop alerts.

# Actor input Schema

## `keywords` (type: `array`):

Search terms, one per line, e.g. "kulaklık" or "airpods pro". Each keyword is one Trendyol search on trendyol.com (Turkey).

## `searchUrls` (type: `array`):

Optional. Paste search or category pages from your browser (trendyol.com/sr?q=… or trendyol.com/kulaklik-x-c92?…) to keep every filter and sort you clicked there. Product and store pages are not accepted.

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

Trendyol's own sort order for keyword searches. Pasted URLs keep their own sort.

## `minPrice` (type: `number`):

Optional lower price bound in Turkish lira, passed to Trendyol's price filter and checked on every row.

## `maxPrice` (type: `number`):

Optional upper price bound in Turkish lira, passed to Trendyol's price filter and checked on every row.

## `maxPages` (type: `integer`):

How many result pages to read per search. Trendyol shows 36 products per page and no more than 100 pages.

## `includeSellerNames` (type: `boolean`):

On: each row gets the seller's store name and Trendyol seller score (one extra request per seller, cached for the run). Off: only the merchant id, a little faster and cheaper.

## `minRating` (type: `number`):

Optional. Keep only products rated at least this (0-5). Products without a rating are dropped when set.

## `minRatingCount` (type: `integer`):

Optional. Keep only products with at least this many ratings.

## `minDiscountPercent` (type: `integer`):

Optional. Keep only products whose card shows a struck-through price at least this many percent above the current price.

## `freeCargoOnly` (type: `boolean`):

Keep only products with free shipping.

## `fastDeliveryOnly` (type: `boolean`):

Keep only products Trendyol flags for fast (rush) delivery.

## `includeSponsored` (type: `boolean`):

On: sponsored products Trendyol mixes into the results are kept, flagged isSponsored. Off: they are dropped (their slots still count toward position).

## `strictQueryMatch` (type: `boolean`):

On: when Trendyol cannot match a keyword and shows other products instead (a did-you-mean or translated guess), the search returns nothing. Off: you get whatever Trendyol shows.

## `dedupeAcrossSearches` (type: `boolean`):

On: a product found by two keywords or URLs of the same run is returned once, under the first one. Ignored in monitor mode.

## `priceAlert` (type: `string`):

Monitor mode: report every price change, or only drops below the last reported price.

## `minPriceChangePercent` (type: `number`):

Monitor mode: report a price change only when it is at least this many percent away from the last reported price. 0 = any change.

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

Stop after this many results (you are charged only for pushed items)

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "keywords": [
    "kulaklık"
  ],
  "sort": "relevance",
  "maxPages": 1,
  "includeSellerNames": true,
  "freeCargoOnly": false,
  "fastDeliveryOnly": false,
  "includeSponsored": true,
  "strictQueryMatch": true,
  "dedupeAcrossSearches": true,
  "priceAlert": "any",
  "minPriceChangePercent": 0,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

## `results` (type: `string`):

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

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

RUN_SUMMARY record

# 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 = {
    "keywords": [
        "kulaklık"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/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 = {
    "keywords": ["kulaklık"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/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 '{
  "keywords": [
    "kulaklık"
  ],
  "maxItems": 20
}' |
apify call datahamster/trendyol-scraper --silent --output-dataset

```

## MCP server setup

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