# Kaspi.kz Scraper - Products, Prices, Sellers & Reviews (`abotapi/kaspi-kz-scraper`) Actor

Scrape Kaspi.kz marketplace products by keyword or URL. Extract product listings, seller offers, prices, delivery options, bonus rewards, instalment pricing, ratings and customer reviews. Supports search and product links for price comparison and market research.

- **URL**: https://apify.com/abotapi/kaspi-kz-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 product results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Kaspi.kz Scraper: Products, Offers, Prices & Reviews

Kaspi.kz Scraper turns kaspi.kz, Kazakhstan's largest online marketplace, into structured product data. Search by keyword, or paste a search, category or product link, and get prices, bonus and instalment pricing, every seller's offer with its own price and delivery time, ratings and customer reviews. Export to JSON, CSV or Excel, or pull results straight into your app through the API.

### Why This Scraper?

- **Every seller offer, not just one price.** Each product carries its full offer list (every merchant, price, rating, delivery), plus the best price and the merchant behind it.
- **Kazakhstan's own pricing shapes.** Bonus amount, price minus bonus, monthly instalment amount and the interest-free instalment period, exactly as kaspi.kz prices them.
- **Ratings in depth.** Average rating, review totals, the rating histogram, how many reviews carry photos, and the most popular written reviews.
- **Two ways in.** Keyword search with price and rating filters, or paste a search page or a single product link.
- **Delivery detail.** Delivery duration label and whether an offer ships through Kaspi Delivery.
- **Monitoring built in.** Label every product NEW, UPDATED, REAPPEARED or EXPIRED across scheduled runs, track price and offers only, resume an interrupted crawl, get a chat alert when a run finishes, and export through MCP connectors.

### Use Cases

- **Price and offer monitoring:** track a product's price, bonus and the full offer list, and get alerted only to what actually changed.
- **Merchant research:** see every seller competing on a product, their price and their rating.
- **Catalog and review research:** pull a keyword's results with ratings and review counts to study demand and sentiment.
- **Instalment and bonus tracking:** follow monthly instalment pricing and bonus amounts across a product range.

### Data You Get

> Sample shape: values are illustrative placeholders, not from a live record.

