# KV.EE Property Scraper (dev probe) (`sian.agency/kv-ee-property-scraper`) Actor

Scrape KV.EE, Estonia's top property portal: price, €/m², size, rooms, floor, year built, energy class, GPS and agency. Sale and rent, all of Estonia.

- **URL**: https://apify.com/sian.agency/kv-ee-property-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 4 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.32 / 1,000 property searches

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

## KV.EE Scraper - Estonia Property Listings & Prices 🏘️

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Aruodas Lithuania](https://img.shields.io/badge/Store-Aruodas%20Lithuania-1AE392)](https://apify.com/sian.agency/aruodas-property-scraper?fpr=sian) [![SS.lv Latvia](https://img.shields.io/badge/Store-SS.lv%20Latvia-1AE392)](https://apify.com/sian.agency/ss-property-scraper?fpr=sian) [![Oikotie Finland](https://img.shields.io/badge/Store-Oikotie%20Finland-1AE392)](https://apify.com/sian.agency/oikotie-property-scraper?fpr=sian)

#### 🎉 Every live advert on Estonia's number-one property portal, from $1.50 per 1,000 properties

##### Built for Estonian estate agents, valuers, developers, lenders and anyone pricing Tallinn property

***

### 🔎 What is the KV.EE Property Scraper — and when should you use it?

The **KV.EE Property Scraper** turns public KV.EE property adverts from anywhere in Estonia into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** Estonian sale and rental adverts as rows: flats, houses, house parts, land, commercial premises and garages. Every search row carries the asking price as a number, price per m², floor area, rooms, floor, year built, street, district, city and county. Open each advert in full and you also get condition, ownership form, energy class, cadastral number, GPS, the agency and every photo.

**Use something else when:** you want property in another Baltic or Nordic country. Use [Aruodas Scraper](https://apify.com/sian.agency/aruodas-property-scraper?fpr=sian) for Lithuanian property adverts. Use [SS.lv Scraper](https://apify.com/sian.agency/ss-property-scraper?fpr=sian) for Latvian property adverts. Use [Oikotie Scraper](https://apify.com/sian.agency/oikotie-property-scraper?fpr=sian) for Finnish property adverts. This actor reads KV.EE only, for live adverts. Sold prices and phone numbers are not returned: KV.EE publishes live adverts only and shows phone numbers only after a click.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/kv-ee-property-scraper

**Your agent can pay for its own runs.** This Actor is eligible for [agentic payments](https://docs.apify.com/platform/actors/publishing/monetize), so an agent can discover it, run it and settle the bill over [x402](https://www.x402.org/) (USDC on Base) or [Skyfire](https://www.skyfire.xyz/) — without an Apify account or API token of its own. Billing is the same either way: per successful row, never for errors.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want property adverts and asking prices from KV.EE using the Apify Actor `sian.agency/kv-ee-property-scraper`.

Use it when I need: Estonian sale and rental adverts as rows: flats, houses, house parts, land, commercial premises and garages. Every search row carries the asking price as a number, price per m², floor area, rooms, floor, year built, street, district, city and county. Open each advert in full and you also get condition, ownership form, energy class, cadastral number, GPS, the agency and every photo.

Don't use it when: you want property in another Baltic or Nordic country — use aruodas-property-scraper or ss-property-scraper or oikotie-property-scraper instead.

How to call it: set `propertyType` (`apartment`, `house`, `house-part`, `land`, `commercial`, `garage`), `dealType` (`sale` or `rent`) and `location` (`tallinn`, `tartu`, `parnu`, a county such as `harjumaa`, or `all-estonia`). `priceMin`/`priceMax`, `roomsMin`/`roomsMax`, `areaMin`/`areaMax`, `plotAreaMin`/`plotAreaMax`, `floorMin`/`floorMax` and `yearBuiltMin`/`yearBuiltMax` narrow it, `ownerOnly` keeps owner-placed adverts, `sortBy` picks the order. `includeDetails` opens each advert for GPS, energy class, agency and every photo, for an extra charge per advert. To expand adverts you already have, set `operation` to `detail` and pass `listingUrls`.

Start with this input:
{
  "operation": "search",
  "propertyType": "apartment",
  "dealType": "sale",
  "location": "tallinn",
  "roomsMin": 2,
  "priceMax": 250000,
  "sortBy": "newest",
  "maxResults": 100
}

Ask me which place to cover, which property type, and whether it is for sale or to rent, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *List two-room flats for sale in Tallinn under 250,000 euros posted this week, with price per m².*
- *Compare monthly rent per m² for flats in Tallinn, Tartu and Pärnu.*
- *Find owner-listed houses for sale in Harju County with at least 1,500 m² of land.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/kv-ee-property-scraper.md](https://apify.com/sian.agency/kv-ee-property-scraper.md).

### 📋 Overview

**Estonian property advertising runs through KV.EE, and KV.EE publishes no public API.** This Actor reads the portal's own results and advert pages and returns every live advert as a flat row. Sale and rent, Tallinn to Võru County, flats through to garages.

**Why professionals choose it:**

- ✅ **The fields an Estonian valuation needs**: asking price, price per m², floor area, rooms, floor and floors in the building, year built, condition, ownership form and energy class, as typed numbers and labels.
- 🇪🇪 **All of Estonia, or one city.** Tallinn, Tartu and Pärnu, the 15 counties, or the whole country. About 8,900 flats and 3,900 houses are advertised for sale nationwide at any one time.
- 🎛️ **Seven filters KV.EE applies itself**: price, floor area, plot size, rooms, floor, year built and owners only. Every one was checked against the live site, so the row count you pay for already reflects them.
- 🙋 **Owner-listed adverts on their own.** One tick applies KV.EE's own "direct from owner" filter.
- 💰 **$1.50 per 1,000 properties**, charged per delivered row and never for a row that failed.
- 🧭 **GPS, cadastral number and every photo** on the full advert, ready for a map or the land register.

***

### ✨ Features

- 🏘️ **Six property types in one Actor**: apartments, houses, house parts (semi-detached and terraced units), land, commercial premises and garages, each for sale or to rent.
- 📊 **Price per m² on every row**, capital value on sale adverts and monthly rent per m² on rentals.
- 🏗️ **New builds named.** A new-build advert carries its development's name, its page and how many units it lists.
- ⚡ **Energy class, condition and ownership form** on the full advert, plus monthly running costs for summer and winter where the advertiser gives them.
- 🌳 **Plot size kept separate from floor area**, so land and houses never mix the two.
- 📉 **Price cuts visible.** When an advert has been repriced, the full advert returns the old price next to the new one.
- 🆕 **Nine sort orders**, including newest first, which turns a scheduled run into a new-supply monitor.
- 🔗 **Paste a KV.EE search link.** Set filters on kv.ee, copy the address bar, and the Actor pages through that exact search.
- 📄 **Property Detail mode** expands advert links you already have into full records.
- 📦 **Over 60 flat fields**: export as CSV, Excel or JSON, or pull them over the API.

***

### 🎬 Quick Start

Pick a place, choose sale or rent, press Start. Rows land in the dataset as they are found, and a run report goes to the key-value store with the counts and what they cost.

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~kv-ee-property-scraper/runs?token=YOUR_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"operation":"search","propertyType":"apartment","dealType":"sale","location":"tallinn","maxResults":100}'
```

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose what and where

Pick the property type, sale or rent, and a place: Tallinn, Tartu, Pärnu, a county, or all of Estonia.

#### Step 2: Narrow it down

Add a price band, floor area, rooms, floor or year built if you want them. Tick Owners only to skip agencies.

#### Step 3: Press Start

Set how many properties to collect. Switch on "Open each advert in full" when you need GPS, the description, the agency and every photo.

**That's it. Within a minute you'll have:**

- Every matching property as a spreadsheet row
- Price per m² already worked out on each one
- A run report showing what was found, what failed and what it cost

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `operation` | string | No | `search` (default) reads results pages; `detail` opens the advert links you paste |
| `propertyType` | string | No | `apartment`, `house`, `house-part`, `land`, `commercial` or `garage` |
| `dealType` | string | No | `sale` or `rent` (rent prices are monthly) |
| `location` | string | No | `tallinn`, `tartu`, `parnu`, one of 15 counties, or `all-estonia` |
| `ownerOnly` | boolean | No | Only adverts the owner placed directly |
| `priceMin` / `priceMax` | integer | No | Asking price band in euros |
| `areaMin` / `areaMax` | integer | No | Floor area in m² (not for land) |
| `plotAreaMin` / `plotAreaMax` | integer | No | Plot size in m² (land and houses) |
| `roomsMin` / `roomsMax` | integer | No | Rooms (apartments, houses, house parts) |
| `floorMin` / `floorMax` | integer | No | Floor (apartments and commercial premises) |
| `yearBuiltMin` / `yearBuiltMax` | integer | No | Construction year (not for land) |
| `sortBy` | string | No | `relevance`, `newest`, `oldest`, `price-asc`, `price-desc`, `price-per-sqm-asc`, `price-per-sqm-desc`, `area-asc`, `area-desc` |
| `maxResults` | integer | No | How many properties to return (default 100) |
| `includeDetails` | boolean | No | Also open each advert for the full record (billed per advert) |
| `searchUrls` | array | No | KV.EE results page addresses, used instead of the fields above |
| `listingUrls` | array | No | KV.EE advert links for Property Detail |

**Example: two- and three-room flats for sale in Tallinn under €250,000, newest first**

```json
{
  "operation": "search",
  "propertyType": "apartment",
  "dealType": "sale",
  "location": "tallinn",
  "roomsMin": 2,
  "roomsMax": 3,
  "priceMax": 250000,
  "sortBy": "newest",
  "maxResults": 200
}
```

**Example: expand adverts you already have**

```json
{
  "operation": "detail",
  "listingUrls": ["https://www.kv.ee/3929693", "https://www.kv.ee/3401777"]
}
```

A filter that KV.EE does not offer for the chosen property type (rooms on land, for example) is refused before anything is charged.

***

### 📤 Output

Every property is one row with **over 60 fields**. The most useful ones:

| Field | Type | Description |
|-------|------|-------------|
| `listingId` | integer | KV.EE advert number |
| `listingUrl` | string | Link to the advert |
| `price` | number | Asking price in euros (monthly rent for rentals) |
| `pricePerSqm` | number | Price per m² as KV.EE shows it |
| `areaSqm` | number | Floor area in m² |
| `plotAreaSqm` | number | Plot size in m² (land and houses) |
| `rooms` | integer | Rooms |
| `floor` / `totalFloors` | integer | Floor and floors in the building |
| `yearBuilt` | integer | Construction year |
| `streetAddress`, `district`, `city`, `county` | string | Location, smallest to largest |
| `developmentName` | string | New-build project name, with `developmentUnits` |
| `condition`, `ownershipForm`, `energyClass` | string | From the full advert |
| `latitude` / `longitude` | number | Map pin from the full advert |
| `cadastralNumber` | string | Cadastral number from the full advert |
| `sellerType`, `agencyName` | string | Agency or private owner |
| `imageUrls` | array | Every photo on the full advert |

**Example row (search with the full advert):**

```json
{
  "listingId": 3929693,
  "listingUrl": "https://www.kv.ee/muua-hubane-ja-renoveeritud-2-toaline-korter-hinna-3929693",
  "propertyTitle": "Müüa korter, 2 tuba - Mustamäe tee 199, Mustamäe, Männi park, Mustamäe, Tallinn",
  "dealType": "sale",
  "propertyType": "apartment",
  "price": 139900,
  "priceText": "139 900 €",
  "currency": "EUR",
  "pricePerSqm": 3261,
  "areaSqm": 42.9,
  "rooms": 2,
  "bedrooms": 1,
  "floor": 3,
  "totalFloors": 9,
  "yearBuilt": 1969,
  "condition": "Heas korras",
  "ownershipForm": "Korteriomand",
  "cadastralNumber": "78405:501:0970",
  "utilityCostsSummer": 80,
  "utilityCostsWinter": 129,
  "streetAddress": "Mustamäe tee 199",
  "district": "Mustamäe, Männi park, Mustamäe",
  "city": "Tallinn",
  "county": "Harjumaa",
  "latitude": 59.401547,
  "longitude": 24.679611,
  "sellerType": "agency",
  "agencyName": "Kodukoha Kinnisvara OÜ",
  "datePosted": "2026-09-23",
  "photoCount": 33,
  "hasDetail": true,
  "status": "success"
}
```

#### Coverage

All of Estonia: Tallinn, Tartu and Pärnu as cities, the 15 counties, or the whole country. Sale and rent across apartments, houses, house parts, land, commercial premises and garages. Sold prices are not available, because KV.EE publishes live adverts only.

***

### 💼 Use Cases & Examples

#### 1. Rental yield across Tallinn districts

**Investors and analysts compare what flats cost with what they rent for, district by district.**

**Input:** the same Tallinn apartment search once for sale and once for rent
**Output:** price per m² on both sides, with district on every row
**Use:** join on district and divide for gross yield

#### 2. Watching new supply

**Agencies and developers see every new advert the day it appears.**

**Input:** `sortBy: newest`, scheduled daily
**Output:** new adverts with price, size, floor, year built and district
**Use:** a morning feed of what came on the market

#### 3. Owner-listed leads

**Estate agents find sellers who have not signed with an agency yet.**

**Input:** `ownerOnly: true` for a city
**Output:** owner-placed adverts only
**Use:** a prospect list that skips competitors' stock

#### 4. Valuation comparables

**Valuers and lenders pull comparables for one district in one run.**

**Input:** rooms, floor area and year-built bounds, with the full advert on
**Output:** €/m², condition, energy class and cadastral number per comparable
**Use:** a median €/m² tied to the land register

#### 5. New-build pipeline tracking

**Developers track competing projects and their asking prices.**

**Input:** apartments for sale in Tallinn or Harju County
**Output:** development name, unit count and prices per unit
**Use:** a live map of what competing projects ask

#### 6. Land and commercial sourcing

**Buyers of land and business premises screen the whole country quickly.**

**Input:** land or commercial premises, with plot size or floor filters
**Output:** permitted use, plot size, floor area and €/m²
**Use:** a shortlist ranked by price per m²

***

### 🔗 Integration Examples

#### JavaScript / Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/kv-ee-property-scraper').call({
  operation: 'search',
  propertyType: 'apartment',
  dealType: 'rent',
  location: 'tartu',
  maxResults: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/kv-ee-property-scraper').call(run_input={
    'operation': 'search',
    'propertyType': 'house',
    'dealType': 'sale',
    'location': 'harjumaa',
    'plotAreaMin': 1500,
    'maxResults': 100,
})

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item['price'], item.get('plotAreaSqm'), item['listingUrl'])
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~kv-ee-property-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation":"search","location":"tallinn","ownerOnly":true,"maxResults":50}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: a daily schedule
2. **HTTP Request**: call the Actor with `sortBy: newest`
3. **Process**: keep rows you have not seen, by `listingId`
4. **Action**: post them to a sheet, a CRM or a chat channel

***

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **25 properties** per run, same fields and quality
- No credit card required
- Good for testing a search before you schedule it

#### PAID Tier (Production Ready)

- **Unlimited** properties per run
- 50 properties per results page, so a 1,000-row run takes a couple of minutes
- Pay per result: only delivered properties are charged

💰 **$1.50 per 1,000 properties** on the entry paid plan, less on higher plans. The full advert is a separate, optional charge per property.

🔗 [View current pricing](https://apify.com/sian.agency/kv-ee-property-scraper?fpr=sian)

***

### ❓ Frequently Asked Questions

**Q: Does it cover all of Estonia?**
A: Yes. Pick Tallinn, Tartu or Pärnu, one of the 15 counties, or all of Estonia. For a single district or a smaller town, set it on kv.ee and paste the results address into Search page URLs.

**Q: Can I get sold prices?**
A: No. KV.EE publishes live adverts only. Order by newest first and run daily to track new supply instead.

**Q: Do I get phone numbers?**
A: No. KV.EE shows the broker's number only after a click, and this Actor does not collect it. The full advert gives the agent's name and agency.

**Q: Why do some new-build rows say a development has 30 units?**
A: KV.EE groups the units of one project under a single card. The row names the development, links its page and counts its units.

**Q: What does Owners only do?**
A: It applies KV.EE's own "otse omanikult" filter, so every row is an advert the owner placed without an agency.

**Q: How is rent shown?**
A: As the monthly rent in euros, and price per m² is the monthly rent per m². Every row carries `dealType`, so sale and rent never get mixed up.

**Q: What output formats are available?**
A: JSON, CSV, Excel, XML and HTML, straight from the Apify dataset, or over the API.

***

### 🐛 Troubleshooting

**A search returned no rows**

- Your filters may be tighter than the market. Widen the price band or remove a filter.
- Check the run log: it prints KV.EE's own title for the search and how many pages it holds.

**An advert came back as an error row**

- The advert was probably taken down between the search and the detail open. Error rows are never charged.

**"does not apply to" error before the run starts**

- That filter is not one KV.EE offers for the chosen property type, such as rooms on land. Clear it or change the type.

**A pasted search URL was skipped**

- Paste the address of a KV.EE results page in Estonian (no /en or /ru), not an advert page or the home page.

***

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

KV.EE is a trademark of Kinnisvaraportaal OÜ. This actor is not affiliated with, endorsed by, or sponsored by KV.EE.

***

### 🤝 Support

**Join our active support community**

- For issues or questions, open an issue on the [Issues tab](https://apify.com/sian.agency/kv-ee-property-scraper/issues)
- Check [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/kv-ee-property-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

Property Search reads KV.EE results pages. Property Detail opens the advert addresses you paste in the Advert URLs field.

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

Which kind of property. Apartments for sale is the largest section, with about 8,900 live adverts nationwide.

## `dealType` (type: `string`):

Which side of the market to read. For rentals every price is the monthly rent.

## `location` (type: `string`):

A city, a county or the whole country. Tallinn holds about 3,500 flats for sale. For a single district or a smaller town, set it on kv.ee and paste the address into Search page URLs.

## `ownerOnly` (type: `boolean`):

Only adverts the owner placed directly, which is KV.EE's own 'otse omanikult' filter. Tallinn has about 600 owner-listed flats for sale.

## `priceMin` (type: `integer`):

Lowest asking price in euros. For rentals, the monthly rent. Leave empty for no floor.

## `priceMax` (type: `integer`):

Highest asking price in euros; for rentals, the monthly rent. Leave empty for no ceiling.

## `areaMin` (type: `integer`):

Smallest floor area in square metres. Not used for land, which has no building: use Plot size instead.

## `areaMax` (type: `integer`):

Largest floor area in square metres. Not used for land.

## `plotAreaMin` (type: `integer`):

Smallest plot in square metres. Applies to land and houses only; 10,000 m² is one hectare.

## `plotAreaMax` (type: `integer`):

Largest plot in square metres. Applies to land and houses only.

## `roomsMin` (type: `integer`):

Fewest rooms. Estonian adverts count rooms, not bedrooms, so a two-room flat has one bedroom. Apartments, houses and house parts only.

## `roomsMax` (type: `integer`):

Most rooms. Apartments, houses and house parts only.

## `floorMin` (type: `integer`):

Lowest floor. Set 2 to skip ground-floor flats. Apartments and commercial premises only.

## `floorMax` (type: `integer`):

Highest floor. Apartments and commercial premises only.

## `yearBuiltMin` (type: `integer`):

Earliest construction year. Set 2015 to see modern stock only. Not used for land.

## `yearBuiltMax` (type: `integer`):

Latest construction year. Set 1991 for Soviet-era and older stock. Not used for land.

## `sortBy` (type: `string`):

The order KV.EE returns results in. It decides which properties you get first when you cap the row count, not how many exist.

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

How many properties to return. Pages hold 50, so a run stops on the page that reaches this number.

## `includeDetails` (type: `boolean`):

Also open every advert page for the full description, condition, ownership form, energy class, cadastral number, utility costs, GPS, agency and every photo. Billed as one Property Detail on top of the search row.

## `searchUrls` (type: `array`):

Paste KV.EE results pages instead of using the fields above, for example https://www.kv.ee/korterid-muuk/harjumaa/tallinn/kesklinn?price_max=300000 . Filters in the address are kept. Ignored in Property Detail mode.

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

KV.EE advert addresses for Property Detail, one per line, for example https://www.kv.ee/3929693 or the full advert link.

## Actor input object example

```json
{
  "operation": "search",
  "propertyType": "apartment",
  "dealType": "sale",
  "location": "tallinn",
  "ownerOnly": false,
  "sortBy": "relevance",
  "maxResults": 50,
  "includeDetails": false
}
```

# Actor output Schema

## `kvEeProperties` (type: `string`):

Every property this run returned.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# 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 = {
    "operation": "search",
    "propertyType": "apartment",
    "dealType": "sale",
    "location": "tallinn",
    "ownerOnly": false,
    "sortBy": "relevance",
    "maxResults": 50,
    "includeDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/kv-ee-property-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 = {
    "operation": "search",
    "propertyType": "apartment",
    "dealType": "sale",
    "location": "tallinn",
    "ownerOnly": False,
    "sortBy": "relevance",
    "maxResults": 50,
    "includeDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/kv-ee-property-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 '{
  "operation": "search",
  "propertyType": "apartment",
  "dealType": "sale",
  "location": "tallinn",
  "ownerOnly": false,
  "sortBy": "relevance",
  "maxResults": 50,
  "includeDetails": false
}' |
apify call sian.agency/kv-ee-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/kv-ee-property-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/NhunnyTIrghfC7pHA/builds/047twivO3oO5KvvEh/openapi.json
