# KB Land Scraper - Korea Apartment Prices & KB 시세 (`bovi/kbland-scraper`) Actor

Scrape kbland.kr (KB Land, South Korea): regional apartment price markers with jeonse ratios and monthly changes, or full apartment-complex records with KB 시세 valuations, recent deals and unit types. No login needed.

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

## Pricing

from $8.80 / 1,000 kb land scraper - korea apartment prices & kb 시세

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

## KB Land Scraper - Korea Apartment Prices & KB 시세

Scrape **kbland.kr** (KB부동산, the property platform of KB Kookmin Bank) into clean JSON, CSV or Excel. No account, login or API key is needed.

### What it collects

Two modes, one dataset per run:

- **Overview** - regional price markers inside the map viewports you give (or the whole country, province by province): province (시도), district (시군구) or neighbourhood (동) level. Each marker has average sale and jeonse prices, price per pyeong, jeonse ratio (전세가율), average asking and actual-deal prices, deal counts, weekly and monthly price changes, the monthly price history and the marker's GPS position.
- **Detail** - one record per apartment complex, found by its KB complex serial number (단지기본일련번호): name, address, completion year, households, floors, parking, heating, builder, FAR/BCR, regulation zones, KB 시세 valuation (sale, jeonse, high/low band, monthly rent), most recent actual deal (price, floor, date), listing counts and the list of unit types (areas, rooms, bathrooms, households).

Only fields the site really returns are filled. A value KB does not publish for a complex (for example a valuation of a very small complex) is `null`.

### Input

| Field | Description |
|---|---|
| `scrapeMode` | `overview` (default) or `detail`. |
| `searchMode` | Overview only: `byBbox` (your viewports) or `bySido` (17 provinces). |
| `bboxes` | Overview viewports as `swLat,swLng,neLat,neLng`. Default `37.488,127.041,37.560,127.110`. |
| `complexSerials` | Detail complex serial numbers, e.g. `2030`. |
| `level` | Overview map zoom 5-18; about 9-10 = provinces, 11-12 = districts, 13-15 = neighbourhoods. Default 15. |
| `propertyType` | Overview: `apartment` (default) or `officetel`. |
| `maxResults` | Maximum number of records, default 50. |
| `proxyConfiguration` | Apify proxy; residential by default. |

```json
{
  "scrapeMode": "overview",
  "searchMode": "byBbox",
  "bboxes": ["37.488,127.041,37.560,127.110"],
  "level": 15,
  "maxResults": 50
}
```

### Example output

Overview record (abridged):

```json
{
  "id": "1120011400",
  "source": "overview",
  "name": "성수동1가",
  "parent_name": "서울시 성동구",
  "region_class": "2",
  "sale_price_avg_manwon": 238365,
  "sale_price_avg_krw": 2383650000,
  "sale_price_per_pyeong_manwon": 7822,
  "jeonse_ratio": 38.2,
  "monthly_sale_change_pct": 0.26,
  "deal_count_sale": 8,
  "base_date": "20261120",
  "latitude": 37.5437,
  "longitude": 127.0434,
  "currency": "KRW"
}
```

Prices are given both in 만원 (10,000 KRW, as the site publishes them) and in KRW.

### Price per result

You pay per result delivered to the dataset. The platform bills every dataset item itself, the actor never charges on its own, and the run stops by itself when your charge limit is reached. The current price per result is shown on the actor's Store page.

### Free vs paid plan

On a Free Apify plan a run is a capped preview: one map viewport or one complex serial per run. The status message and the `OUTPUT` record say what was capped. A paid plan unlocks all viewports and serials. No placeholder rows are ever added to the dataset.

### Notes

The data is public information shown on kbland.kr. The actor is an independent tool and is not affiliated with or endorsed by KB Kookmin Bank.

# Actor input Schema

## `scrapeMode` (type: `string`):

overview = regional price markers (province, district or neighbourhood) inside map viewports. detail = full apartment-complex records by KB complex serial number (단지기본일련번호).

## `searchMode` (type: `string`):

byBbox: crawl the map viewports listed below. bySido: tile the whole country with one viewport per province (17 requests). Used in overview mode only.

## `bboxes` (type: `array`):

One viewport per line as swLat,swLng,neLat,neLng (south-west corner, then north-east corner). Example: 37.488,127.041,37.560,127.110 (Seoul, Gangnam / Songpa).

## `complexSerials` (type: `array`):

KB complex serial numbers (단지기본일련번호), the number in kbland.kr complex URLs. Example: 2030. Used in detail mode only.

## `level` (type: `integer`):

Map zoom level that sets marker granularity: about 9-10 = provinces, 11-12 = districts (시군구), 13-15 = neighbourhoods (동).

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

Which market the regional price markers describe.

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

Maximum number of records to collect.

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

Proxy settings. A residential proxy is used by default for reliable access.

## Actor input object example

```json
{
  "scrapeMode": "overview",
  "searchMode": "byBbox",
  "bboxes": [
    "37.488,127.041,37.560,127.110"
  ],
  "complexSerials": [
    "2030"
  ],
  "level": 15,
  "propertyType": "apartment",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected 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 = {
    "scrapeMode": "overview",
    "searchMode": "byBbox",
    "bboxes": [
        "37.488,127.041,37.560,127.110"
    ],
    "complexSerials": [
        "2030"
    ],
    "level": 15,
    "propertyType": "apartment",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/kbland-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 = {
    "scrapeMode": "overview",
    "searchMode": "byBbox",
    "bboxes": ["37.488,127.041,37.560,127.110"],
    "complexSerials": ["2030"],
    "level": 15,
    "propertyType": "apartment",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/kbland-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 '{
  "scrapeMode": "overview",
  "searchMode": "byBbox",
  "bboxes": [
    "37.488,127.041,37.560,127.110"
  ],
  "complexSerials": [
    "2030"
  ],
  "level": 15,
  "propertyType": "apartment",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/kbland-scraper --silent --output-dataset

```

## MCP server setup

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