# Japan Real Estate Transaction Prices (MLIT Official) (`minako-ph/japan-real-estate-prices`) Actor

Actual transaction and contract prices of Japanese real estate, bilingual EN/JA. Official MLIT data as clean JSON — no API key setup needed.

- **URL**: https://apify.com/minako-ph/japan-real-estate-prices.md
- **Developed by:** [Minako Yamamoto](https://apify.com/minako-ph) (community)
- **Categories:** Real estate, Developer tools, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 transaction records

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Japan Real Estate Transaction Prices (MLIT Official)

Actual real estate transaction prices across Japan, in English and Japanese. This Actor reads the **official MLIT Real Estate Information Library API** (国土交通省 不動産情報ライブラリ) and returns quarterly japan property price data as clean, snake_case JSON with the Japanese originals in `*_ja` fields. **Official API based — no scraping.** **Zero setup**: no API key application on your side, no multi-day approval wait — press Start and get results. Covers both survey-based **transaction prices** (from 2005) and REINS-derived **contract (closed) prices** (from 2021), and can bundle municipality × quarter aggregates at no extra charge. Tested against frozen datasets on every release.

### What you get

One JSON item per transaction — real output from the Tokyo / Chiyoda dataset:

```json
{
  "record_type": "transaction",
  "price_category": "Contract Price Information",
  "price_category_ja": "成約価格情報",
  "property_type": "Pre-owned Condominiums, etc.",
  "property_type_ja": "中古マンション等",
  "prefecture": "Tokyo",
  "prefecture_ja": "東京都",
  "prefecture_code": "13",
  "municipality": "Chiyoda Ward",
  "municipality_ja": "千代田区",
  "municipality_code": "13101",
  "district_name": "Kojimachi",
  "district_name_ja": "麹町",
  "trade_price": 140000000,
  "area_sqm": 90,
  "floor_plan": "2LDK",
  "building_year": 1991,
  "structure": "SRC",
  "city_planning": "Commercial Zone",
  "period": "1st quarter 2024",
  "transaction_year": 2024,
  "transaction_quarter": 1,
  "unit_price_per_sqm": { "value": 1555556, "confidence": 1, "method": "rule" },
  "building_age_at_transaction": { "value": 33, "confidence": 1, "method": "rule" },
  "source": "reinfolib",
  "source_url": "https://www.reinfolib.mlit.go.jp/ex-api/external/XIT001?year=2024&area=13&city=13101&language=en",
  "retrieved_at": "2026-07-09T00:00:00+09:00",
  "attribution": "このサービスは、国土交通省不動産情報ライブラリのAPI機能を使用していますが、提供情報の最新性、正確性、完全性等が保証されたものではありません。",
  "schema_version": "0.1.0"
}
````

All 29 upstream fields are included (land shape, frontage, road, zoning, coverage/floor-area ratios, remarks, …). Derived metrics (`unit_price_per_sqm` = price ÷ area, `building_age_at_transaction`) are computed only when both inputs are clean numbers and are marked `method: "rule"` — never guessed from rounded or bracketed values. With `include_aggregates: true`, you also get `record_type: "aggregate"` rows with the **median price, median unit price and count per municipality and quarter, computed from the records fetched in this run** — free of charge.

### How to use

1. Pick a `year` and one or more `prefectures` (English names like `Tokyo`, Japanese names, or 2-digit codes). Optionally narrow by `cities` (names or 5-digit codes) or a 6-digit `station` code. The prefilled Tokyo/Chiyoda/2024 input returns results in seconds — just press **Start**.
2. Choose `price_category`: `transaction`, `closed` (contract prices), or `both` (default).
3. Read the results from the default dataset as JSON, CSV, or Excel.

### What this does NOT do

- **Not exhaustive.** Transaction prices come from MLIT's questionnaire survey of buyers; contract prices cover REINS-mediated deals from 2021 onward. Neither covers every transaction in Japan.
- **Transaction prices and contract prices differ in nature** — survey-based vs. transaction-system-based. `price_category` tells you which is which; interpret accordingly.
- **Prices and areas are rounded / bracketed by MLIT** for privacy (e.g. large sites appear as "2,000 m² or greater"). Bracketed values are returned as `null` in numeric fields — this Actor never converts them into fake numbers.
- No matching area for your query returns **0 records by upstream design** (the API answers 404 for empty result sets) — it is not an error.
- `station` accepts a 6-digit National Land Numerical Information station group code in v1; station **names** are not resolved.
- This is **not REINS itself** and not a valuation service; aggregates are computed from the records fetched in the run, not market-wide statistics.
- The upstream API may change or suspend service without notice (per its terms); we monitor with frozen-dataset regression tests.

### Pricing

Pay-per-event, fully transparent:

| Event              | Price                          |
| ------------------ | ------------------------------ |
| Actor start        | $0.02                          |
| Transaction record | $0.003                         |
| Aggregate rows     | free (with include\_aggregates) |

Free allowance: **the first 50 transaction records of every run are free**. If your run hits the maximum charge limit you set, the Actor stops gracefully and keeps the partial results.

### Data source & attribution

Data comes from the [Real Estate Information Library](https://www.reinfolib.mlit.go.jp/) operated by Japan's Ministry of Land, Infrastructure, Transport and Tourism (MLIT). Attribution included with every item: このサービスは、国土交通省不動産情報ライブラリのAPI機能を使用していますが、提供情報の最新性、正確性、完全性等が保証されたものではありません。(This service uses the MLIT Real Estate Information Library API; the currency, accuracy and completeness of the information are not guaranteed.) Records are normalized and translated field-for-field by this Actor based on 不動産情報ライブラリ (国土交通省); this Actor is independent and not endorsed by MLIT. Contract price information originates from REINS data published by MLIT via Reins Market Information.

### More Japan data Actors

This Actor is part of a family of official-API-based Japan data Actors. See also [**Japan Company Filings (EDINET Official)**](https://apify.com/minako-ph/japan-edinet-filings) — structured financial filings of listed Japanese companies — and the developer profile for the full list as they are published.

### Contact

Found an issue or need a field the upstream API provides but this Actor doesn't expose yet? Open a ticket on the **Issues** tab — first response within 48 hours.

# Actor input Schema

## `year` (type: `integer`):

Transaction year (2005 or later; contract prices start in 2021).

## `quarter` (type: `integer`):

1-4. Leave empty to fetch the whole year.

## `prefectures` (type: `array`):

English name (Tokyo), Japanese name (東京都), or 2-digit code (13). Up to 12 prefecture-year combinations per run.

## `cities` (type: `array`):

City/ward name (Chiyoda, 千代田区) or 5-digit city code (13101). Names are resolved within the specified prefectures.

## `station` (type: `string`):

6-digit station group code from MLIT's National Land Numerical Information (N02\_005g). v1 accepts codes only, not station names.

## `price_category` (type: `string`):

transaction = survey-based transaction prices (from 2005), closed = REINS-derived contract prices (from 2021), both = everything.

## `property_types` (type: `array`):

Keep only records whose property type contains one of these terms (case-insensitive), e.g. "Condominium", "Residential Land", "Forest".

## `include_aggregates` (type: `boolean`):

Also output median price / median unit price / count per municipality and quarter, computed from the records fetched in this run. Free of charge.

## Actor input object example

```json
{
  "year": 2024,
  "prefectures": [
    "Tokyo"
  ],
  "cities": [
    "Chiyoda"
  ],
  "price_category": "both",
  "include_aggregates": false
}
```

# 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 = {
    "year": 2024,
    "prefectures": [
        "Tokyo"
    ],
    "cities": [
        "Chiyoda"
    ],
    "price_category": "both"
};

// Run the Actor and wait for it to finish
const run = await client.actor("minako-ph/japan-real-estate-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 = {
    "year": 2024,
    "prefectures": ["Tokyo"],
    "cities": ["Chiyoda"],
    "price_category": "both",
}

# Run the Actor and wait for it to finish
run = client.actor("minako-ph/japan-real-estate-prices").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "year": 2024,
  "prefectures": [
    "Tokyo"
  ],
  "cities": [
    "Chiyoda"
  ],
  "price_category": "both"
}' |
apify call minako-ph/japan-real-estate-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=minako-ph/japan-real-estate-prices",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Japan Real Estate Transaction Prices (MLIT Official)",
        "description": "Actual transaction and contract prices of Japanese real estate, bilingual EN/JA. Official MLIT data as clean JSON — no API key setup needed.",
        "version": "0.1",
        "x-build-id": "XI193uPaCawotxaKu"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/minako-ph~japan-real-estate-prices/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-minako-ph-japan-real-estate-prices",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/minako-ph~japan-real-estate-prices/runs": {
            "post": {
                "operationId": "runs-sync-minako-ph-japan-real-estate-prices",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/minako-ph~japan-real-estate-prices/run-sync": {
            "post": {
                "operationId": "run-sync-minako-ph-japan-real-estate-prices",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "year"
                ],
                "properties": {
                    "year": {
                        "title": "Year",
                        "type": "integer",
                        "description": "Transaction year (2005 or later; contract prices start in 2021)."
                    },
                    "quarter": {
                        "title": "Quarter (optional)",
                        "minimum": 1,
                        "maximum": 4,
                        "type": "integer",
                        "description": "1-4. Leave empty to fetch the whole year."
                    },
                    "prefectures": {
                        "title": "Prefectures",
                        "type": "array",
                        "description": "English name (Tokyo), Japanese name (東京都), or 2-digit code (13). Up to 12 prefecture-year combinations per run.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "cities": {
                        "title": "Cities (optional)",
                        "type": "array",
                        "description": "City/ward name (Chiyoda, 千代田区) or 5-digit city code (13101). Names are resolved within the specified prefectures.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "station": {
                        "title": "Station code (optional)",
                        "type": "string",
                        "description": "6-digit station group code from MLIT's National Land Numerical Information (N02_005g). v1 accepts codes only, not station names."
                    },
                    "price_category": {
                        "title": "Price category",
                        "enum": [
                            "both",
                            "transaction",
                            "closed"
                        ],
                        "type": "string",
                        "description": "transaction = survey-based transaction prices (from 2005), closed = REINS-derived contract prices (from 2021), both = everything."
                    },
                    "property_types": {
                        "title": "Property types (optional)",
                        "type": "array",
                        "description": "Keep only records whose property type contains one of these terms (case-insensitive), e.g. \"Condominium\", \"Residential Land\", \"Forest\".",
                        "items": {
                            "type": "string"
                        }
                    },
                    "include_aggregates": {
                        "title": "Include municipality × quarter aggregates",
                        "type": "boolean",
                        "description": "Also output median price / median unit price / count per municipality and quarter, computed from the records fetched in this run. Free of charge.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
