# FlatInfo.ru Listings and Houses Parser (`finn781/flatinfo-parser`) Actor

Extracts active sale and rental listings plus linked house characteristics from FlatInfo.ru.

- **URL**: https://apify.com/finn781/flatinfo-parser.md
- **Developed by:** [Alexey Koznev](https://apify.com/finn781) (community)
- **Categories:** Real estate, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 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/actors/running/actors-in-store.md#pay-per-usage

## 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

### What does FlatInfo.ru Listings and Houses Parser do?

**FlatInfo.ru Listings and Houses Parser extracts active residential sale and rental offers together with detailed information about their buildings.** Give it one or more supported [FlatInfo.ru](https://flatinfo.ru/) URLs and it produces structured JSON records that are ready for analysis, import into a database, or export to a spreadsheet.

The Actor runs on Apify, so its results are available through the API, schedules, webhooks, integrations, monitoring, and multiple export formats. It uses lightweight HTTP requests instead of a full browser and can rotate residential proxy sessions when FlatInfo.ru limits access.

### Why use FlatInfo.ru Listings and Houses Parser?

The Actor is useful for property market research, price comparisons, building analysis, lead-free inventory monitoring, and internal real-estate datasets. Listing and house records have deterministic IDs, allowing downstream systems to update or deduplicate records. Contact details are intentionally excluded.

### Pricing

The Actor currently uses Apify's **pay-per-usage** model. There is no additional Actor fee: the account running it pays only for the Apify platform resources consumed by that run, including residential proxy traffic, compute, and storage operations.

Begin with a small run and review its platform usage before increasing the request limit. Pay-per-event monetization may be introduced later; any future pricing change will be announced through the Actor's public pricing page.

### How to use FlatInfo.ru Listings and Houses Parser

1. Open the Actor's **Input** tab.
2. Add up to 1000 FlatInfo.ru sale, rental, or house URLs.
3. Keep the default residential Apify Proxy configuration.
4. Set a lower page limit for a small test run if needed.
5. Start the Actor and open the **Output** tab when the run finishes.

The Actor processes the supplied page and follows only its direct “О доме” links. It does not crawl pagination or explore the rest of the website.

### Input

```json
{
    "startUrls": [
        { "url": "https://flatinfo.ru/prodaja.asp?house=12284" },
        { "url": "https://flatinfo.ru/h_info1.asp?hid=12284" }
    ],
    "maxRequestsPerCrawl": 1000,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "RU"
    }
}
```

Only HTTPS URLs on `flatinfo.ru` are accepted. Supported paths are `prodaja.asp`, `arenda.asp`, and `h_info1.asp?hid=...`.

### Output

Each Dataset item is either a `listing` or `house` record:

```json
{
    "entityType": "listing",
    "recordId": "listing:34691662",
    "transactionType": "sale",
    "price": 20500000,
    "currency": "RUB",
    "rooms": 2,
    "areaTotal": 60,
    "floor": 17,
    "floorsTotal": 22,
    "houseId": "12284",
    "sourceUrl": "https://flatinfo.ru/prodaja.asp?house=12284"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. The `OUTPUT` key-value record contains run counts and any blocked or failed URLs.

### Data table

| Field                         | Description                                    |
| ----------------------------- | ---------------------------------------------- |
| `entityType`                  | `listing` or `house`                           |
| `recordId`                    | Stable record identifier                       |
| `transactionType`             | Sale or rent                                   |
| `price`, `pricePerSqm`        | Normalized RUB prices                          |
| `address`                     | Raw and structured address                     |
| `rooms`, `areaTotal`, `floor` | Main property characteristics                  |
| `metro`                       | Nearby stations and travel details             |
| `houseId`, `houseUrl`         | Link between a listing and its house           |
| `rawAttributes`               | Additional house attributes not yet normalized |
| `sourceUrl`, `scrapedAt`      | Source attribution and collection time         |

### How much does it cost to scrape FlatInfo.ru?

The Actor itself uses little memory because it does not launch a browser. The main variable cost is residential proxy traffic, which depends on the number and size of pages and the pricing of your Apify plan. Begin with several URLs, inspect the run usage, and extrapolate before processing hundreds of pages. Free-tier allowances and proxy availability depend on your current Apify subscription.

### Tips and advanced options

- Keep the residential proxy enabled; datacenter addresses are more likely to receive SmartCaptcha.
- The Actor uses one request at a time, adds a random 1.5–4 second pause, respects an additional same-domain delay, and processes at most 20 requests per minute.
- Failed requests cool down for 15, then 45 seconds before retrying with a new session.
- A circuit breaker stops the crawl after three consecutive CAPTCHA responses, or when CAPTCHA reaches 20% of a sufficiently large recent sample.
- Reduce `maxRequestsPerCrawl` to cap cost during tests.
- A URL that still shows Yandex SmartCaptcha after three sessions is reported as `blocked`; CAPTCHA is not solved or bypassed.
- Image files are not downloaded. Dataset items contain their original URLs only.

### FAQ, disclaimers, and support

This Actor extracts only active listings and house information. It excludes archived offers, phone numbers, names, sitemap discovery, residential complexes, infrastructure pages, and pagination.

Web scraping may be regulated by website terms, copyright, database rights, privacy rules, and local law. You are responsible for ensuring that your use is lawful. Keep `sourceUrl` in exported data and follow FlatInfo.ru's requirement to link back when using its materials. If the website changes its markup or consistently returns a challenge, report a reproducible URL and run ID through the Actor's Issues tab. Custom extensions can add further public page types after a separate compliance review.

# Actor input Schema

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

One to 1000 HTTPS URLs matching prodaja.asp, arenda.asp, or h\_info1.asp?hid=... on FlatInfo.ru.

## `maxRequestsPerCrawl` (type: `integer`):

Hard limit including linked house pages.

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

Residential Apify Proxy is recommended because FlatInfo.ru can present Yandex SmartCaptcha.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://flatinfo.ru/prodaja.asp?house=12284"
    },
    {
      "url": "https://flatinfo.ru/h_info1.asp?hid=12284"
    }
  ],
  "maxRequestsPerCrawl": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "startUrls": [
        {
            "url": "https://flatinfo.ru/prodaja.asp?house=12284"
        },
        {
            "url": "https://flatinfo.ru/h_info1.asp?hid=12284"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("finn781/flatinfo-parser").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 = { "startUrls": [
        { "url": "https://flatinfo.ru/prodaja.asp?house=12284" },
        { "url": "https://flatinfo.ru/h_info1.asp?hid=12284" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("finn781/flatinfo-parser").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 '{
  "startUrls": [
    {
      "url": "https://flatinfo.ru/prodaja.asp?house=12284"
    },
    {
      "url": "https://flatinfo.ru/h_info1.asp?hid=12284"
    }
  ]
}' |
apify call finn781/flatinfo-parser --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,finn781/flatinfo-parser"
        }
    }
}

```

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/QXEicmqXq9jU83MN7/builds/yRnk0KGiRw9l7bNOr/openapi.json
