# Imot.bg Scraper - Bulgarian Real Estate Listings (`studio-amba/imot-bg-scraper`) Actor

Scrape property listings from Imot.bg, Bulgaria's largest real estate portal. Extract prices, locations, areas, rooms, floors, images, and seller details for apartments, houses, plots, and commercial properties. No login needed.

- **URL**: https://apify.com/studio-amba/imot-bg-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Imot.bg Scraper

Extract real estate listings from [Imot.bg](https://www.imot.bg), Bulgaria's largest and most popular property portal. Imot.bg aggregates hundreds of thousands of active listings from agencies and private sellers across all major Bulgarian cities and regions.

### Why use this actor?

Imot.bg is the dominant real estate platform in Bulgaria, covering apartments, houses, villas, plots, offices, and commercial properties. This actor lets you collect structured property data at scale — prices, areas, rooms, floors, construction types, locations, images, and seller details — without manual browsing or login requirements.

Use cases include market analysis, investment research, relocation planning, price monitoring across Bulgarian cities, academic housing studies, and competitor tracking for real estate agencies.

### How to scrape imot.bg data

1. Go to the actor's page on the Apify Store
2. Enter a Bulgarian city name (e.g., "София", "Пловдив", "Варна") or paste an Imot.bg search URL
3. Choose listing type (sale or rent) and property type (studio, 2-room, 3-room, house, villa, plot)
4. Click "Start" to run the scraper
5. Download results as JSON, CSV, or Excel when complete

The actor uses Playwright with residential proxies for reliable access. Data is extracted directly from the rendered page HTML for maximum accuracy.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `searchQuery` | String | No | Bulgarian city to search, e.g., "София" (Sofia), "Пловдив" (Plovdiv), "Варна" (Varna). Defaults to "София". |
| `startUrls` | Array | No | Imot.bg search or detail URLs. Overrides searchQuery if provided. |
| `listingType` | String | No | `sale` (default) or `rent` |
| `propertyType` | String | No | `all` (default), `ednostaen` (studio), `dvustaen` (2-room), `tristaen` (3-room), `mnogostaen` (4+), `mezonet`, `kashta` (house), `vila` (villa), `pozemlen-imot` (plot) |
| `maxResults` | Integer | No | Maximum listings to return (default: 100) |
| `proxyConfiguration` | Object | No | Proxy settings. Residential proxies recommended — configured by default. |

### Output

Each listing contains:

| Field | Type | Example |
|-------|------|---------|
| `listingTitle` | String | `"Двустаен апартамент, Младост 1"` |
| `price` | Number | `85000` |
| `currency` | String | `"EUR"` |
| `pricePerSqm` | Number | `1275` |
| `listingType` | String | `"sale"` |
| `propertyType` | String | `"2-room apartment"` |
| `location` | String | `"София, Младост 1"` |
| `city` | String | `"София"` |
| `neighbourhood` | String | `"Младост 1"` |
| `area` | Number | `66.5` |
| `rooms` | Number | `2` |
| `floor` | String | `"3 of 8"` |
| `constructionType` | String | `"тухла"` (brick) |
| `constructionYear` | Number | `2015` |
| `sellerType` | String | `"agency"` or `"private"` |
| `sellerName` | String | `"Адрес Недвижими Имоти"` |
| `imageUrl` | String | Primary listing photo URL |
| `imageUrls` | Array | All listing photo URLs |
| `listingDescription` | String | Full property description text |
| `url` | String | Full Imot.bg listing URL |
| `scrapedAt` | String | ISO 8601 timestamp |

### Example output

```json
{
    "listingTitle": "Двустаен апартамент, Младост 1",
    "price": 85000,
    "currency": "EUR",
    "pricePerSqm": 1275,
    "listingType": "sale",
    "propertyType": "2-room apartment",
    "location": "София, Младост 1",
    "city": "София",
    "neighbourhood": "Младост 1",
    "area": 66.5,
    "rooms": 2,
    "floor": "3 of 8",
    "constructionType": "тухла",
    "constructionYear": 2015,
    "sellerType": "agency",
    "sellerName": "Адрес Недвижими Имоти",
    "imageUrl": "https://www.imot.bg/images/...",
    "imageUrls": ["https://www.imot.bg/images/..."],
    "listingDescription": "Продава се двустаен апартамент в отлично състояние...",
    "url": "https://www.imot.bg/pcgi/imot.cgi?act=5&adv=...",
    "scrapedAt": "2026-06-09T14:30:00.000Z"
}
````

### Supported cities

The actor supports all major Bulgarian cities. You can search using Bulgarian or Latin characters:

- **София** (Sofia) — capital, largest market
- **Пловдив** (Plovdiv) — second largest city
- **Варна** (Varna) — Black Sea coast
- **Бургас** (Burgas) — Black Sea coast
- **Русе** (Ruse) — Danube city
- **Стара Загора** (Stara Zagora)
- **Плевен** (Pleven)
- **Велико Търново** (Veliko Tarnovo)
- **Благоевград** (Blagoevgrad)
- And 20+ more regional capitals

### Cost estimate

This actor uses Playwright with residential proxies, making it more resource-intensive than simple HTTP scrapers. Approximate costs:

- **~50 results**: $0.10-0.25 in platform credits
- **~500 results**: $0.50-1.50 in platform credits
- **~5,000 results**: $3.00-8.00 in platform credits

Costs depend on page load times and proxy usage.

### Tips for best results

- **Use residential proxies** (configured by default). Datacenter proxies may be blocked.
- **Start small** — test with `maxResults: 20` before running large scrapes.
- **Use specific cities** — searching for "София" returns more focused results than broad region searches.
- **Bulgarian names work best** — use Cyrillic city names (e.g., "София" not "Sofia") for more reliable results.
- **Property types in Bulgarian** — the property type filter maps directly to Imot.bg's categories.

### Limitations

- Imot.bg is a Bulgarian-language website. Listing titles and descriptions are in Bulgarian.
- Some listings may have limited data depending on what the seller or agent published.
- The actor scrapes the public website. No login or authentication is used, and no cookies are required.
- Scraping speed is throttled to avoid triggering anti-bot measures.
- Price data reflects the listed asking price, not the final transaction price.
- Prices can be in BGN (Bulgarian Lev) or EUR depending on the seller's preference.

### Related scrapers

- [OLX Bulgaria Scraper](https://apify.com/itsnotyouitsme/olx-scraper) — OLX.bg classifieds
- [Immoweb Scraper](https://apify.com/itsnotyouitsme/immoweb-scraper) — Belgium's #1 real estate portal
- [Otodom Scraper](https://apify.com/itsnotyouitsme/otodom-scraper) — Poland's largest real estate portal
- [ImmoScout24 Scraper](https://apify.com/itsnotyouitsme/immoscout24-scraper) — German/Austrian real estate
- [Immobiliare Scraper](https://apify.com/itsnotyouitsme/immobiliare-scraper) — Italian real estate listings
- [Idealista Scraper](https://apify.com/itsnotyouitsme/idealista-scraper) — Spanish real estate portal

# Actor input Schema

## `searchQuery` (type: `string`):

Bulgarian city to search for properties, e.g., 'София' (Sofia), 'Пловдив' (Plovdiv), 'Варна' (Varna), 'Бургас' (Burgas). Defaults to 'София' if empty.

## `startUrls` (type: `array`):

Imot.bg search or property detail URLs. Overrides searchQuery if provided.

## `listingType` (type: `string`):

Search for properties for sale or for rent.

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

Type of property to search for. Leave empty for all types (default).

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

Maximum number of property listings to scrape.

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

Residential proxies recommended for reliable scraping. Bulgarian proxies give best results.

## Actor input object example

```json
{
  "searchQuery": "София",
  "startUrls": [
    {
      "url": "https://www.imot.bg/obiavi/prodazhbi/grad-sofiya"
    }
  ],
  "listingType": "sale",
  "propertyType": "all",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "София",
    "startUrls": [
        {
            "url": "https://www.imot.bg/obiavi/prodazhbi/grad-sofiya"
        }
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/imot-bg-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 = {
    "searchQuery": "София",
    "startUrls": [{ "url": "https://www.imot.bg/obiavi/prodazhbi/grad-sofiya" }],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/imot-bg-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 '{
  "searchQuery": "София",
  "startUrls": [
    {
      "url": "https://www.imot.bg/obiavi/prodazhbi/grad-sofiya"
    }
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call studio-amba/imot-bg-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Imot.bg Scraper - Bulgarian Real Estate Listings",
        "description": "Scrape property listings from Imot.bg, Bulgaria's largest real estate portal. Extract prices, locations, areas, rooms, floors, images, and seller details for apartments, houses, plots, and commercial properties. No login needed.",
        "version": "0.1",
        "x-build-id": "McYrbP4bK4o7r5NVz"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~imot-bg-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-imot-bg-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~imot-bg-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-imot-bg-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~imot-bg-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-imot-bg-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Search City",
                        "type": "string",
                        "description": "Bulgarian city to search for properties, e.g., 'София' (Sofia), 'Пловдив' (Plovdiv), 'Варна' (Varna), 'Бургас' (Burgas). Defaults to 'София' if empty."
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Imot.bg search or property detail URLs. Overrides searchQuery if provided.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "listingType": {
                        "title": "Listing Type",
                        "enum": [
                            "sale",
                            "rent"
                        ],
                        "type": "string",
                        "description": "Search for properties for sale or for rent.",
                        "default": "sale"
                    },
                    "propertyType": {
                        "title": "Property Type",
                        "enum": [
                            "all",
                            "ednostaen",
                            "dvustaen",
                            "tristaen",
                            "mnogostaen",
                            "mezonet",
                            "kashta",
                            "vila",
                            "pozemlen-imot"
                        ],
                        "type": "string",
                        "description": "Type of property to search for. Leave empty for all types (default).",
                        "default": "all"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of property listings to scrape.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Residential proxies recommended for reliable scraping. Bulgarian proxies give best results."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
