# Lalafo Products Scraper (`dadhalfdev/lalafo-products-scraper`) Actor

Scrape product ads from Lalafo in Kyrgyzstan, from phones and clothes to parts and building materials.

- **URL**: https://apify.com/dadhalfdev/lalafo-products-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 Products Scraper

Want [Lalafo Products](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.

Product ads from Lalafo Kyrgyzstan. Parts, electronics, home, clothes, sport, animals, and business equipment each keep the same product columns. Cars, property, jobs, and services are separate actors. This actor returns up to 2000 rows per run. Shelves on this actor: Автозапчасти (261,749), Аксессуары и тюнинг (31,123), Шины и диски (31,760), Ремонт и строительство (106,879), Инструменты (21,134), Сантехника (10,970), Сыпучие материалы (17,910), Кирпич, строительные блоки (3,164). Plus 47 more shelves in the category list.

### 💡 Perfect for...

- **Sellers:** Export phones, furniture, or spare parts with price and condition.
- **Dashboards:** Track som and dollar prices by city.
- **Market research:** Slice a shelf by brand, color, size, or delivery.
- **Data analysts:** Export photos, phones, 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:** Shelf, city, keyword, condition, brand, model, color, size, delivery, country of manufacture, year, 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`, `color`, `size`, `storage`, `delivery`, `technical_condition`, `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/mobilnye-telefony-i-aksessuary`.
**Option B:** pick a category and set `max_results`.

**Input Example (filters):**

```json
{
  "category": "elektronika",
  "city": "Бишкек",
  "max_results": 100
}
```

**Input Example (URL):**

```json
{
  "input_url": "https://lalafo.kg/bishkek/mobilnye-telefony-i-aksessuary",
  "max_results": 100
}
```

**Output Example:**

```json
{
  "id": "115675487",
  "url": "https://lalafo.kg/tokmak/ads/poco-x6-pro-5g-bu-512-gb-cvet-cernyj-2-sim-id-115675487",
  "title": "Poco X6 Pro 5G, Б/у, 512 ГБ, цвет - Черный, 2 SIM",
  "price": 18000,
  "currency": "KGS",
  "price_kgs": 18000,
  "old_price": 15000,
  "is_negotiable": false,
  "city": "Токмак",
  "category": "Poco",
  "condition": "Б/у",
  "brand": null,
  "model": "X6 Pro 5G",
  "color": "Черный",
  "size": null,
  "storage": "512 ГБ",
  "delivery": "Платная доставка",
  "technical_condition": "Хорошее",
  "seller": "Akjol",
  "seller_pro": false,
  "seller_reply": "Отвечает на 90% сообщений",
  "phone": "+996708992861",
  "email": "akjol3092@gmail.com",
  "posted": "2026-10-21T20:10:28Z",
  "updated": "2026-10-21T20:16:52Z",
  "views": 1,
  "is_vip": false,
  "latitude": 42.822377,
  "longitude": 75.31789520000007,
  "image": "https://img5.lalafo.com/i/posters/original/6f/1a/c4/b832ae68bc7da93f1afaa01f14.jpeg",
  "images": [
    "https://img5.lalafo.com/i/posters/original/6f/1a/c4/b832ae68bc7da93f1afaa01f14.jpeg"
  ],
  "description": "POCO X6 Pro 5G — мощный смартфон с акцентом на производительность и связь нового поколения.\n\nОсновные характеристики:\n- Экран AMOLED с тонкими рамками и аккуратным вырезом под фронтальную камеру; высокая детализация и яркость, комфортно для игр и мультимедиа.\n- Поддержка 5G для быстрой загрузки и стабильного онлайн‑игр...",
  "specs": "Оперативная память, RAM (ГБ.): 12 ГБ; Комплектация: Чехол; Класс: Игровой; SIM-карты: 2 SIM; Регистрация IMEI: Зарегистрирован; Рассрочка: Без рассрочки"
}
```

**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. |
| `color` | Color. |
| `size` | Size. |
| `storage` | Storage capacity. |
| `delivery` | Delivery option. |
| `technical_condition` | Technical condition. |
| `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 | elektronika | 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`):

Brand or vehicle make, such as Samsung, Apple, or Toyota.

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

Model name.

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

Color as shown on the site, such as Черный or Белый.

## `size` (type: `string`):

Clothing size, such as M or XL.

## `delivery` (type: `string`):

Delivery option, such as Самовывоз or Бесплатная доставка.

## `origin` (type: `string`):

Country of manufacture.

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

Used or new.

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

Oldest year, used on parts and vehicles accessories.

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

Newest year.

## `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": "elektronika",
  "condition": "",
  "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-products-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-products-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-products-scraper --silent --output-dataset

```

## MCP server setup

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