# Kolesa.kz Scraper — Kazakhstan Car Listings & Prices (`logiover/kolesa-kz-scraper`) Actor

Scrape job postings for Switzerland from Talent.com: title, hiring company, city, quick-apply flag, update recency and a description snippet. Keyless, no login. Export JSON, CSV or Excel.

- **URL**: https://apify.com/logiover/kolesa-kz-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Jobs, Lead generation
- **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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Kolesa.kz Scraper — Kazakhstan Car Listings & Prices

Export vehicle listings from **Kolesa.kz**, Kazakhstan's largest car marketplace — price, year, engine, fuel, gearbox and mileage — to JSON, CSV or Excel. Keyless, no login.

### What does Kolesa.kz Scraper do?

Kolesa renders its results server-side, so this Actor parses the cards directly and walks the pagination. No API key, no account, no cookies.

The whole vehicle specification is published as **one Russian sentence**: `2011 г., Б/у внедорожник, 4.7 л, бензин, КПП автомат, 225 000 км`. Nobody can filter by mileage or fuel type while that sits in a text column, so this Actor splits it into `year`, `bodyAndCondition`, `engineLitres`, `fuel`, `gearbox` and `mileageKm`.

Two details in that split matter. Russian uses a **comma as the decimal separator**, so a naive split on `,` tears `3,0 л` into `3` and `0 л` and reports a zero-litre engine — the Actor splits on comma-plus-space instead. And the litre marker `л` is Cyrillic, so an ASCII word boundary never matches it; the pattern is written to handle that. Both were real bugs caught in testing, not hypotheticals.

### Who is it for?

- **Car dealers** benchmarking asking prices across Kazakh cities.
- **Price analysts** building depreciation curves by model and year.
- **Importers and exporters** spotting arbitrage between regions.
- **Marketplace builders** who need a Kazakh vehicle feed.
- **Researchers** measuring fleet age, fuel mix and gearbox split.

### Use cases

- Compare asking prices for a model between Almaty, Astana and Aktobe.
- Build a mileage-versus-price curve for a specific year range.
- Track how many diesel versus petrol cars are listed each week.
- Filter to verified sellers to build a dealer list.
- Export a snapshot with specs for a valuation model.

### Why use this Actor?

- **Keyless** — no account, no token, no login.
- **Specs as real columns** — year, engine, fuel, gearbox and mileage are parsed out, not left in prose.
- **Correct Russian number handling** — `3,0 л` reads as 3.0, not 0.
- **Sortable price** alongside the original label.
- **Verified-seller flag** for dealer prospecting.
- **Time-budgeted** — a slow page ends the run cleanly with rows saved.

### What data can you extract?

Every row carries the listing identity and URL, the price in label and numeric form, the full spec line as published, the six parsed spec columns, the city and whether Kolesa marks the seller as verified. See the Output tab for types.

### How to use it

1. Pick the section — cars, motorcycles, trucks or special vehicles.
2. Optionally set a city and a price band.
3. Set **Maximum results** and run, then export JSON, CSV or Excel.

### Input example

```json
{
  "section": "cars",
  "city": "almaty",
  "maxPrice": 15000000,
  "maxResults": 1000
}
```

### Notes and limits

- Mileage is absent on new vehicles; those rows keep `mileageKm` as `null` rather than zero, because zero would distort any average.
- Listing text is in Russian, as sellers write it.
- Prices are asking prices, not transaction prices.
- This Actor exports result cards, not full listing pages — that is what keeps bulk runs cheap. Open the listing URL for photos and seller contact.
- You are responsible for how you use listing and seller data.

### FAQ

**Do I need a Kolesa account?**
No. Listings are public and this Actor needs nothing from you.

**Are the specs reliable?**
They come from Kolesa's own spec line and are split field by field. Where a field is missing from the ad, the column is `null` rather than guessed.

**Can I scrape trucks or motorcycles?**
Yes, switch the section input.

**Is mileage numeric?**
Yes — `225 000 км` becomes `225000`, ready to sort or chart.

**How am I charged?**
Pay per result — you pay for the listings delivered.

# Actor input Schema

## `section` (type: `string`):

Kolesa marketplace section to walk.

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

Optional Kolesa city slug, e.g. almaty, astana, shymkent. Leave empty for all of Kazakhstan.

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

Only return listings at or above this price. 0 disables the filter.

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

Only return listings at or below this price. 0 disables the filter.

## `maxResults` (type: `integer`):

Stop after this many listings. The Actor walks pages until the target is met.

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

Kolesa serves plain HTML; the default datacenter proxy is enough.

## Actor input object example

```json
{
  "section": "cars",
  "minPrice": 0,
  "maxPrice": 0,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listingId` (type: `string`):

No description

## `title` (type: `string`):

No description

## `listingUrl` (type: `string`):

No description

## `priceLabel` (type: `string`):

No description

## `priceAmount` (type: `string`):

No description

## `currency` (type: `string`):

No description

## `specs` (type: `string`):

No description

## `year` (type: `string`):

No description

## `bodyAndCondition` (type: `string`):

No description

## `engineLitres` (type: `string`):

No description

## `fuel` (type: `string`):

No description

## `gearbox` (type: `string`):

No description

## `mileageKm` (type: `string`):

No description

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

No description

## `verifiedSeller` (type: `string`):

No description

## `country` (type: `string`):

No description

## `source` (type: `string`):

No description

## `scrapedAt` (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 = {
    "section": "cars",
    "city": "",
    "minPrice": 0,
    "maxPrice": 0,
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/kolesa-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 = {
    "section": "cars",
    "city": "",
    "minPrice": 0,
    "maxPrice": 0,
    "maxResults": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/kolesa-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 '{
  "section": "cars",
  "city": "",
  "minPrice": 0,
  "maxPrice": 0,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call logiover/kolesa-kz-scraper --silent --output-dataset

```

## MCP server setup

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