# Korea Apartment Sale Prices (MOLIT official) (`ootssu/korea-apartment-transaction-prices`) Actor

Actual apartment sale transactions in South Korea from the government MOLIT open data API — English field names, KRW integers, price per m2 and per pyeong, ISO dates.

- **URL**: https://apify.com/ootssu/korea-apartment-transaction-prices.md
- **Developed by:** [ootssu](https://apify.com/ootssu) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 0.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 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 you get

Actual (not asking-price) apartment **sale** transactions in South Korea, as reported by law to the Ministry of Land, Infrastructure and Transport (MOLIT). This is the same dataset Korean banks and portals price the market from.

| Field | Example | Note |
|---|---|---|
| dealDate | 2026-07-15 | ISO date |
| sigunguCode | 11650 | 5-digit district code (Seocho-gu, Seoul) |
| dongName / buildingName | 서초동 / 서초래미안 | neighborhood, complex |
| areaM2 / areaPyeong | 84.97 / 25.7 | pyeong is what Koreans actually quote |
| priceKrw | 825000000 | integer KRW (source: " 82,500" in 10k units) |
| pricePerM2Krw / pricePerPyeongKrw | computed | |
| isCanceled | false | canceled deals are flagged, not dropped |

Unmapped source fields pass through unchanged — a spec change never silently drops data.

### Why not call the API yourself

You can — it is free. What costs you a day: a Korean-only portal, a Korean-style API application, Korean XML tags on one endpoint and English on another, prices as comma-and-space strings in 10,000-KRW units, dates split across three fields, areas in m2 while listings quote pyeong. This Actor ships all of that normalized, **no API key needed**.

### Input

- `sigunguCodes` — e.g. `["11650"]` (Seocho-gu), `["41135"]` (Bundang-gu). 5-digit legal district codes.
- `startYearMonth` / `endYearMonth` — e.g. `202601` to `202607`
- `includeCanceled` — default true

One run is capped at 240 district×month combinations to keep the shared data quota healthy — split very large pulls into a few runs.

### Data notes

- Source: MOLIT via the Korean public data portal (license: unrestricted, commercial use allowed). Attribution: 국토교통부 실거래가 공개시스템.
- Monthly granularity; deals appear after the legal reporting window (up to ~30 days).
- Sister Actors: apartment **rent** (jeonse/wolse), officetel sale & rent, commercial buildings.

# Actor input Schema

## `serviceKey` (type: `string`):

Your free API key from the Korean public data portal (data.go.kr). Leave empty to use the actor's own key if configured.

## `sigunguCodes` (type: `array`):

Korean district (sigungu) codes. Examples: 11110 = Jongno-gu Seoul, 11650 = Seocho-gu Seoul, 41135 = Bundang-gu Seongnam. Full list: legal district code table on data.go.kr.

## `startYearMonth` (type: `string`):

First month to fetch, e.g. 202601.

## `endYearMonth` (type: `string`):

Last month to fetch. Defaults to the start month.

## `includeCanceled` (type: `boolean`):

Canceled transactions are reported by MOLIT and marked isCanceled. Turn off to drop them.

## Actor input object example

```json
{
  "sigunguCodes": [
    "11650"
  ],
  "startYearMonth": "202607",
  "includeCanceled": true
}
```

# Actor output Schema

## `transactions` (type: `string`):

No description

## `transactionsCsv` (type: `string`):

No description

## `datasetView` (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 = {
    "sigunguCodes": [
        "11650"
    ],
    "startYearMonth": "202607"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ootssu/korea-apartment-transaction-prices").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 = {
    "sigunguCodes": ["11650"],
    "startYearMonth": "202607",
}

# Run the Actor and wait for it to finish
run = client.actor("ootssu/korea-apartment-transaction-prices").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 '{
  "sigunguCodes": [
    "11650"
  ],
  "startYearMonth": "202607"
}' |
apify call ootssu/korea-apartment-transaction-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ootssu/korea-apartment-transaction-prices"
        }
    }
}

```

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/OgD98UgiWdpnblm8C/builds/j6aGJJeWYfWgezmm9/openapi.json
