# いい部屋ネット 物件情報

いい部屋ネットの絞り込んだ検索結果から、物件情報（築年数、広さ、賃料など）を抽出するテンプレートです。

- Template page: [https://www.octoparse.com/template/eheya-url](https://www.octoparse.com/template/eheya-url)
- Categories: Real Estate
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.1/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from general web pages.

## Output

The current workflow extracts 18 fields, including `キッチン`, `バス_トイレ`, `交通`, `入居条件`, `共用部`, `取得日付`, `室内設備`, `広さ`, `建物の特徴`, `敷金`, `礼金`, `種別`, `管理費_共益費`, `賃料`, `部屋の特徴`, `部屋の詳細リンク`, `間取り`, `駐車場`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete URLs (up to 1000), maxpages and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs (up to 1000)

Required. URLs Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=1000.

### maxpages

Optional. maxpages Constraints: minLength=1; maxLength=100.

## How to Use

# いい部屋ネット 物件情報 — Template Guide

## Purpose

Collects property age, floor area, rent, and other listing data from filtered Ii Heya Net search results.  
Data source: [Ii Heya Net](https://www.eheya.net/).

## Pricing

Current price: **$0.1 / 1,000 lines**. Billing is based on the number of output lines produced by the task.

## Output

Returns detail-page fields for each listing, including rent, management fee/common service fee, deposit, key money, property type, floor plan, size, access, move-in conditions, building/room features, interior equipment, common areas, bath/toilet, kitchen, parking, the detail-page URL, and fetch date.

Key identifiers returned: `部屋の詳細リンク`, `取得日付`, `賃料`, `管理費_共益費`, `敷金`, `礼金`, `種別`, `間取り`, `広さ`, `交通`.

## Input Parameters

- **URLs** (required, up to 1000): Enter one or more values, one per line.
- **maxpages** (optional): Enter the maxpages requested by the template.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields above.
3. Run the task in the cloud.
4. Review the output rows and export or process the structured data.

## Scheduling and API

Schedule recurring runs, export collected data, and reuse it through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).  
Scheduling and API access may require a paid Octoparse plan.

## Limitations

- The template collects only the fields listed in Output from detail pages; it does not add data that Ii Heya Net does not display.
- Fields such as `バス_トイレ`, `キッチン`, and `駐車場` can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid URLs (up to 1000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier such as `部屋の詳細リンク` or `取得日付` as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

No related templates returned.

## Input Schema

```json
{
  "title": "いい部屋ネット 物件情報 input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs": {
      "title": "URLs (up to 1000)",
      "description": "URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "maxpages": {
      "title": "maxpages",
      "description": "maxpages",
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "maxpages": "2",
  "uRLs": [
    "https://www.eheya.net/tokyo/area/search/?page=2&city_id=13102&city_id=13103&city_id=13104&city_id=13105&city_id=13106&city_id=13107&city_id=13108&city_id=13109&city_id=13110&city_id=13111&city_id=13112&city_id=13114&city_id=13115&city_id=13119&city_id=13121"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "キッチン": {
      "type": "string",
      "description": ""
    },
    "バス_トイレ": {
      "type": "string",
      "description": ""
    },
    "交通": {
      "type": "string",
      "description": ""
    },
    "入居条件": {
      "type": "string",
      "description": ""
    },
    "共用部": {
      "type": "string",
      "description": ""
    },
    "取得日付": {
      "type": "string",
      "description": ""
    },
    "室内設備": {
      "type": "string",
      "description": ""
    },
    "広さ": {
      "type": "string",
      "description": ""
    },
    "建物の特徴": {
      "type": "string",
      "description": ""
    },
    "敷金": {
      "type": "string",
      "description": ""
    },
    "礼金": {
      "type": "string",
      "description": ""
    },
    "種別": {
      "type": "string",
      "description": ""
    },
    "管理費_共益費": {
      "type": "string",
      "description": ""
    },
    "賃料": {
      "type": "string",
      "description": ""
    },
    "部屋の特徴": {
      "type": "string",
      "description": ""
    },
    "部屋の詳細リンク": {
      "type": "string",
      "description": ""
    },
    "間取り": {
      "type": "string",
      "description": ""
    },
    "駐車場": {
      "type": "string",
      "description": ""
    }
  },
  "title": "いい部屋ネット 物件情報 output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "キッチン": "ＩＨクッキングヒーター",
  "バス_トイレ": "バス・トイレ別、浴室、温水洗浄便座",
  "交通": "東急東横線 都立大学駅 徒歩10分 (0.8km) / 東急東横線 学芸大学駅 徒歩12分 (0.96km)",
  "入居条件": "普通賃貸借契約、保証会社利用可",
  "共用部": "オートロック、駐輪場、エレベーター、バイク置場、宅配ボックス、防犯カメラ",
  "取得日付": "2026-10-12",
  "室内設備": "エアコン、BS、人感センサー、CS、ディンプルキー、洗面所独立、都市ガス、給湯、インターネット無料、TV付インターホン、シューズボックス、照明、人感照明センサー、光ファイバー、室内洗濯機置場、全居室フローリング、ルーフバルコニー、洗面台、ハイサッシ、間接照明、3面バルコニー、外壁コンクリート",
  "広さ": "35.9m2",
  "建物の特徴": "デザイナーズ物件",
  "敷金": "0円",
  "礼金": "1円/月",
  "種別": "マンション / 鉄筋コンクリート造",
  "管理費_共益費": "8,000円",
  "賃料": "165,000円",
  "部屋の特徴": "バルコニー、2階以上、角部屋、3面採光",
  "部屋の詳細リンク": "https://www.eheya.net/detail/310000093018343000001/",
  "間取り": "1K",
  "駐車場": "有 月35,000円(税込)"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "eheya-url",
  "taskName": "いい部屋ネット 物件情報",
  "parameters": "{\"maxpages\":\"2\",\"uRLs\":[\"https://www.eheya.net/tokyo/area/search/?page=2&city_id=13102&city_id=13103&city_id=13104&city_id=13105&city_id=13106&city_id=13107&city_id=13108&city_id=13109&city_id=13110&city_id=13111&city_id=13112&city_id=13114&city_id=13115&city_id=13119&city_id=13121\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"maxpages\":\"2\",\"uRLs\":[\"https://www.eheya.net/tokyo/area/search/?page=2&city_id=13102&city_id=13103&city_id=13104&city_id=13105&city_id=13106&city_id=13107&city_id=13108&city_id=13109&city_id=13110&city_id=13111&city_id=13112&city_id=13114&city_id=13115&city_id=13119&city_id=13121\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "eheya-url",
        "taskName": "いい部屋ネット 物件情報",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "eheya-url",
  "taskName": "いい部屋ネット 物件情報",
  "parameters": "{\"maxpages\":\"2\",\"uRLs\":[\"https://www.eheya.net/tokyo/area/search/?page=2&city_id=13102&city_id=13103&city_id=13104&city_id=13105&city_id=13106&city_id=13107&city_id=13108&city_id=13109&city_id=13110&city_id=13111&city_id=13112&city_id=13114&city_id=13115&city_id=13119&city_id=13121\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `eheya-url`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/eheya-url.json)
- [Manifest](https://www.octoparse.com/templates/eheya-url-manifest.json)
