korea-real-estate
by naturalid
README.md
# Korea Real Estate Transactions API
Every reported property sale and lease in South Korea — the official records of the Ministry of Land, Infrastructure
and Transport (MOLIT) — as a clean, English JSON API and as an MCP server for AI agents.
**[Website & live docs](https://api.koreapropertydata.com/?ref=github)** ·
[OpenAPI spec](https://api.koreapropertydata.com/openapi.json) ·
[Data coverage (live)](https://api.koreapropertydata.com/v1/meta/coverage) ·
support@koreapropertydata.com
<!-- mcp-name: com.koreapropertydata/korea-real-estate -->
## What you get
- **Nationwide, official data**: 12 MOLIT transaction sources from data.go.kr, every si/gun/gu, refreshed daily.
- **Long history**: sales from January 2006, leases (jeonse and monthly rent) from 2011.
- **Readable in English**: region names in English, Korean or Chinese (`lang=en|ko|zh`); Korean-only codes become
stable English codes with labels.
- **Ready for analysis**: KRW integers, areas in m² (optional pyeong), price per m², cancelled deals flagged,
complex (apartment estate) IDs that link every deal in the same estate.
| `property_type` | Sales | Leases |
|---|:-:|:-:|
| `APT` Apartment | ✓ | ✓ |
| `OFFI` Officetel | ✓ | ✓ |
| `RH` Row / multi-unit house | ✓ | ✓ |
| `SH` Detached / multi-family house | ✓ | ✓ |
| `LAND` Land | ✓ | |
| `NRG` Commercial / office building | ✓ | |
| `SILV` Pre-sale right (resale) | ✓ | |
| `INDU` Factory / warehouse | ✓ | |
## Quick start — no key needed
Without a key you get the free tier (Seoul's 25 districts, last 3 months), so this works right now:
```bash
# 1. find the district code for Gangnam-gu
curl "https://api.koreapropertydata.com/v1/regions?q=gangnam&level=2"
# 2. the latest apartment sales there
curl "https://api.koreapropertydata.com/v1/sales?region=11680&property_type=APT&limit=5"
```
With a key, send it as `X-API-Key: <your key>` (or call through RapidAPI with your RapidAPI key).
### Python
```python
import json, urllib.request
url = "https://api.koreapropertydata.com/v1/sales?region=11680&property_type=APT&limit=5"
with urllib.request.urlopen(url) as r:
page = json.load(r)
for d in page["data"]:
print(d["deal_date"], d["region"]["dong"], d["area_m2"], "m²", f'{d["price_krw"]:,} KRW')
print("next page:", page["meta"]["next_cursor"])
```
More in [`examples/`](examples): paging through results with a cursor, and a monthly median price table with pandas.
## Use it from Claude and other AI agents (MCP)
The same data is served as a remote MCP server (streamable HTTP) at `https://api.koreapropertydata.com/mcp`.
Tools: `search_regions`, `search_sales`, `search_rentals`, `complex_summary`, `monthly_stats`, `coverage`.
**Claude Code**
```bash
claude mcp add --transport http korea-real-estate https://api.koreapropertydata.com/mcp
# with a key:
claude mcp add --transport http korea-real-estate https://api.koreapropertydata.com/mcp --header "X-API-Key: <your key>"
```
**Claude Desktop, Cursor and other clients** (`mcpServers` config):
```json
{
"mcpServers": {
"korea-real-estate": {
"type": "http",
"url": "https://api.koreapropertydata.com/mcp",
"headers": { "X-API-Key": "<your key>" }
}
}
}
```
Then ask things like *"What did 84 m² apartments in Gangnam-gu sell for this month?"* or
*"Median jeonse deposit in Mapo-gu over the last year, by month."*
## Endpoints
| Endpoint | What it returns |
|---|---|
| `GET /v1/regions` | Search si/do, si/gun/gu and eup/myeon/dong by English, Korean or Chinese name (free) |
| `GET /v1/sales` | Sale transactions: filter by region, type, period, area, price; sort; cursor paging |
| `GET /v1/rentals` | Jeonse and monthly-rent leases, with deposit, rent and renewal details |
| `GET /v1/complexes` | Apartment / officetel complexes in a region |
| `GET /v1/complexes/{complex_seq}/sales` | Sale history of one complex |
| `GET /v1/stats/monthly` | Monthly medians, quartiles and price per m² per region and type |
| `GET /v1/meta/coverage` | What is collected and how fresh it is (free) |
Full parameters, response schemas and a live "Try it out": https://api.koreapropertydata.com/docs
## Plans
| | Basic | Pro | Business |
|---|---|---|---|
| Price | Free | $9 / month | $29 / month |
| Requests | 100 / day | 3,000 / month | 15,000 / month |
| Area | Seoul (25 districts) | All of South Korea | All of South Korea |
| History | Last 3 months | Full (sales 2006–, leases 2011–) | Full |
| Rows per request | 50 | 500 | 500 |
| Monthly statistics | | | ✓ |
Subscribe on the [website](https://api.koreapropertydata.com/?ref=github#pricing) (card, via Creem) or on RapidAPI.
Need the full history in bulk or a custom feed? support@koreapropertydata.com
## Data source and license
Source: Ministry of Land, Infrastructure and Transport (국토교통부) real transaction price disclosure, via
[data.go.kr](https://www.data.go.kr), under the Korea Open Government License Type 1 (공공누리 제1유형) —
attribution required. Every API response carries the attribution. This service is independent and not affiliated
with MOLIT. Individual parties to a deal are never identified in the source data.
The example code in this repository is MIT-licensed (see [LICENSE](LICENSE)).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues