# Kufar Scraper: Belarus Classifieds, Cars and Real Estate (`davidcastro/kufar-scraper`) Actor

Scrape Kufar.by, the largest classifieds site in Belarus, by keyword, region, price and sort: title, price in BYN and USD, region and district, posting time, condition, all listed attributes (brand, model, memory, area, rooms), company or private seller, photos and ad URL.

- **URL**: https://apify.com/davidcastro/kufar-scraper.md
- **Developed by:** [David Castro](https://apify.com/davidcastro) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 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/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

## Kufar Scraper: Belarus Classifieds, Cars and Real Estate

Collect ads from Kufar.by, the largest classifieds site in Belarus, covering phones and electronics, cars, real estate, home goods, jobs and services. Search by keyword, region and price, sort by newest or price, and keep private sellers or companies only. Each ad comes with its price in Belarusian rubles and US dollars, region and district, posting time, condition, every attribute the seller filled in, the seller type and photo links.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `adId` | iPhone apple 15 pro max 512g, ad page, 1096149426 |
| `price`, `priceUsd`, `currency`, `priceType` | 2300, 768.13, BYN, Цена |
| `region`, `district` | Минск, Заводской |
| `postedAt` | 2026-11-20T14:17:21Z |
| `condition`, `category` | Б/у, Мобильные телефоны |
| `attributes` | {"Производитель": "Apple", "Модель": "iPhone 15 Pro Max", "Память": "512 ГБ"} |
| `isCompany`, `sellerName`, `deliveryAvailable`, `isHighlighted` | false, Пользователь, true, false |
| `images`, `imageCount` | photo links, 4 |
| `totalResults`, `searchQuery`, `position` | 6472, iphone, 1 |

### Inputs

- **Search keywords:** in Russian, Belarusian or English, for example iphone, велосипед, квартира.
- **Region:** all Belarus, Minsk or one of the six regions.
- **Sort:** relevance, newest first, price low to high, price high to low.
- **Price range** in Belarusian rubles.
- **Seller type:** private, company or both.
- **Only ads matching the keyword:** on by default.

### Example input

```json
{
    "searchQueries": ["volkswagen passat"],
    "region": "7",
    "sort": "lst.d",
    "maxPrice": 40000,
    "maxListings": 200
}
```

### Use cases

- Price research for used phones, cars and electronics in Belarus.
- Dealers and resellers sourcing stock from private sellers.
- Monitoring new real estate and car ads in a region every day.

### Pricing

You pay per ad delivered. Searches that match nothing are never charged. The run stops at your maximum ads or your spend limit. Free Apify plans get up to 10 ads per run.

### FAQ

**Are phone numbers included?**
No. Kufar shows phone numbers only after a click on the ad page.

**Why are attributes in Russian?**
They are returned exactly as the seller filled them in on Kufar.

# Actor input Schema

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

What to search for, for example iphone, велосипед, квартира.

## `region` (type: `string`):

Limit to one region.

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

Order of results.

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

In Belarusian rubles.

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

In Belarusian rubles.

## `sellerType` (type: `string`):

Private sellers, companies or both.

## `onlyMatching` (type: `boolean`):

Drop loosely related ads.

## `maxListings` (type: `integer`):

Free Apify plans are limited to 10 results per run.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone"
  ],
  "region": "",
  "sort": "lst.d",
  "sellerType": "any",
  "onlyMatching": true,
  "maxListings": 30
}
```

# Actor output Schema

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

The main fields in a table.

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

Every field of every result.

# 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"
    ],
    "maxListings": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("davidcastro/kufar-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"],
    "maxListings": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("davidcastro/kufar-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 '{
  "searchQueries": [
    "iphone"
  ],
  "maxListings": 30
}' |
apify call davidcastro/kufar-scraper --silent --output-dataset

```

## MCP server setup

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