# Guru Navi Restaurant Scraper

Template for extracting restaurant information (such as restaurant names and reviews) from Gurunavi by keywords.

- Template page: [https://www.octoparse.com/template/gurunavi-shop-restaurant-scraper](https://www.octoparse.com/template/gurunavi-shop-restaurant-scraper)
- Categories: Directories
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## 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 15 fields, including `お店ページのURL`, `アドレス`, `クレジットカード`, `タイプ`, `テイクアウト`, `ページ番号`, `メニューのサービス`, `ロケーション`, `予算`, `住所`, `営業時間`, `定休日`, `店名`, `総席数`, `電話番号`.

## 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 Location;genre (up 30 per run) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Location;genre (up 30 per run)

Required. Location&genre Constraints: minItems=1; maxItems=30; items.minLength=1; items.maxLength=1000.

## How to Use

# Guru Navi Restaurant Scraper

Collects restaurant information from Gurunavi by keywords.

Source: [Gnavi](https://r.gnavi.co.jp/) (`https://r.gnavi.co.jp/`)

## Pricing

No per-line charge currently. Octoparse plan/resource limits may still apply.

## Input

- **Location;genre (up 30 per run)** (required): Enter one or more values, one per line.

## Output

Returns structured rows from Gnavi listing and detail pages using the template’s Output fields (e.g., `店名`, `電話番号`, `住所`, `営業時間`, `予算`, `お店ページのURL`). Fields not displayed by Gnavi can be empty.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

## Run, Schedule, and Export

- Run locally or in the cloud.
- For local scheduled runs, keep your computer and Octoparse open.
- Schedule recurring runs and export to CSV, Excel, JSON, databases, or cloud storage.
- Reuse exported data through Octoparse OpenAPI or the [AgentTools API: Search Templates](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan.

## Limitations

- Collects only the fields listed in Output from Gnavi listing/detail pages; it does not add data Gnavi does not display.
- Fields such as `メニューのサービス`, `テイクアウト`, and `お店ページのURL` 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 **Location;genre (up 30 per run)** to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the returned fields 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

- [Jyuku Navi School Ranking Scraper](https://www.octoparse.com/template/jyuku-navi-school-ranking-scraper)
- [Uber Eats Restaurant Details Scraper](https://www.octoparse.com/template/uber-eats-restaurant-details-scraper)
- [Uber Eats Restaurant Listing Scraper](https://www.octoparse.com/template/uber-eats-restaurant-listing-scraper)
- [Hot Pepper Restaurant Listing Scraper](https://www.octoparse.com/template/hot-pepper-restaurant-listing-scraper)
- [UberEats Restaurant Listings Scraper](https://www.octoparse.com/template/ubereats-jp-restaurant-listings-scraper)

## Input Schema

```json
{
  "title": "Guru Navi Restaurant Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "location;genre": {
      "title": "Location;genre (up 30 per run)",
      "description": "Location&genre",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 30,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "location;genre"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "location;genre": [
    "東京都新宿"
  ]
}
```

Example 2

```json
{
  "location;genre": [
    "東京都新宿"
  ]
}
```

Example 3

```json
{
  "location;genre": [
    "東京都新宿"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "お店ページのURL": {
      "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": "Guru Navi Restaurant Scraper 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
{
  "お店ページのURL": "https://r.gnavi.co.jp/n4yud5vr0000/",
  "アドレス": "\n                                                            \n                                                                            ＪＲ 新宿駅 徒歩2分 \n                                                                                                        \n                                                    ",
  "クレジットカード": "\n                                \n                                                                        VISA\n                                                                        MasterCard\n                                                                        JCB\n                                                                        アメリカン・エキスプレス\n                                                                        ダイナースクラブ\n                                                                        Discover Card\n                                                                        銀聯\n                                                                    \n                            ",
  "タイプ": "ジャンル・店名",
  "テイクアウト": "\n                                        \n                                                                                            テイクアウト可\n                                                                                                    \n                                                                                    \n                                    ",
  "ページ番号": "1",
  "メニューのサービス": "\n                                        \n                                                                                            飲み放題メニューあり\n                                                                                            誕生日特典あり\n                                                                                    \n                                                                                    このお店のメニュー：\n                                            \n                                                                                                    すみれのコース\n                                                                                                    席・コース予約\n                                                                                                    大山どりの焼き鳥\n                                                                                                    お食事・逸品\n                                                                                                    豊富なお飲み物\n                                                                                            \n                                                                            ",
  "ロケーション": "東京都新宿",
  "予算": "\n                                \n                                                                            2,500円（通常平均）\n                                                                                                                3,000円（宴会平均）\n                                                                                                        \n                            ",
  "住所": "\n                                                                            〒160-0023 \n                                                                        東京都新宿区西新宿1-12-7 第二清新ビル4F                                ",
  "営業時間": "\n                                \n                                    月～金・祝前日\nディナー　17:00～23:30\n（L.O.23:00、ドリンクL.O.23:00）\n\n土・日・祝\nディナー　16:00～23:30\n（L.O.23:00、ドリンクL.O.23:00）\n                                \n                            ",
  "定休日": "\n                                \n                                                                        無\n                                                                        ■営業時間に関して\n                                                                        通常時間と営業時間が異なる場合がございますので、公式ホームページもしくは店舗に直接お電話にてお問い合わせください\n                                                                    \n                            ",
  "店名": "やきとり家すみれ 新宿西口店",
  "総席数": "\n                                                                        \n                                        108席\n                                    \n                                                                                                                \n                                                                                    座敷席あり\n                                                                                    掘りごたつ席あり\n                                                                                    座椅子あり\n                                                                                    カウンター席あり\n                                                                                    カップルシートあり\n                                                                                    ソファー席あり\n                                                                                    テラス・屋外席あり\n                                                                                \n                                                                    ",
  "電話番号": "\n                                    050-5485-1595\n                                "
}
```

Example 2

```json
{
  "お店ページのURL": "https://r.gnavi.co.jp/e740400/",
  "アドレス": "\n                                                            \n                                                                            地下鉄丸ノ内線 新宿三丁目駅 C6番出口 徒歩1分 \n                                                                            地下鉄副都心線 新宿三丁目駅 C6番出口 徒歩1分 \n                                                                            ＪＲ 新宿駅 徒歩5分 \n                                                                                                        \n                                                    ",
  "クレジットカード": "\n                                \n                                                                        VISA\n                                                                        MasterCard\n                                                                    \n                            ",
  "タイプ": "ジャンル・店名",
  "テイクアウト": "\n                                        \n                                                                                            テイクアウト可\n                                                                                                    \n                                                                                            お弁当可\n                                                                                                    \n                                                                                    \n                                    ",
  "ページ番号": "1",
  "メニューのサービス": "\n                                        \n                                                                                            食べ放題メニューあり\n                                                                                            飲み放題メニューあり\n                                                                                            ランチメニューあり\n                                                                                    \n                                                                                    このお店のメニュー：\n                                            \n                                                                                                    ◇食べ飲み放題◇\n                                                                                                    上海酒場の宴会\n                                                                                                    激安！宴会\n                                                                                                    極上の一品★\n                                                                                                    ドリンク\n                                                                                                    ランチ\n                                                                                                    売れ筋ランキング\n                                                                                            \n                                                                            ",
  "ロケーション": "東京都新宿",
  "予算": "\n                                \n                                                                            2,500円（通常平均）\n                                                                                                                2,980円（宴会平均）\n                                                                                                                600円（ランチ平均）\n                                                                    \n                            ",
  "住所": "\n                                                                            〒160-0022 \n                                                                        東京都新宿区新宿3-11-11 ダイアン新宿ビル7F                                ",
  "営業時間": "\n                                \n                                    月～日\nランチ　11:00～15:00\n（L.O.14:30）\nディナー　17:00～23:00\n                                \n                            ",
  "定休日": "\n                                \n                                                                        無\n                                                                        年末年始（2026年1月1日）\n                                                                    \n                            ",
  "店名": "上海酒場 新宿三丁目店",
  "総席数": "\n                                                                        \n                                        80席\n                                    \n                                                                                                                \n                                                                                    ソファー席あり\n                                                                                    円卓あり\n                                                                                    夜景が見える\n                                                                                \n                                                                    ",
  "電話番号": "\n                                    050-5485-0808\n                                "
}
```

Example 3

```json
{
  "お店ページのURL": "https://r.gnavi.co.jp/cbjba2m30000/",
  "アドレス": "\n                                                            \n                                                                            ＪＲ 新宿駅 南口・東南口 徒歩2分 \n                                                                            地下鉄 新宿駅 徒歩1分 \n                                                                            地下鉄副都心線 新宿三丁目駅 徒歩1分 \n                                                                            西武新宿線 西武新宿駅 徒歩7分 \n                                                                                                        \n                                                    ",
  "クレジットカード": "\n                                \n                                                                        VISA\n                                                                        MasterCard\n                                                                        JCB\n                                                                        アメリカン・エキスプレス\n                                                                        ダイナースクラブ\n                                                                        UC\n                                                                    \n                            ",
  "タイプ": "ジャンル・店名",
  "テイクアウト": "\n                                        \n                                                                                            テイクアウト可\n                                                                                                    \n                                                                                    \n                                    ",
  "ページ番号": "1",
  "メニューのサービス": "\n                                        \n                                                                                            食べ放題メニューあり\n                                                                                            飲み放題メニューあり\n                                                                                            誕生日特典あり\n                                                                                            ランチメニューあり\n                                                                                    \n                                                                                    このお店のメニュー：\n                                            \n                                                                                                    単品飲み放題\n                                                                                                    コース\n                                                                                                    お料理\n                                                                                                    全国日本酒\n                                                                                                    ドリンク\n                                                                                                    売れ筋メニュー\n                                                                                            \n                                                                            ",
  "ロケーション": "東京都新宿",
  "予算": "\n                                \n                                                                            5,000円（通常平均）\n                                                                                                                3,000円（宴会平均）\n                                                                                                                1,000円（ランチ平均）\n                                                                    \n                            ",
  "住所": "\n                                                                            〒160-0022 \n                                                                        東京都新宿区新宿4-1-13 田園新宿ビル10F                                ",
  "営業時間": "\n                                \n                                    月～金\n15:00～24:00\n（L.O.23:30、ドリンクL.O.23:30）\n※12時～16時のご来店は要事前予約となります。\n\n土・日・祝\n12:00～24:00\n（L.O.23:30、ドリンクL.O.23:30）\n■12時～16時のご来店は前日までのご予約となります。\n                                \n                            ",
  "定休日": "\n                                \n                                                                        無\n                                                                    \n                            ",
  "店名": "海鮮と日本酒 個室居酒屋\n北丸 新宿本店",
  "総席数": "\n                                                                        \n                                        120席\n                                    \n                                                                                                                \n                                                                                    掘りごたつ席あり\n                                                                                \n                                                                    ",
  "電話番号": "\n                                    050-5489-4391\n                                "
}
```

## 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": "gurunavi-shop-restaurant-scraper",
  "taskName": "Guru Navi Restaurant Scraper",
  "parameters": "{\"location;genre\":[\"東京都新宿\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"location;genre\":[\"東京都新宿\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "gurunavi-shop-restaurant-scraper",
        "taskName": "Guru Navi Restaurant Scraper",
        "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": "gurunavi-shop-restaurant-scraper",
  "taskName": "Guru Navi Restaurant Scraper",
  "parameters": "{\"location;genre\":[\"東京都新宿\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `gurunavi-shop-restaurant-scraper`, 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/gurunavi-shop-restaurant-scraper.json)
- [Manifest](https://www.octoparse.com/templates/gurunavi-shop-restaurant-scraper-manifest.json)