| Field | Example |
| --- | --- |
| `productId` / `id` | `"0000000000"` (kaspi.kz's own product number) |
| `title` / `name` | `"Sample Brand Phone X 128GB Black"` |
| `brand` / `isBrandOfficialPartner` / `brandOfficialPartner` | `"Sample Brand"` / `true` / `true` |
| `category` / `categoryCode` / `categoryId` | `"Smartphones"` / `"Smartphones"` / `"00003"` |
| `breadcrumbs` / `categoryPath` / `parentCategory` / `parentCategoryCode` | the full category trail by name / by code / its direct parent's name / code |
| `price` / `salePrice` / `originalPrice` / `priceFormatted` / `currency` | `413135` / `413135` / `null` / `"413 135 ₸"` / `"KZT"` |
| `priceMinusBonus` / `priceWithBonus` / `bonusAmount` / `bonusKzt` | `400741` / `400741` / `12394` / `12394` |
| `creditMonthlyPrice` / `monthlyInstallmentAmount` / `installmentMonths` / `loanAvailable` | `17214` / `17214` / `24` / `true` |
| `inStock` / `stockCount` / `deliveryDuration` / `city` / `cityId` / `cityName` | `true` / `3` / `"EXPRESS"` / `"Almaty"` / `"750000000"` / `"Almaty"` |
| `images` / `galleryImages` / `image` / `galleryCount` | full image list / each image's small, medium and large size / the first image / how many images |
| `hasVariants` / `unit` / `stickers` | `false` / `{"type": "PIECES", "measurementLiteral": "шт"}` / promo badges shown on the card, when any |
| `rating` / `avgRating` / `reviewsQuantity` / `reviewsCount` / `reviewsTotal` / `reviewsNegative` / `reviewsPositive` / `reviewsWithComments` / `reviewsWithPhotos` | `4.9` / `4.9` / `17045` / `29` / `29` / `0` / `28` / `6` / `0` |
| `ratingDistribution` / `reviewsSummary` | `[{"rate": 5, "count": 28}, ...]` / the average plus the same histogram |
| `reviews` / `latestReviews` | the most popular written reviews, each with author, rating, text and date / the newest 5 of those |
| `offers` / `offersCount` / `offersCollected` / `offersComplete` / `sellersCount` | every seller offer with merchant, price and delivery / `11` / `11` / `true` / `9` |
| `minOfferPrice` / `maxOfferPrice` / `bestMerchantId` / `sellerId` / `storeUrl` | `413135` / `431000` / the best-priced seller's id / the same / the seller's storefront page |
| `url` / `platform` / `query` / `searchTotal` / `productCount` / `position` / `rank` | the product page / `"kaspi.kz"` / which keyword found the row, the search's total result count, the same count, its result position, the same |
| `createdAt` / `createdTime` / `scrapedAt` / `fetchedAt` | when the listing was created / the same / when the row was read / the same |
| `changeType` / `changedFields` / `firstSeenAt` / `lastChangedAt` / `listedAt` | incremental mode only: `"NEW"`, `"UPDATED"`, `"UNCHANGED"`, `"REAPPEARED"` or `"EXPIRED"`, the fields that changed, when the product was first and last seen, and the same as `firstSeenAt` (kaspi.kz publishes no listing date of its own); `priceChanges` / `variantChanges` (priceAndStock scope only) carry the old/new value of each price or offer field that moved |

Products that are out of stock are not listed by the marketplace, so rows carry `inStock: true`. A description, specifications, the merchant's tax id and a per-run quantity cap are not published by kaspi.kz on any route this actor reads, so those fields are always empty. Offers and reviews come from each product's own detail read: on keyword and URL-mode search runs they need **Fetch seller offers and reviews**; rows from pasted product links always carry them.

**Seller profiles.** With **Discover sellers** on, each unique seller found in the offers is additionally pushed as its own row (`recordType: "merchant"`) with the seller's public profile facts:

| Field | Example |
| --- | --- |
| `recordType` / `merchantId` / `merchantName` | `"merchant"` / `"234005"` / `"ALPHA"` |
| `phone` / `joinedAt` | `"+7 (700) 978-00-55"` / `"2021-03-18T22:00:36.794"` (on Kaspi since) |
| `rating` / `ratingZonePercentage` / `reviewsCount` / `salesCountRounded` | `4.9` / `91.7` / `1133` / `20000` (90-day window, rounded sales) |
| `tier` / `shopInShop` | `"TOP"`, `"PERFECT"`, `"STANDARD"` ... / `"AVAILABLE"` |
| `cancelledPercentage` / `returnedPercentage` / `lateDeliveryPercentage` | `0.79` / `0.07` / `0.04` |
| `legalAddress` / `logoUrl` / `profileUrl` / `profileStatus` | legal address / logo / profile page / `"ok"` |

> Sample shape: values are illustrative placeholders, not from a live record.

**Merchant profile row:**

```json
{
  "recordType": "merchant",
  "merchantId": "234005",
  "merchantName": "Sample Shop",
  "phone": "+7 (700) 000-00-00",
  "joinedAt": "2021-03-18T22:00:36.794",
  "rating": 4.9,
  "ratingZonePercentage": 91.7,
  "reviewsCount": 1133,
  "salesCountRounded": 20000,
  "tier": "TOP",
  "cancelledPercentage": 0.79,
  "returnedPercentage": 0.07,
  "lateDeliveryPercentage": 0.04,
  "shopInShop": "AVAILABLE",
  "legalAddress": "Казахстан, Алматы, улица Примерная, 1",
  "logoUrl": "https://resources.cdn-kaspi.kz/img/cnt/mc/l/example/logo",
  "profileUrl": "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005",
  "profileStatus": "ok"
}
```

**Merchant profile example.** Products whose offers could not be read contribute no seller rows; a seller whose profile page could not be read is skipped. Seller rows respect **Max items** together with the product rows.

**Output views.** The dataset has two views in the Console: **Products** and **Merchant profiles** (filter the output by those tabs). Each run also stores a run summary under the `OUTPUT` key of its default key-value store.

### How to Use

1. Keep the default **search** mode and add one or more keywords, or switch to **url** mode and paste a search, category or product link.
2. Pick a **Location** (Almaty is measured and the most reliable).
3. Narrow with a price range or a minimum rating, and choose a sort order.
4. Keep **Fetch seller offers and reviews** on for the richest rows, or turn it off for a cheaper listing-level pull.
5. Set **Max items** to control run size and cost, then click **Start**.

**Quick keyword search:**

```json
{
  "mode": "search",
  "searchTerms": ["iphone 15"],
  "locations": ["Almaty"],
  "maxItems": 20
}
```

**Filtered and sorted:**

```json
{
  "mode": "search",
  "searchTerms": ["samsung galaxy"],
  "locations": ["Almaty"],
  "minPrice": 100000,
  "sortBy": "price-asc",
  "maxItems": 50
}
```

**A search link, a category link and a product link together:**

```json
{
  "mode": "url",
  "urls": [
    "https://kaspi.kz/shop/search/?text=iphone%2015&hint_chips_click=false",
    "https://kaspi.kz/shop/c/computers/",
    "https://kaspi.kz/shop/p/apple-iphone-15-128gb-nanosim-esim-chernyi-113137790/?c=750000000",
    "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005"
  ],
  "discoverMerchants": true,
  "maxItems": 30
}
```

#### Caps and pagination

**Max items** stops the whole run once that many products have been returned (`0` = no cap). **Max items per keyword or link** caps each keyword/location pair or pasted link on its own, so one broad keyword cannot use up the whole run. **Max pages** limits how many result pages each keyword/location pair or link walks; it does not cap the run by itself.

#### Resume and recurring updates

- **Resume** (`resumeFromRunId`) skips products already collected by an earlier run: paste its run or dataset ID and those products are neither returned nor charged again.
- **Incremental mode** (`incrementalMode`) is for scheduled runs over the same search or link. Each product is classified `NEW`, `UPDATED` (with `changedFields`), `UNCHANGED` (left out and not billed unless `emitUnchanged` is on), `REAPPEARED`, or `EXPIRED` (only after a run whose walks all reached their end, never after a capped, page-limited or resumed run, and only with `emitExpired` on). The result position, scrape time, the keyword/location or link a product was found through, the search/offer totals, the attached reviews, the rating distribution, the offer snapshot, the delivery duration label and the formatted price text never count as a change. `ignoreFieldsForChanges` defaults to the rating and review counts, which drift with every new review. `changeScope: "priceAndStock"` compares only price, original price, the in-stock flag and the offer price range; `compactUpdates` returns slim rows with just what moved. If a product's offers/reviews cannot be read during an incremental run, that product is held back (not returned, not charged, its saved state untouched) and the next run that can read it reports it. `stateKey` names or shares the stored state; leave it empty and the actor derives one from the run's keyword, location and filter setup.

#### Alerts

Fill in a Slack incoming webhook, a Discord channel webhook, or a Telegram bot token and chat id, and the actor posts one short summary when the run finishes: the number of rows (and, in incremental mode, how many are new, updated, reappeared or expired) followed by up to **Rows listed per alert** products. With **Alert on changes only** on and Incremental changes on, nothing is sent when nothing changed. Alerts are free and never change the run's result; leave every field empty to skip them.

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape: the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record, not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify, Settings, Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field (`mcpConnectors`). (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.
4. Optionally set `maxNotifyListings` to cap how many items are written to each connector per run (default 50).

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | `search` (keywords) or `url` (pasted links). |
| `searchTerms` | array | `iphone 15` | Search mode: keywords to search, each combined with every location. |
| `locations` | array | `Almaty` | City to scope the search to; Almaty is measured, others are best-effort. |
| `sortBy` | string | `relevance` | `relevance`, `created-desc`, `price-asc`, `price-desc` or `rating`. |
| `minPrice` | integer | (none) | Lowest price kept, in Kazakhstani tenge. |
| `maxPrice` | integer | (none) | Highest price kept, in Kazakhstani tenge. |
| `minRating` | number | (none) | Only products rated at least this many stars. |
| `urls` | array | one search link, one category link, one product link and one seller link | URL mode: a search link (`/shop/search/?text=...`), a category link (`/shop/c/<slug>/`, e.g. `/shop/c/computers/`), a product link (`/shop/p/<slug>-<productId>/`) or a seller profile link (`/shop/info/merchant/<id>/...`) for direct seller scraping. The default ships one of each. |
| `fetchDetails` | boolean | `true` | Add seller offers and customer reviews (charged per enriched row). |
| `discoverMerchants` | boolean | `false` | Adds one row per unique seller found in the offers, enriched from the seller's public profile page (join date, 90-day rating, review count, sales indicator, phone, legal address, tier, cancellation/return/late-delivery statistics). Turns on `fetchDetails` automatically. Charged per seller profile found; a seller whose profile could not be read is skipped and not charged. |
| `maxPages` | integer | (none) | Optional page limit per keyword/location pair or link; does not cap the run, Max items does. |
| `maxItems` | integer | `20` | Cap on the whole run; `0` = no cap. |
| `maxItemsPerSearch` | integer | `0` | Cap per keyword/location pair or pasted link; `0` = no per-keyword cap. |
| `maxReviews` | integer | `20` | Customer reviews kept on each product row (needs Fetch seller offers and reviews), most popular first; `0` leaves reviews out. |
| `proxy` | object | Residential, Kazakhstan | Apify Proxy settings, or your own proxy URLs. |
| `resumeFromRunId` | string | (none) | Run or dataset ID whose products are skipped. |
| `incrementalMode` | boolean | `false` | Return only new, changed and reappeared products on repeat runs. |
| `stateKey` | string | (auto) | Name or share the incremental state. |
| `changeScope` | string | `all` | `all` or `priceAndStock`. |
| `compactUpdates` | boolean | `false` | Slim UPDATED rows with only what moved. |
| `expireAfterMissedScans` | integer | `1` | Complete scans a product must be missing before EXPIRED. |
| `emitUnchanged` | boolean | `false` | Also return UNCHANGED rows (billed as rows). |
| `emitExpired` | boolean | `false` | Also return EXPIRED rows after a complete scan (billed as rows). |
| `ignoreFieldsForChanges` | array | rating + review counts | Fields that never count as a change; remove names to be told about them. |
| `mcpConnectors` | array | (none) | Optional MCP connectors to send results into, see above. |
| `notionParentPageUrl` | string | (none) | Notion page that receives the items (Notion connector only). |
| `maxNotifyListings` | integer | `50` | Cap on items written to each connector per run. |
| `notifyOnlyChanges` | boolean | `false` | Send the alert only when something changed (needs Incremental changes). |
| `notificationLimit` | integer | `5` | Product rows listed in an alert. |
| `slackWebhookUrl` | string | (none) | Optional Slack incoming webhook for the run summary. |
| `discordWebhookUrl` | string | (none) | Optional Discord channel webhook for the run summary. |
| `telegramBotToken` | string | (none) | Optional Telegram bot token for the run summary. |
| `telegramChatId` | string | (none) | Telegram chat id to post to (needs a bot token). |

### Output Example

> Sample shape: values are illustrative placeholders, not from a live record.

```json
{
  "kind": "product",
  "productId": "0000000000",
  "title": "Sample Brand Earbuds, Bluetooth, White",
  "brand": "Sample Brand",
  "category": "Headphones",
  "price": 15990,
  "priceMinusBonus": 15350,
  "priceWithBonus": 15350,
  "bonusAmount": 640,
  "currency": "KZT",
  "creditMonthlyPrice": 1332,
  "monthlyInstallmentAmount": 1332,
  "inStock": true,
  "deliveryDuration": "EXPRESS",
  "city": "Almaty",
  "images": ["https://cdn.example.com/sample-1.jpg"],
  "rating": 4.6,
  "reviewsQuantity": 128,
  "reviewsTotal": 12,
  "ratingDistribution": [{"rate": 5, "count": 9}, {"rate": 4, "count": 2}, {"rate": 3, "count": 1}],
  "offers": [{"merchantId": "0000000", "merchantName": "Sample Shop", "price": 15990}],
  "offersCount": 4,
  "minOfferPrice": 15990,
  "maxOfferPrice": 17490,
  "bestMerchantId": "0000000",
  "sellerId": "0000000",
  "url": "https://kaspi.kz/shop/p/sample-brand-earbuds-white-0000000000/",
  "query": "earbuds",
  "position": 1,
  "scrapedAt": "2026-01-20T08:00:00+00:00"
}
```

### Plan Requirement

Pay per event: one unit per returned product row, plus an actor start event, plus a detail-enrichment charge for each row actually enriched with its seller offers and customer reviews: one unit for the row itself plus one more unit for every started block of 10 delivered reviews (a row delivering 20 reviews carries 2 units). With **Discover sellers** on, each seller whose profile was found adds one merchant-profile unit; a seller whose profile page could not be read is skipped and not charged. Each unit is charged per row, as the row is delivered, never as a single total at the end. A row whose offers/reviews could not be read still ships, without that unit, and an unchanged product left out in incremental mode is neither returned nor charged. Rows from pasted product links carry offers and reviews from the same read and never carry the detail-enrichment unit. The default connection is Residential, billed to your own Apify plan; if it is refused or its traffic allowance is used up, the run continues on the cheaper Automatic (datacenter) connection. Apify free plans include no Apify proxy (see "Which proxy should I use?" below).

### FAQ

#### How much does it cost?

You pay per product row returned, plus a detail-enrichment charge per enriched row (one unit for the row plus one per started block of 10 delivered reviews; on by default; turn `fetchDetails` off for listing-only rows). The **Pricing** tab shows the current rates. Use **Max items** to cap the cost of any run.

#### Is it legal to scrape kaspi.kz?

This actor collects only publicly available product data that kaspi.kz shows on its own pages. You are responsible for how you use it: follow kaspi.kz's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution. Prices are generally facts, but images may be subject to third-party rights, and written reviews carry the reviewer's first name, so handle them in line with the privacy rules that apply to you.

#### Can I get only new or changed products on a schedule?

Yes. Schedule the actor from the **Schedules** tab and turn on **Incremental mode**. Each run then returns only new, updated and reappeared products; unchanged ones are not billed unless you turn `emitUnchanged` on. Use `changeScope: "priceAndStock"` to be told only about price and offer moves.

#### Why does a keyword return fewer products than the site shows?

The site shows in-stock, published products only. Filters you set (price, rating) narrow the same result the site would show.

#### Which proxy should I use?

Residential (Kazakhstan) is recommended for the most reliable results and is the measured default. Datacenter/Automatic is a proven, equally capable secondary that the run automatically falls back to if the default becomes unavailable, rather than stopping; that escalation is disclosed in the run log the first time it happens. Apify free plans include no Apify Residential proxy, so a free-plan run relies on the backup gateway or on your own proxy URLs, and some pages may stay unavailable. If the connection you selected is unavailable or keeps getting refused, the run automatically continues on a backup connection (the other Apify proxy tier, then a backup gateway, residential or datacenter depending on what your plan is observed to have) rather than stopping; residential use on any lane is capped to a fixed, hard-coded request/traffic budget per run, after which the run automatically continues on the cheaper datacenter tier (kaspi.kz serves both tiers identically, so nothing is lost). Set `KASPI_KZ_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the fallback entirely. If you enter your own proxy URLs, they are used as-is with no fallback; if your proxy re-signs HTTPS traffic, the run says so once in the log ("The custom proxy re-signs HTTPS traffic; retrying without certificate verification for it.") and continues on it.

#### Why did my run fail instead of returning an empty dataset?

If every search or link could not be read, the run stops with a clear message so "no products matched" is never confused with "nothing could be read". Run it again in a few minutes. A run with no keywords or no supported links fails at once with "Nothing to scrape: add search keywords in Search mode, or paste a valid kaspi.kz search, category or product link in URL mode." If only some keywords or links could be read, you still get what was found, and the run's status message says how many could not be read. The messages you may see in the run log:

- When the selected connection is unavailable to your account, the log says: "The selected connection is unavailable to this run. Apify free plans do not include residential proxies. Continuing on a backup connection; some pages may still be unavailable. For residential access, upgrade at https://apify.com/pricing or supply your own proxy URLs."
- When pages are then read over the backup connection: "Served over the backup connection (the default connection was unavailable)." Set `KASPI_KZ_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection.
- If the proxy connection is refused for the account and no page could be read: "The proxy connection was refused for this account, so no page could be read. Your Apify plan does not include proxy access; a paid plan is required: https://apify.com/pricing. If you entered your own proxy URLs, check that their credentials are valid."
- If the run has no residential access and the backup connection still could not load a usable page: "No results: residential proxies are unavailable on this run (Apify free plans do not include them), and the backup connection could not load the requested Kaspi.kz pages. Upgrade at https://apify.com/pricing or supply your own proxy URLs, then try again."
- If every request failed for another reason: "Could not load any results page (the requests failed), so nothing was collected. This is a connection problem, not an empty search. Please try again later."

#### Why does a row have no offers or reviews?

Those fields come from the product's own offers/reviews read and need **Fetch seller offers and reviews**. If that read could not be read during the run, the row still ships with everything else and is not charged for the missing part. Some products simply carry no reviews yet.

#### Can I use it with AI agents or MCP?

Yes. Call it from any Apify integration or MCP client, and use the connector field to push results into Notion, Linear or Airtable.

### 🔗 Want more e-commerce data?

Pair this actor with these related scrapers from the same team:

<table>
<tr><td>🔌 <a href="https://apify.com/abotapi/mvideo-scraper"><b>M.Video Scraper</b></a><br>Scrape M.Video (mvideo.ru), the Russian electronics and home appliance retailer: prices...</td><td>🛒 <a href="https://apify.com/abotapi/idealo-de-price-comparison-scraper"><b>Idealo.de</b></a><br>Scrape Idealo.de products with identity details, GTIN, price ranges, specifications...</td></tr>
<tr><td>🔌 <a href="https://apify.com/abotapi/casasbahia-com-br-scraper"><b>Casas Bahia Brazil Electronics &amp; Home Goods Scraper</b></a><br>Scrape products from Casas Bahia Brazil by keyword, department, or URL. Filter by brand...</td><td>🛒 <a href="https://apify.com/abotapi/walmart-scraper"><b>Walmart Scraper</b></a><br>Scrape Walmart.com by keyword, URL, or item ID. Extract prices, was-prices, sellers...</td></tr>
<tr><td>🏷️ <a href="https://apify.com/abotapi/bol-com-scraper"><b>bol.com Scraper</b></a><br>Scrape bol.com products: title, price, list price and discount, EAN, brand, images...</td><td>🛒 <a href="https://apify.com/abotapi/mediamarkt-de-scraper"><b>MediaMarkt Germany Scraper</b></a><br>Scrape MediaMarkt.de products by keyword or URL. Extract current and original prices...</td></tr>
</table>

👉 [Browse all abotapi scrapers](https://apify.com/abotapi)

### 💬 Support

- 🐞 **Found a bug or a missing field?** Open a ticket on the [Issues tab](https://apify.com/abotapi/kaspi-kz-scraper/issues/open). We usually reply within hours.
- 🛠️ **Need another site, extra fields or a private build?** Email <contact@abotapi.com>.
- ⭐ **Enjoying it?** A quick review on the actor page helps other users find it.

# Actor input Schema

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

Choose 'search' to run keyword searches or 'url' to paste search, category or product links.

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

One or more keywords to search on kaspi.kz, for example 'iphone 15' or a brand and model. Each keyword is searched separately, combined with every location below.

## `locations` (type: `array`):

City to scope the search to. 'Almaty' is measured and works reliably; other city names fall back to the same delivery zone on a best-effort basis. A plain numeric city id is used as-is.

## `sortBy` (type: `string`):

Order of the results.

## `minPrice` (type: `integer`):

Lowest price in Kazakhstani tenge. Leave empty for no lower bound.

## `maxPrice` (type: `integer`):

Highest price in Kazakhstani tenge. Leave empty for no upper bound.

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

Only products rated at least this many stars (1 to 5). Leave empty for all.

## `urls` (type: `array`):

Paste kaspi.kz links: a search page (/shop/search/?text=...), a category page (/shop/c/<slug>/, e.g. /shop/c/computers/), a product page (/shop/p/<slug>-<productId>/), or a seller profile page (/shop/info/merchant/<id>/...) to scrape that seller's profile directly. The www address works too.

## `fetchDetails` (type: `boolean`):

Read each product's offers (every seller, best price, delivery) and customer reviews (rating histogram, most popular written reviews). Charged per enriched row: one unit for the row itself plus one unit per started block of 10 delivered reviews. Rows from pasted product links already carry this and are never charged for it. Turn off for a cheaper listing-level pull.

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

Optional. Limits how many result pages each keyword/location pair or link walks. Empty or 0 means no page limit; it does NOT cap the run by itself, Max items below does.

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

THE cap on this run: the maximum number of product rows returned across the whole run. Defaults to 20 so a first run is fast and cheap. Use 0 for unlimited.

## `maxItemsPerSearch` (type: `integer`):

Optional. Caps how many products each keyword/location pair or pasted link may return, so one broad keyword cannot use up the whole run. 0 (default) = no per-keyword cap; Max items still caps the run.

## `maxReviews` (type: `integer`):

How many written customer reviews to keep on each product row (read from the same offers/reviews fetch, so it needs Fetch seller offers and reviews), ordered by the site's own popularity ranking. Delivering more reviews adds one detail-enrichment unit per started block of 10. 0 leaves reviews out.

## `discoverMerchants` (type: `boolean`):

Adds one row per unique seller found in the offers, enriched from the seller's public profile page: join date, 90-day rating, review count, sales indicator, phone, legal address, marketplace tier and cancellation/return/late-delivery statistics. Turns on Fetch seller offers and reviews automatically. Charged per seller profile found. Default off.

## `proxy` (type: `object`):

Leave this on the default (Residential, Kazakhstan); it is measured to work. If it becomes unavailable, the run automatically continues on the Automatic/Datacenter tier instead of stopping.

## `resumeFromRunId` (type: `string`):

Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead.

## `incrementalMode` (type: `boolean`):

Turn this on for daily or recurring monitoring. The first run returns every matching product as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED products. A product counts as UPDATED when any of its fields changed, except the result position, scrape time, the keyword/location or link it was found through, the search/offer totals, the attached reviews and rating distribution, the offer snapshot, the delivery duration label and the formatted price text, and by default its rating and review counts (see Ignore fields below). State is kept separately for each keyword, location, link, sort and filter setup; use State key to name or deliberately share a monitoring campaign.

## `stateKey` (type: `string`):

Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup.

## `changeScope` (type: `string`):

'Price and stock only' compares just price, original price, in-stock flag and the offer price range; a rating, image or badge change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Incremental changes).

## `compactUpdates` (type: `boolean`):

When on, an UPDATED row carries only identifiers plus the price/offer fields that actually moved, instead of the full record. Off by default.

## `expireAfterMissedScans` (type: `integer`):

A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced once a run has fully scanned the tracked search, never when Max items or Max pages capped it, or when Resume was used. This returns, and bills, extra synthetic rows.

## `ignoreFieldsForChanges` (type: `array`):

Field names that must NOT count as a change in incremental mode. The default list leaves out the rating and review counts, which drift with every new review; remove names from the list to be told about them. A product whose only differences are in these fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. The fields still appear in the output of rows that are returned.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## `notifyOnlyChanges` (type: `boolean`):

Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary.

## `notificationLimit` (type: `integer`):

How many product rows the alert message lists (the run's totals are always in the first line).

## `slackWebhookUrl` (type: `string`):

Optional Slack incoming-webhook URL to post the summary to.

## `discordWebhookUrl` (type: `string`):

Optional Discord channel webhook URL to post the summary to.

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

Optional Telegram bot token to post the summary with.

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

Telegram chat id to post the summary to (needs a bot token above).

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "iphone 15"
  ],
  "locations": [
    "Almaty"
  ],
  "sortBy": "relevance",
  "urls": [
    "https://kaspi.kz/shop/search/?text=iphone%2015&hint_chips_click=false",
    "https://kaspi.kz/shop/c/computers/",
    "https://kaspi.kz/shop/p/apple-iphone-15-128gb-nanosim-esim-chernyi-113137790/?c=750000000",
    "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "maxItemsPerSearch": 0,
  "maxReviews": 20,
  "discoverMerchants": false,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "KZ"
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating",
    "reviewsCount",
    "reviewsQuantity"
  ],
  "maxNotifyListings": 50,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `merchants` (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 = {
    "mode": "search",
    "searchTerms": [
        "iphone 15"
    ],
    "locations": [
        "Almaty"
    ],
    "sortBy": "relevance",
    "urls": [
        "https://kaspi.kz/shop/search/?text=iphone%2015&hint_chips_click=false",
        "https://kaspi.kz/shop/c/computers/",
        "https://kaspi.kz/shop/p/apple-iphone-15-128gb-nanosim-esim-chernyi-113137790/?c=750000000",
        "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005"
    ],
    "fetchDetails": true,
    "maxItems": 20,
    "maxReviews": 20,
    "discoverMerchants": false,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "KZ"
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": [
        "rating",
        "reviewsCount",
        "reviewsQuantity"
    ],
    "notifyOnlyChanges": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/kaspi-kz-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 = {
    "mode": "search",
    "searchTerms": ["iphone 15"],
    "locations": ["Almaty"],
    "sortBy": "relevance",
    "urls": [
        "https://kaspi.kz/shop/search/?text=iphone%2015&hint_chips_click=false",
        "https://kaspi.kz/shop/c/computers/",
        "https://kaspi.kz/shop/p/apple-iphone-15-128gb-nanosim-esim-chernyi-113137790/?c=750000000",
        "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005",
    ],
    "fetchDetails": True,
    "maxItems": 20,
    "maxReviews": 20,
    "discoverMerchants": False,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "KZ",
    },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": [
        "rating",
        "reviewsCount",
        "reviewsQuantity",
    ],
    "notifyOnlyChanges": False,
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/kaspi-kz-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 '{
  "mode": "search",
  "searchTerms": [
    "iphone 15"
  ],
  "locations": [
    "Almaty"
  ],
  "sortBy": "relevance",
  "urls": [
    "https://kaspi.kz/shop/search/?text=iphone%2015&hint_chips_click=false",
    "https://kaspi.kz/shop/c/computers/",
    "https://kaspi.kz/shop/p/apple-iphone-15-128gb-nanosim-esim-chernyi-113137790/?c=750000000",
    "https://kaspi.kz/shop/info/merchant/234005/address-tab/?merchantId=234005"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "maxReviews": 20,
  "discoverMerchants": false,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "KZ"
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating",
    "reviewsCount",
    "reviewsQuantity"
  ],
  "notifyOnlyChanges": false
}' |
apify call abotapi/kaspi-kz-scraper --silent --output-dataset

```

## MCP server setup

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