# disco.re Property Page Scraper (`bovi/disco-scraper`) Actor

Collect public disco.re property pages. Get property IDs, addresses, PNU values, coordinates, and published details. Run with maxResults and proxy settings; no disco.re login. Pricing: $0.0024 per dataset item + $0.00005 per Actor Start on Free.

- **URL**: https://apify.com/bovi/disco-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 disco.re property page scrapers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## disco.re Property Page Scraper

Run this Actor from an Apify account to extract public property pages indexed by [disco.re](https://disco.re), including buildings, addresses, parcels, coordinates, and published details. On the Free plan, billing is $0.0024 per dataset item plus $0.00005 per Actor Start event.

- Collect records for indexed `/l/<id>` pages, up to the `maxResults` you set, and export property IDs, page URLs, building names, addresses, PNU values, and coordinates for parcel lookup and property research.
- Compare published construction, household, floor, transaction-count, and floor-plan details for building analysis.
- Screen published transaction-count and floor-plan details for real-estate research without treating indexed pages as current sale, jeonse, or monthly-rent listings.
- No disco.re login is needed. Running the Actor requires an Apify account, and you can set proxy settings in `proxyConfiguration`.

### What you get

The Actor reads the public disco.re sitemap, follows indexed property pages, and extracts fields published on the page. Fields that the source page does not provide are omitted from that record.

| Field | Type | What it contains | Availability |
| --- | --- | --- | --- |
| `propertyId` | string | Property identifier from the indexed page URL or page metadata | Included when a usable property ID is found; otherwise no record is emitted |
| `url` | string | Page URL selected from the page metadata, canonical link, or sitemap URL | Included in each emitted record |
| `title` | string | Page title from the page metadata or HTML title | Included when published; otherwise omitted |
| `description` | string | Public page description or summary | Included when published; otherwise omitted |
| `buildingName` | string | Building name derived from the address, description, or title | Included when it can be derived; otherwise omitted |
| `address` | string | Address published on the page | Included when published; otherwise omitted |
| `pnu` | string | Parcel number (PNU) published on the page | Included when published; otherwise omitted |
| `latitude` | number | Latitude parsed from the page coordinate data | Included when published; otherwise omitted |
| `longitude` | number | Longitude parsed from the page coordinate data | Included when published; otherwise omitted |
| `constructionYear` | integer | Published construction year | Included when the description contains the construction year; otherwise omitted |
| `households` | integer | Published household or unit count | Included when the description contains the household count; otherwise omitted |
| `transactionCount` | integer | Published real-transaction count | Included when the description contains the transaction count; otherwise omitted |
| `floorAbove` | integer | Number of above-ground floors | Included when the floor summary is published; otherwise omitted |
| `floorBelow` | integer | Number of below-ground floors | Included when the floor summary is published; otherwise omitted |
| `floorPlanAreasPyeong` | array of numbers | Published floor-plan areas in pyeong | Included when non-empty floor-plan areas are published; otherwise omitted |

### Sample output

Example record:

```json
{
  "propertyId": "ublm4n",
  "url": "https://disco.re/l/ublm4n",
  "title": "'옥인연립' 서울특별시 종로구 옥인동 183-1 실거래가 외 - 디스코",
  "address": "서울특별시 종로구 옥인동 183-1",
  "pnu": "1111011100101830001",
  "latitude": 37.582445548817,
  "longitude": 126.964414395153,
  "buildingName": "옥인연립",
  "constructionYear": 1980,
  "households": 69,
  "transactionCount": 168,
  "floorAbove": 3,
  "floorBelow": 1,
  "floorPlanAreasPyeong": [19, 18, 19, 19]
}
```

### Pricing

You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

This Actor charges for the following events:

| Charge event | Billing condition | Free-plan price |
| --- | --- | --- |
| `apify-actor-start` | Charged when the Actor starts running. One event is charged per GB of run memory, with a minimum of one event. | $0.00005 per event on Free |
| `apify-default-dataset-item` | One scraped result with all fields | $0.0024 per event on Free |

1,000 `apify-default-dataset-item` events cost $2.4 on Free; 10,000 `apify-default-dataset-item` events cost $24 on Free.

With one Actor Start event, **10 results = $0.02405 on Free**: $0.00005 on Free for the start event plus 10 × $0.0024 on Free for the dataset items.

The Apify Free plan includes **$5 of monthly platform usage credit**. The Free-plan $5 credit covers **2,083 results in one run with one Actor Start event**:

**Free plan:** `floor(($5 - $0.00005) / $0.0024) = 2,083`

### How to use

1. **Open** the Actor in Apify and run it from your own Apify account.
2. **Set** `maxResults` to the maximum number of property records to emit.
3. **Set** `proxyConfiguration` if you want to choose proxy settings. The example input turns Apify Proxy off.
4. **Start** the run. The Actor fetches the disco.re sitemap index, reads qualifying property sitemaps, visits indexed property pages, and pushes parsed records to the dataset.
5. **Review** the dataset and run logs. Records contain only fields present in the corresponding public page.
6. **Repeat** the run through Apify Schedules.

Example input:

```json
{
  "maxResults": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `maxResults` | Maximum number of property records to emit. The schema accepts an integer with a minimum of `1`. | `50` |
| `proxyConfiguration` | Optional object passed to Apify proxy configuration. | Optional |

### Limits and edge cases

| Condition | What the buyer sees | What to do |
| --- | --- | --- |
| `maxResults` is `0` or negative | The Actor returns without collecting records. The input schema defines `1` as the minimum. | Use a positive integer. |
| A source page does not publish a field | That field is omitted from the record. | Treat that field as unavailable on that source page. |
| A page is indexed in the sitemap but is not a current listing | The record contains published page details, not a claim that the property is currently offered for sale, jeonse, or monthly rent. | Use the data for published page details, and verify any current listing information separately. |
| The sitemap index or an individual property sitemap cannot be fetched after the request attempts | The Actor logs a warning. If the sitemap index fails, it ends before collecting property records; if an individual sitemap fails, it continues with the other sitemap URLs. | Review the run log and retry the run. |
| The sitemap index contains no qualifying disco.re property sitemaps | The Actor logs a warning and no property records are emitted. | Retry later or review the source sitemap availability. |
| A property page request or parsing operation raises an exception | That candidate is skipped after a warning, and the run continues through later candidates. | Review the affected page in the run log and retry the run if needed. |
| A property page is empty or does not provide a usable property ID | No record is pushed for that candidate. | Check whether the source page is available. |
| The same property ID appears more than once in the sitemap candidates | The duplicate property ID is skipped. | No action is required; the Actor keeps one candidate per property ID. |
| A text request encounters a temporary error | Each request is attempted up to three times, with a 40-second timeout for each request, before the error is handled by the surrounding sitemap or page-processing path. | Retry the run and inspect warnings if the issue persists. |

### FAQ

#### How much does it cost to scrape disco.re property pages?

See the Pricing section for the event prices and worked example.

#### Why is my dataset empty?

The Actor can finish without records when the sitemap index cannot be fetched, when it contains no qualifying property sitemaps, or when candidate pages do not provide a usable property ID. Check the run log for warnings and confirm that the source pages are accessible.

#### Why is my run not working?

A failed individual sitemap is skipped, and a property-page error skips that candidate. Review the warnings and retry the run.

#### Is scraping public disco.re data legal or allowed?

The Actor accesses the public disco.re sitemap and indexed property pages and does not log in to disco.re. Whether a particular use is legal or allowed depends on the source terms and applicable law for your use case; review those requirements before using the data. This README does not provide a legal guarantee.

# Actor input Schema

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

Maximum number of property pages to collect.

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

Optional Apify proxy settings. The actor runs without a proxy by default.

## Actor input object example

```json
{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped property records.

# 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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/disco-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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/disco-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 '{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/disco-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/disco-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/WyXvhnkXcumHLYhb0/builds/DpIkQh1D5YiVurDW2/openapi.json
