# LUN.ua Scraper — Sale, Rent & Newbuilds | $1.5/1k (`skipper_lume/lun-ua-scraper`) Actor

Scrape LUN.ua: secondary sale & rent plus new buildings. Prices, rooms, area, geo, photos, partner source. HTTP + JSON-LD. Only dedicated LUN.ua scraper on Apify.

- **URL**: https://apify.com/skipper\_lume/lun-ua-scraper.md
- **Developed by:** [Maksym Horbachov](https://apify.com/skipper_lume) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## LUN.ua Scraper — Ukraine Real Estate | Sale, Rent, Newbuilds | $1.5/1k

Scrape **LUN.ua** — Ukraine's leading real-estate platform. One actor covers:

- **Secondary sale** — flats, houses, commercial, land
- **Long-term rent** — apartments and houses
- **New buildings** — новобудови catalogs + project details (developers, price ranges)

> **$1.50 per 1,000 results** — the only dedicated LUN.ua scraper on Apify. [See pricing](#pricing).

### Why This Actor?

- **Full LUN coverage** — sale + rent + primary market in one tool
- **Zero setup** — no API key, no login
- **Structured data** — JSON-LD + card enrichment (rooms, area, geo, photos)
- **Partner links** — when LUN aggregates from rieltor.ua etc., you get `sourceUrl`
- **Incremental monitoring** — track new listings and price changes on a schedule
- **HTTP-first** — no browser for market search pages

### Coverage

| Mode | What |
|------|------|
| `market` | Secondary: `/sale\|rent/{city}/{flats\|houses\|commercial\|land}` |
| `newbuildings` | Primary catalog + optional project detail pages |
| `url` | Paste any LUN search / новобудови / project URL |
| `listings` | Specific project URLs |

### What Data You Get

#### Secondary market (sale / rent)

| Field | Example |
|-------|---------|
| `title` | Ломаківська вулиця, 56/2 |
| `price` / `currency` | 385000 / USD |
| `rooms` | 1 |
| `areaSqm` | 72 |
| `pricePerSqm` | 5347 |
| `street` / `city` / `district` | address fields |
| `latitude` / `longitude` | geo |
| `photos` | CDN URLs |
| `description` | Full listing text |
| `sourceSite` / `sourceUrl` | Partner site when aggregated |
| `transactionType` | `sale` or `rent` |
| `propertyType` | `flats`, `houses`, `commercial`, `land` |
| `market` | `secondary` |

#### Sample — sale flat

```json
{
    "id": "1862987549483739",
    "title": "Ломаківська вулиця, 56/2",
    "price": 385000,
    "currency": "USD",
    "rooms": 1,
    "areaSqm": 72,
    "pricePerSqm": 5347,
    "city": "Київ",
    "district": "Печерський",
    "transactionType": "sale",
    "propertyType": "flats",
    "market": "secondary",
    "sourceSite": "rieltor.ua",
    "sourceUrl": "https://rieltor.ua/4520529395",
    "photos": ["https://market-images.lunstatic.net/lun-ua/.../1862987549483739.jpg"]
}
```

#### New buildings (primary)

| Field | Example |
|-------|---------|
| `title` | Апарт-готель Circle |
| `developers` | \["Saga Development", "BGV-Development"] |
| `priceFromUAH` | 2271941 |
| `offers` | Price tiers from JSON-LD |
| `city` | kyiv |
| `market` | `primary` |
| `propertyType` | `newbuilding` |

### Use Cases

| Who | What |
|-----|------|
| **Proptech / aggregators** | Feed UA listings into apps and dashboards |
| **Investors** | Compare secondary asking prices vs newbuild price-from |
| **Agencies** | Monitor competitor inventory and rent levels by district |
| **Analysts** | City-level supply datasets (Kyiv, Lviv, Odesa, …) |
| **Alert bots** | Incremental mode → notify on new flats or price drops |

### Examples

#### Sale — Kyiv flats under $150k

```json
{
    "mode": "market",
    "transactionType": "sale",
    "propertyType": "flats",
    "city": "kyiv",
    "priceTo": 150000,
    "rooms": [1, 2],
    "maxResults": 50
}
```

#### Rent — Lviv apartments

```json
{
    "mode": "market",
    "transactionType": "rent",
    "propertyType": "flats",
    "city": "lviv",
    "maxResults": 40
}
```

#### New buildings — Kyiv projects

```json
{
    "mode": "newbuildings",
    "city": "kyiv",
    "fetchDetails": true,
    "maxResults": 30
}
```

#### Paste URL

```json
{
    "mode": "url",
    "searchUrl": "https://lun.ua/rent/kyiv/houses",
    "maxResults": 60
}
```

### Incremental monitoring

```json
{
    "mode": "market",
    "transactionType": "sale",
    "propertyType": "flats",
    "city": "kyiv",
    "maxResults": 200,
    "incremental": true,
    "stateKey": "kyiv-sale-flats",
    "onlyChanges": true
}
```

`changeType`: `new` | `price_dropped` | `price_raised` | `unchanged` | `delisted`.

### Pricing

**$1.50 per 1,000 results** (PPE).

| Volume | Cost |
|--------|------|
| 50 results | $0.075 |
| 1,000 results | $1.50 |
| 10,000 results | $15.00 |

### Quick Start

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("skipper_lume/lun-ua-scraper").call(run_input={
    "mode": "market",
    "transactionType": "sale",
    "propertyType": "flats",
    "city": "kyiv",
    "maxResults": 25,
})

for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{row['title']} — {row.get('price')} {row.get('currency')} — {row.get('district')}")
```

### Cities

Market mode uses English slugs: `kyiv`, `lviv`, `odesa`, `kharkiv`, `dnipro`, …

Newbuildings mode maps to LUN Ukrainian catalog URLs (Київ, Львів, Одеса, …).

### Notes

- LUN aggregates many secondary listings from partner sites — we return LUN fields plus `sourceUrl` when available
- Market search uses HTTP + JSON-LD (no browser)
- For large multi-page runs, enable Apify Proxy

### About LUN.ua

[LUN.ua](https://lun.ua) is Ukraine's top real-estate discovery platform for secondary sales, long-term rentals, and new developments from major developers.

### Changelog

#### v1.0 (July 2026)

- Initial release: market sale/rent, newbuildings, URL modes, incremental monitoring

# Actor input Schema

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

market: secondary sale/rent search. newbuildings: primary market projects. url: paste any LUN URL. listings: specific project/listing URLs.

## `transactionType` (type: `string`):

sale or rent (market mode)

## `propertyType` (type: `string`):

flats, houses, commercial, or land

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

City path slug: kyiv, lviv, odesa, kharkiv, dnipro, …

## `priceFrom` (type: `integer`):

Minimum price (USD for sale, UAH often for rent — as used on LUN URL filters)

## `priceTo` (type: `integer`):

Maximum price

## `rooms` (type: `array`):

Optional room counts, e.g. \[1, 2]

## `searchUrl` (type: `string`):

Any LUN search or newbuildings URL. Used when mode = url.

## `listingUrls` (type: `array`):

Specific newbuilding project URLs (or market search URLs). Used when mode = listings.

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

For newbuildings mode: visit each project page for developers, price ranges, offers.

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

Maximum listings or projects to return. Keep small for quick tests.

## `maxConcurrency` (type: `integer`):

Parallel detail-page requests for newbuildings.

## `incremental` (type: `boolean`):

Compare this run to the previous snapshot for the same stateKey.

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

Snapshot namespace, e.g. kyiv-sale-flats.

## `onlyChanges` (type: `boolean`):

When incremental is on, skip unchanged rows.

## `detectDelisted` (type: `boolean`):

Emit stubs for IDs missing since the last snapshot.

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

Residential recommended — LUN may block datacenter IPs.

## Actor input object example

```json
{
  "mode": "market",
  "transactionType": "sale",
  "propertyType": "flats",
  "city": "kyiv",
  "searchUrl": "https://lun.ua/sale/kyiv/flats",
  "fetchDetails": true,
  "maxResults": 5,
  "maxConcurrency": 4,
  "incremental": false,
  "stateKey": "default",
  "onlyChanges": false,
  "detectDelisted": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "UA"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset of LUN.ua listings / projects

# 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 = {
    "city": "kyiv",
    "searchUrl": "https://lun.ua/sale/kyiv/flats",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "UA"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("skipper_lume/lun-ua-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 = {
    "city": "kyiv",
    "searchUrl": "https://lun.ua/sale/kyiv/flats",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "UA",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("skipper_lume/lun-ua-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "city": "kyiv",
  "searchUrl": "https://lun.ua/sale/kyiv/flats",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "UA"
  }
}' |
apify call skipper_lume/lun-ua-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=skipper_lume/lun-ua-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eWQYcQdBwxoVlGIYt/builds/lUIh0qRe2zfJYuMDW/openapi.json
