# Akakçe Scraper - Turkish Price Comparison & Seller Prices (`justfeel/akakce-scraper`) Actor

Scrape Akakçe, Turkey's price comparison site: product name, brand, lowest and highest price in TRY, seller count, image and, optionally, each shop's price, shipping and stock. Search terms, category or product URLs. Plain HTTP, robots.txt respected. Pay per product.

- **URL**: https://apify.com/justfeel/akakce-scraper.md
- **Developed by:** [Yusuf](https://apify.com/justfeel) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.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

## Akakçe Scraper - Turkish Price Comparison & Seller Prices

Scrape [Akakçe](https://www.akakce.com), Turkey's largest price comparison site. Give it search terms or Akakçe category / product URLs and get one clean record per product: name, brand, lowest and highest price in Turkish lira, number of sellers, image and link. Turn on **Include seller prices** to add each shop's offer: shop name, price, shipping cost, stock and delivery time.

Typical uses: price monitoring of your own or competitor products in Turkey, market research on a category, finding the cheapest shop for a product list, tracking how many sellers carry a product.

### What you get

| Field | Example | Notes |
|---|---|---|
| `productId` | `282674944` | Akakçe product ID (each product appears once per run) |
| `name` | `iPhone 15 128 GB Mavi` | |
| `brand` | `Apple` | empty when Akakçe lists none |
| `lowestPrice` | `56499.0` | number, Turkish lira (`56.499,00 TL` on the site) |
| `highestPrice` | `166798.0` | only with seller prices (from the product page) |
| `currency` | `TRY` | |
| `sellerCount` | `57` | number of offers Akakçe compares for the product |
| `url` | `https://www.akakce.com/cep-telefonu/en-ucuz-iphone-15-128-gb-mavi-fiyati,282674944.html` | empty for the few listings that have no Akakçe product page |
| `imageUrl` | `https://cdn.akakce.com/x/apple/iphone-15-128-gb-mavi.jpg` | |
| `category` | `Elektronik > Telefon Ürünleri ve Aksesuarları > Cep Telefonu > iPhone` | only with seller prices, not given for every product |
| `specs` | `{"Dahili Hafıza": "128 GB", "RAM Kapasitesi": "6 GB"}` | only with seller prices |
| `offers` | see below | only with seller prices |
| `offersScraped` | `true` | whether `offers` was read from the product page |
| `searchTerm` | `iphone 15` | the search that found the product |
| `sourceUrl` | `https://www.akakce.com/arama/?q=iphone%2015` | the page the product was found on |
| `scrapedAt` | `2026-11-20T09:30:00Z` | |

Every record has the same columns, so CSV and Excel exports line up.

One entry of `offers`:

```json
{
  "store": "Hepsiburada",
  "merchant": "MISRA İLETİŞİM",
  "price": 57968.0,
  "shippingCost": 0.0,
  "inStock": true,
  "stock": "Stokta 10 adet",
  "delivery": "1 iş günü",
  "storeRating": null,
  "offerTitle": "Apple iPhone 15 128 GB Mavi",
  "offerUrl": "https://www.hepsiburada.com/..."
}
```

`store` is the shop or marketplace, `merchant` the seller on that marketplace (empty when the shop sells directly). `shippingCost` is `0` for free shipping and `null` when the page does not say. `storeRating` is the shop's overall score on Akakçe (0-10), when shown. `offerUrl` is filled for the offers Akakçe publishes a shop link for (up to about 10 per product).

### Input

```json
{
  "searchTerms": ["iphone 15"],
  "startUrls": ["https://www.akakce.com/cep-telefonu.html"],
  "maxItems": 20,
  "maxPagesPerQuery": 10,
  "includeSellers": false
}
```

- **searchTerms**: words to search on Akakçe. A search for a category name ("çaydanlık") may be answered with that category's list.
- **startUrls**: Akakçe search, category, brand (`/cep-telefonu/apple.html`) or product pages. A product URL always comes with its seller list.
- **maxItems**: total number of products to return (default 20).
- **maxPagesPerQuery**: result pages to read per search term or URL (up to 32 products each).
- **includeSellers**: open each product page for the seller list. One extra request per product, so the run is slower.

### Pricing

**$3.00 per 1,000 products**, charged as one `product` event per product in the dataset. You pay only for products delivered: the same product is never written or charged twice in a run (also when the run is restarted or migrated), and a product whose page could not be read in seller mode is left out and not charged. If you set a maximum charge for the run, the Actor stops when it is reached. Seller prices cost the same per product.

Products without a price are not delivered: a product shown without a price is left out (not written, not charged; the count is in the log and the run's status message). If most products on a full result page (8 or more products) show no price, the site's layout has probably changed: nothing from that page is written or charged. If nothing was delivered yet, the run stops with an error; otherwise that search term / URL stops there (reported as incomplete) and the others go on. If no product with a price is found at all, the run ends as failed.

### Respecting Akakçe's robots.txt

The Actor follows the rules Akakçe publishes for all crawlers in its [robots.txt](https://www.akakce.com/robots.txt) (rules recorded on 2026-11-20 and kept in the code, `src/robots.py`). Every URL is checked before it is requested, including redirects. What this means for you:

- Search, category, brand and product pages are read, with the site's own pagination (`&p=2`, `,2.html`).
- **Filtered and sorted lists are not read.** URLs with sort/filter parameters (e.g. `?s=`, `?f=`, `?c=`, `?sayfa=`), review pages (`/yorum`), shop pages (`/magaza/...,...html`) and click-out links (`/c/`, `/click/`) are disallowed. Such start URLs are skipped with a message in the log; filter in your own data instead.
- A search term ending in "tl" (e.g. "kulaklık 500 tl" or "500 TL") makes a URL that robots.txt disallows; it is skipped.
- The check is cautious: a URL is refused if its path as actually sent, its decoded form or its lower-case form is disallowed, and URLs with ambiguous paths (`..`, `//`, encoded slashes) are refused outright.
- **At most the first 16 offers per product.** Akakçe shows the remaining offers only through a JavaScript call that this Actor does not make; `sellerCount` still tells you how many offers there are.

The Actor uses plain HTTP requests, one at a time with a pause between them, and says who it is: its User-Agent is `akakce-scraper/1.0 (Apify Actor; +https://apify.com)`, not a browser's. It does not run the site's JavaScript, does not log in, and does not try to get past bot checks: if Akakçe answers with a CAPTCHA or challenge page (whatever the HTTP status), or keeps answering "too many requests", the run stops instead of pressing on. If that happens after some products were delivered, the run ends as **failed** with a message saying how many products were written (and charged) before the stop and which search terms / URLs were not started; the products already written stay in the dataset.

### Personal data

The Actor collects product, price and shop data only. It does not read user reviews, reviewer names or user profiles (review pages are also disallowed by robots.txt). The `store` and `merchant` fields contain the shop names shown on Akakçe; some marketplace sellers trade under a person's name, so treat these fields with the care your local data protection rules ask for.

### Limits

- Prices and stock are what Akakçe shows at the moment of the run; Akakçe itself updates them from the shops.
- Akakçe lists 32 products per result page; how many pages a search has depends on the search. `maxPagesPerQuery` caps it (at most 100).
- `highestPrice`, `category`, `specs` and `offers` need **Include seller prices**.
- Behaviour from data-center IP addresses was not tested beyond the development runs; if Akakçe starts blocking, the run stops and says so.
- Each batch of products is saved, then charged as `product` events, the same steps (and the same maximum-charge rule) as the SDK's `Actor.push_data`. If the run is killed in the instant between saving and charging, or charging fails, those products stay in the dataset without being charged and are never written or charged again (also after a restart); a failed charge stops the run as failed. If saving to the dataset fails, those products are not counted as delivered; when it fails for two search terms / URLs in a row, the run stops as failed.

# Actor input Schema

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

Words to search on Akakçe, e.g. "iphone 15" or "çaydanlık". Each term is searched separately. A search for a category name may be answered with that category's list.

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

Akakçe search, category, brand or product pages, e.g. https://www.akakce.com/cep-telefonu.html or https://www.akakce.com/cep-telefonu/en-ucuz-iphone-15-128-gb-mavi-fiyati,282674944.html. A product URL always returns its seller list. URLs that Akakçe's robots.txt asks crawlers not to fetch (filtered or sorted lists, review pages, shop pages, click-out links) are skipped and logged.

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

Stop after this many products in total (each product is written and billed once).

## `maxPagesPerQuery` (type: `integer`):

How many result pages (up to 32 products each) to read for each search term or category URL.

## `includeSellers` (type: `boolean`):

Open each product's page and add its seller list: shop, price, shipping cost, stock and delivery time. One extra request per product, so the run is slower. Products whose page cannot be read are left out (and not billed).

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

Proxy for the requests to Akakçe.

## Actor input object example

```json
{
  "searchTerms": [
    "iphone 15"
  ],
  "maxItems": 20,
  "maxPagesPerQuery": 10,
  "includeSellers": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All products from this run (default dataset).

# 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 = {
    "searchTerms": [
        "iphone 15"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("justfeel/akakce-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 = {
    "searchTerms": ["iphone 15"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("justfeel/akakce-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 '{
  "searchTerms": [
    "iphone 15"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call justfeel/akakce-scraper --silent --output-dataset

```

## MCP server setup

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