# Kaspi Listings Scraper (`piotrv1001/kaspi-listings-scraper`) Actor

The Kaspi.kz Product Scraper extracts product listings from Kazakhstan's largest marketplace by keyword, category, or URL, capturing prices, ratings, stock, images, full specs, per-seller offers with delivery options, and customer reviews — ideal for price monitoring, repricing, and market research.

- **URL**: https://apify.com/piotrv1001/kaspi-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product listings

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 🇰🇿 Kaspi.kz Product Scraper

Easily extract product data from [Kaspi.kz](https://kaspi.kz/shop) — Kazakhstan's largest e-commerce marketplace with millions of products across electronics, fashion, home goods, and more. The **Kaspi.kz Product Scraper** lets you collect structured product data for price monitoring, market research, and competitor analysis, with optional deep data: full specifications, per-seller offers, and customer reviews.

### ✨ Features

- 🔍 **Search & category scraping** — enter keywords (e.g. `iphone`) or paste Kaspi.kz category/search/product URLs.
- 🏷️ **Rich listing data** — title, brand, price (KZT), bonus-adjusted price, monthly installment, rating, review count, stock status, images, and category breadcrumb.
- 📋 **Product details** _(optional)_ — full grouped specifications, description, and gallery images from each product page.
- 💰 **Seller offers** _(optional)_ — the complete price ladder for each product: every marketplace seller with their price, rating, and delivery options. Perfect for price monitoring and repricing.
- ⭐ **Customer reviews** _(optional)_ — up to 100 most popular reviews per product with pros/cons and the full rating histogram.
- 🏙️ **City-aware** — prices and stock on Kaspi.kz vary by city; choose Almaty, Astana, Shymkent, and more.
- ⚡ **Fast & efficient** — listing-only runs scrape hundreds of products per minute.

### 🛠️ How It Works

1. **Enter search queries** — e.g. `iphone`, `холодильник`, or any keyword, and/or paste Kaspi.kz category, search, or product URLs.
2. **Pick optional data** — toggle product details, seller offers, or reviews if you need deeper data (each adds a small per-product cost).
3. **Run the scraper** — get structured JSON results in minutes. Download as JSON, CSV, Excel, or HTML, or fetch via API.

### 📊 Sample Output Data

```json
[
    {
        "id": "145467625",
        "url": "https://kaspi.kz/shop/p/apple-iphone-17-pro-256gb-nanosim-esim-oranzhevyi-145467625/?c=750000000",
        "title": "Apple iPhone 17 Pro 256Gb NanoSIM+eSIM оранжевый",
        "image": "https://resources.cdn-kaspi.kz/img/m/p/p18/p96/64168413.png?format=preview-large",
        "brand": "Apple",
        "price": 754857,
        "priceFormatted": "754 857 ₸",
        "priceWithBonus": 732212,
        "monthlyInstallment": "31 453 ₸",
        "currency": "KZT",
        "rating": 4.9,
        "reviewsCount": 1529,
        "inStock": true,
        "category": ["Телефоны и гаджеты", "Смартфоны"],
        "images": ["https://resources.cdn-kaspi.kz/img/m/p/p18/p96/64168413.png?format=preview-large"],
        "city": "750000000",
        "offersCount": 58,
        "offers": [
            {
                "merchantId": "9439002",
                "merchantName": "SMART_STORE",
                "merchantRating": 4.9,
                "merchantReviewsCount": 18,
                "price": 754857,
                "kaspiDelivery": true,
                "deliveryOptions": { "TO_DOOR": { "deliveryCost": 995.0 } }
            }
        ],
        "reviews": [
            {
                "author": "Ануар",
                "date": "10.10.2025",
                "rating": 5,
                "text": "Отличный телефон, быстрая доставка."
            }
        ],
        "reviewsSummary": {
            "global": 4.9,
            "statistic": [{ "rate": 5, "count": 2833 }]
        }
    }
]
````

### 📋 Data Fields

| Field                           | Description                                                               |
| ------------------------------- | ------------------------------------------------------------------------- |
| `id`                            | Kaspi.kz product ID                                                       |
| `url`                           | Product page URL                                                          |
| `title`, `brand`                | Product name and brand                                                    |
| `price`                         | Current price in KZT (integer)                                            |
| `priceWithBonus`                | Price after Kaspi bonus deduction                                         |
| `monthlyInstallment`            | Monthly installment amount                                                |
| `rating`, `reviewsCount`        | Average rating and number of reviews                                      |
| `inStock`                       | Stock availability                                                        |
| `category`                      | Category breadcrumb                                                       |
| `images`                        | Product image URLs                                                        |
| `description`, `specifications` | Full description and grouped spec table *(with product details enabled)*  |
| `offers`, `offersCount`         | All seller offers with prices and delivery *(with seller offers enabled)* |
| `reviews`, `reviewsSummary`     | Customer reviews and rating histogram *(with reviews enabled)*            |

### 💰 How much does it cost to scrape Kaspi.kz?

You only pay for what you extract:

| Event                | Price      | What you get                                      |
| -------------------- | ---------- | ------------------------------------------------- |
| Product listing item | **$0.001** | One product from search/category results          |
| Product detail       | **$0.003** | Full specs, description & gallery for one product |
| Seller offers        | **$0.002** | All seller offers for one product                 |
| Product reviews      | **$0.002** | Up to 100 reviews for one product                 |

**Examples:** 1,000 products from search results ≈ **$1.00**. 100 products with full details, all seller offers, and reviews ≈ **$0.80**.

### 💡 Tips

- Keep the optional toggles **off** for the cheapest and fastest runs — listing data already includes prices, ratings, and images.
- Enable **seller offers** for price monitoring — it returns every seller's price for each product, so you can track the buy-box and undercut competitors.
- Use the **city** setting to compare prices across Kazakhstan's regions — run the scraper once per city.
- Use **Max items** to control run size and cost precisely.
- Schedule the scraper on Apify to track prices daily and feed the data into your own tools via the API.

### ❓ FAQ

**Is it legal to scrape Kaspi.kz?**
This scraper collects only publicly available product data. It does not collect personal data beyond public review author names. Always review the target website's terms of service and consult a lawyer for your specific use case.

**Which cities are supported?**
Almaty (default), Astana, Shymkent, Karaganda, Aktobe, and Ust-Kamenogorsk. Prices, stock, and delivery options are city-specific.

**Can I scrape an entire category?**
Yes — paste a category URL (e.g. `https://kaspi.kz/shop/c/smartphones/`) and set Max items. The scraper automatically partitions large categories to retrieve products beyond the site's pagination limits.

**Something not working?**
Open an issue in the **Issues** tab of the Actor — we respond quickly and also build custom solutions on request.

Start tracking Kazakhstan's biggest marketplace with the **Kaspi.kz Product Scraper** today! 🚀

# Actor input Schema

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

Keywords to search for on Kaspi.kz, e.g. `iphone` or `холодильник`. Each query returns matching products with prices, ratings, and images.

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

Kaspi.kz URLs to scrape — category pages (`https://kaspi.kz/shop/c/smartphones/`), search pages, or direct product pages (`https://kaspi.kz/shop/p/...`).

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

Maximum number of products to scrape across all queries and URLs.

## `scrapeProductDetails` (type: `boolean`):

Visit each product page to extract full specifications, description, and gallery images. Slower and costs more per item.

## `scrapeOffers` (type: `boolean`):

Collect all marketplace seller offers for each product — per-seller prices, seller ratings, and delivery options. Great for price monitoring.

## `scrapeReviews` (type: `boolean`):

Collect up to 100 most popular customer reviews per product, including the rating histogram.

## `city` (type: `string`):

Kaspi.kz city — prices, stock, and delivery options vary by city.

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

Proxy settings. Keep residential proxies enabled — the target site rate-limits datacenter IPs, so other proxy types will likely get blocked.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone"
  ],
  "maxItems": 50,
  "scrapeProductDetails": false,
  "scrapeOffers": false,
  "scrapeReviews": false,
  "city": "750000000",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (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": [
        "iphone"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/kaspi-listings-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": ["iphone"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/kaspi-listings-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 '{
  "searchQueries": [
    "iphone"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call piotrv1001/kaspi-listings-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Kaspi Listings Scraper",
        "description": "The Kaspi.kz Product Scraper extracts product listings from Kazakhstan's largest marketplace by keyword, category, or URL, capturing prices, ratings, stock, images, full specs, per-seller offers with delivery options, and customer reviews — ideal for price monitoring, repricing, and market research.",
        "version": "0.0",
        "x-build-id": "5ZrbXIJb0Fci3Tgf5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~kaspi-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-kaspi-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~kaspi-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-kaspi-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~kaspi-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-kaspi-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Keywords to search for on Kaspi.kz, e.g. `iphone` or `холодильник`. Each query returns matching products with prices, ratings, and images.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Kaspi.kz URLs to scrape — category pages (`https://kaspi.kz/shop/c/smartphones/`), search pages, or direct product pages (`https://kaspi.kz/shop/p/...`).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of products to scrape across all queries and URLs.",
                        "default": 50
                    },
                    "scrapeProductDetails": {
                        "title": "Scrape product details",
                        "type": "boolean",
                        "description": "Visit each product page to extract full specifications, description, and gallery images. Slower and costs more per item.",
                        "default": false
                    },
                    "scrapeOffers": {
                        "title": "Scrape seller offers",
                        "type": "boolean",
                        "description": "Collect all marketplace seller offers for each product — per-seller prices, seller ratings, and delivery options. Great for price monitoring.",
                        "default": false
                    },
                    "scrapeReviews": {
                        "title": "Scrape reviews",
                        "type": "boolean",
                        "description": "Collect up to 100 most popular customer reviews per product, including the rating histogram.",
                        "default": false
                    },
                    "city": {
                        "title": "City",
                        "enum": [
                            "750000000",
                            "710000000",
                            "590000000",
                            "351010000",
                            "151010000",
                            "471010000"
                        ],
                        "type": "string",
                        "description": "Kaspi.kz city — prices, stock, and delivery options vary by city.",
                        "default": "750000000"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings. Keep residential proxies enabled — the target site rate-limits datacenter IPs, so other proxy types will likely get blocked.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
