# Lalafo Cars Scraper (`dadhalfdev/lalafo-cars-scraper`) Actor

Scrape car, truck, moto, and farm-machinery ads from Lalafo in Kyrgyzstan.

- **URL**: https://apify.com/dadhalfdev/lalafo-cars-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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

## Lalafo Cars Scraper

Want [Lalafo Cars](https://lalafo.kg/) ads in a spreadsheet? This scraper makes it easy.

Use **structured filters** — better for AI agents — **or** paste an **`input_url`**. When `input_url` is set it overrides the filters.

Vehicle ads from Lalafo Kyrgyzstan: cars for sale, commercial trucks, motos, and farm machinery. This actor returns up to 2000 rows per run. Shelves on this actor: Продажа авто (54,610), Коммерческий транспорт (13,254), Мототехника (5,543), Сельхозтехника (3,071).

### 💡 Perfect for...

- **Dealers:** Export Bishkek and Osh car ads with make, year, mileage, and fuel.
- **Dashboards:** Track som and dollar prices on Lalafo's car shelf.
- **Market research:** Slice vehicles by gearbox, body, steering side, or customs status.
- **Data analysts:** Export seller, phone, photos, and the public ad text.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Lalafo ads.
- **📚 RAG Systems:** Feed titles, prices, and ad text into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Lalafo category, search, or ad link, or pick a shelf and city. `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Make, model, city, keyword, condition, year, mileage, fuel, gearbox, body, steering, drive, color, engine size, technical condition, registration country, customs, VIN, availability, payment, battery size, price, currency, and sort.
- 🌐 **Full ads:** Price, city, seller, phone, photos, and the public ad text.

### 📦 What's inside the data?

`id`, `url`, `title`, `price`, `currency`, `price_kgs`, `old_price`, `is_negotiable`, `city`, `category`, `condition`, `brand`, `model`, `year`, `mileage_km`, `fuel`, `transmission`, `body`, `drive`, `steering`, `color`, `engine_l`, `battery_kwh`, `technical_condition`, `registration_country`, `customs`, `vin`, `availability`, `payment`, `seller`, `seller_pro`, `seller_reply`, `phone`, `email`, `posted`, `updated`, `views`, `is_vip`, `latitude`, `longitude`, `image`, `images`, `description`, `specs`

### 🚀 Quick start

**Option A:** paste `https://lalafo.kg/bishkek/avtomobili-s-probegom`.
**Option B:** pick a category and set `max_results`.

**Input Example (filters):**

```json
{
  "category": "avtomobili-s-probegom",
  "city": "Бишкек",
  "max_results": 100
}
```

**Input Example (URL):**

```json
{
  "input_url": "https://lalafo.kg/bishkek/avtomobili-s-probegom",
  "max_results": 100
}
```

**Output Example:**

```json
{
  "id": "117296755",
  "url": "https://lalafo.kg/balykchi/ads/mercedes-benz-sprinter-2011-g-22-l-mehanika-dizel-bus-id-117296755",
  "title": "Mercedes-Benz Спринтер: 2011 г., 2.2 л, Механика, Дизель, Бус",
  "price": 15000,
  "currency": "USD",
  "price_kgs": 1311750,
  "old_price": null,
  "is_negotiable": false,
  "city": "Балыкчи",
  "category": "Mercedes-Benz",
  "condition": "Б/у",
  "brand": "Mercedes-Benz",
  "model": "Спринтер",
  "year": 2011,
  "mileage_km": 250000,
  "fuel": "Дизель",
  "transmission": "Механика",
  "body": "Бус",
  "drive": "Задний",
  "steering": "Слева",
  "color": "Белый",
  "engine_l": 2.2,
  "battery_kwh": "Более 100 кВт·ч",
  "technical_condition": "Идеальное",
  "registration_country": "Германия",
  "customs": "Растаможен",
  "vin": "с VIN кодом",
  "availability": "В наличии",
  "payment": "Оплата наличными",
  "seller": "Эвакуатор Ыссык кол",
  "seller_pro": true,
  "seller_reply": "Отвечает на 90% сообщений",
  "phone": "+996707330530",
  "email": "karybekumar67@gmail.com",
  "posted": "2026-10-14T11:46:29Z",
  "updated": "2026-10-21T19:04:51Z",
  "views": 798,
  "is_vip": true,
  "latitude": 42.4624691,
  "longitude": 76.18996609999999,
  "image": "https://img5.lalafo.com/i/posters/original/f0/d7/15/a35e6a67164bfda2649dbfc00f.jpeg",
  "images": [
    "https://img5.lalafo.com/i/posters/original/f0/d7/15/a35e6a67164bfda2649dbfc00f.jpeg",
    "https://img5.lalafo.com/i/posters/original/9d/1f/8e/f1320013ec2013ea1e57103a4a.jpeg"
  ],
  "description": "Мерседес Бенц Спринтер 316 дубль кабина макси база сатылат абалы жакшы жылы 2011 Германия олкосунон жаны келди",
  "specs": null
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Lalafo ad id. |
| `url` | Public ad page. |
| `title` | Ad title. |
| `price` | Price as posted. On job ads this is the wage. |
| `currency` | KGS or USD. |
| `price_kgs` | Price converted to som when Lalafo shows one. |
| `old_price` | Previous price when the ad shows a discount. |
| `is_negotiable` | Whether the seller marked the price as negotiable. |
| `city` | City. |
| `category` | Shelf the ad is filed under. |
| `condition` | Used or new. |
| `brand` | Make, brand, or model family. |
| `model` | Model. |
| `year` | Model year. |
| `mileage_km` | Mileage in kilometres. |
| `fuel` | Fuel. |
| `transmission` | Gearbox. |
| `body` | Body style. |
| `drive` | Drive type. |
| `steering` | Steering side. |
| `color` | Color. |
| `engine_l` | Engine volume in litres. |
| `battery_kwh` | Battery size. |
| `technical_condition` | Technical condition. |
| `registration_country` | Country of registration. |
| `customs` | Customs status. |
| `vin` | Whether a VIN is listed. |
| `availability` | In stock or to order. |
| `payment` | Payment or exchange terms. |
| `seller` | Seller name. |
| `seller_pro` | Whether the seller has a business profile. |
| `seller_reply` | Reply note shown on the seller. |
| `phone` | Phone shown on the ad. |
| `email` | Email shown on the ad. |
| `posted` | When the ad was created, in UTC. |
| `updated` | When the ad was last updated, in UTC. |
| `views` | View count. |
| `is_vip` | Whether the ad is promoted. |
| `latitude` | Map latitude. |
| `longitude` | Map longitude. |
| `image` | Cover photo. |
| `images` | Photo gallery. |
| `description` | Ad text. |
| `specs` | Other details printed on the ad. |

### 📋 Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Lalafo category, search, or ad URL. Overrides every filter. |
| `category` | dropdown | No | avtomobili-s-probegom | Shelf. |
| `city` | string | No | — | City, such as Бишкек or Ош. |
| `query` | string | No | — | Keyword. |
| `price_min` / `price_max` | integer | No | — | Lowest price. / Highest price. |
| `currency` | dropdown | No | any | Сом (KGS) or Доллар (USD). |
| `sort` | dropdown | No | По умолчанию | Newest, cheaper first, or expensive first. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

# Actor input Schema

## `input_url` (type: `string`):

Paste a Lalafo category, search, or ad link. Overrides every filter when set.

## `category` (type: `string`):

Shelf on Lalafo. Smaller shelves still work if you paste their link.

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

City name, such as Бишкек, Ош, or Bishkek.

## `query` (type: `string`):

Search keyword.

## `brand` (type: `string`):

Make, such as Toyota, Hyundai, or Mercedes-Benz.

## `model` (type: `string`):

Model name, such as Camry or X5.

## `condition` (type: `string`):

Used or new.

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

Petrol, diesel, gas, hybrid, or electric.

## `transmission` (type: `string`):

Gearbox.

## `body` (type: `string`):

Body style, such as Седан or Кроссовер.

## `steering` (type: `string`):

Left-hand or right-hand drive.

## `drive` (type: `string`):

Front, rear, or all-wheel drive.

## `color` (type: `string`):

Body color.

## `technical_condition` (type: `string`):

How the vehicle runs.

## `registration_country` (type: `string`):

Country where the vehicle is registered.

## `customs` (type: `string`):

Whether the vehicle has cleared customs.

## `vin` (type: `string`):

Whether the ad includes a VIN.

## `availability` (type: `string`):

In stock or to order.

## `payment` (type: `string`):

Cash, credit, installment, or exchange.

## `battery` (type: `string`):

Battery size for electric vehicles.

## `year_min` (type: `integer`):

Oldest model year.

## `year_max` (type: `integer`):

Newest model year.

## `mileage_min` (type: `integer`):

Lowest mileage in kilometres.

## `mileage_max` (type: `integer`):

Highest mileage in kilometres.

## `engine_min` (type: `integer`):

Smallest engine volume in litres, such as 2.

## `engine_max` (type: `integer`):

Largest engine volume in litres, such as 3.

## `price_min` (type: `integer`):

Lowest price.

## `price_max` (type: `integer`):

Highest price.

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

Сом or US dollar, same as the price toggle on Lalafo.

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

Same sort options as the Lalafo results.

## `max_results` (type: `integer`):

How many ads to return (1-2000).

## Actor input object example

```json
{
  "category": "avtomobili-s-probegom",
  "condition": "",
  "fuel": "",
  "transmission": "",
  "body": "",
  "steering": "",
  "drive": "",
  "color": "",
  "technical_condition": "",
  "registration_country": "",
  "customs": "",
  "vin": "",
  "availability": "",
  "payment": "",
  "battery": "",
  "currency": "",
  "sort": "default",
  "max_results": 50
}
```

# Actor output Schema

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

Table view of scraped listings using the dataset overview.

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

All scraped listings from the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/lalafo-cars-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/lalafo-cars-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 '{}' |
apify call dadhalfdev/lalafo-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dadhalfdev/lalafo-cars-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/YNfuL8Vo4yHaAP3n4/builds/b22J9xTUfj9RPWVdL/openapi.json
