# Japan HotPepper Gourmet Restaurants Scraper (`fruitful_quintessence/japan-hotpepper-scraper`) Actor

Scrape Japanese restaurants from HOT PEPPER Gourmet by prefecture and cuisine. Extract name, genre, dinner/lunch budget, station & access, exact GPS, sponsored flag.

- **URL**: https://apify.com/fruitful\_quintessence/japan-hotpepper-scraper.md
- **Developed by:** [atushi ino](https://apify.com/fruitful_quintessence) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

## 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

## Japan HotPepper Gourmet Restaurants Scraper

Scrape Japanese restaurant listings from **HOT PEPPER Gourmet (ホットペッパーグルメ)**, one of Japan's largest restaurant reservation and coupon portals (operated by Recruit). This Actor extracts restaurants by prefecture and food genre, including name, cuisine type, catchphrase, dinner/lunch budget, nearest station & access, exact GPS coordinates, and whether the listing is sponsored.

Perfect for **Japan food market research**, **restaurant lead generation**, **travel & tourism analytics**, **menu/budget analysis**, and **regional cuisine studies**.

### Output Sample

```json
{
  "shopId": "J004660516",
  "name": "もつ焼き ひふみ屋",
  "genre": "居酒屋｜道玄坂",
  "genreCode": "G001",
  "catchphrase": "厳選もつ焼きが自慢！大人のグルメな隠れ家",
  "dinnerBudget": "4001～5000円",
  "lunchBudget": null,
  "access": "各線【渋谷駅】A2出口より徒歩4分...",
  "area": "SA11",
  "url": "https://www.hotpepper.jp/strJ004660516/",
  "imageUrl": "https://imgfp.hotp.jp/IMGH/57/61/P051005761/P051005761_238.jpg",
  "lat": "35.6602652",
  "lon": "139.6971312",
  "isSponsored": false
}
```

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `area` | string | `tokyo` | Prefecture. Keyword (`tokyo`, `osaka`, `hokkaido`, `kanagawa`...) or code (`SA11`=Tokyo, `SA23`=Osaka, `SA91`=Fukuoka...) |
| `genre` | string | `izakaya` | Food genre. Keyword (`izakaya`, `ramen`, `yoshoku`...) or code (`G001`=Izakaya, `G013`=Ramen...) |
| `maxItems` | integer | 100 | Max restaurants to collect |
| `maxPages` | integer | 5 | Max listing pages to crawl (1 page ≈ 20 restaurants) |
| `proxyConfiguration` | object | auto | Apify proxy (recommended for large runs) |

#### Area codes (all 47 prefectures)

`tokyo`=SA11, `kanagawa`=SA12, `osaka`=SA23, `kyoto`=SA22, `aichi`=SA33, `hokkaido`=SA41, `fukuoka`=SA91, `chiba`=SA14, `saitama`=SA13, `hyogo`=SA24, `hiroshima`=SA74, `okinawa`=SA98, and all others.

#### Genre codes

`izakaya`(居酒屋)=G001, `diningbar`(ダイニングバー・バル)=G002, `creative`(創作料理)=G003, `washoku`(和食)=G004, `yoshoku`(洋食)=G005, `chuuka`(中華)=G007, `asian`(アジア・エスニック)=G009, `bar`(バー・カクテル)=G012, `ramen`(ラーメン)=G013, `okonomiyaki`(お好み焼き・もんじゃ)=G016.

### Use Cases

- **Market research**: Compare restaurant density, cuisine mix, and price ranges across Japanese prefectures
- **Lead generation**: Build regional restaurant databases for B2B outreach (suppliers, SaaS, delivery platforms)
- **Travel analytics**: Map dining options and budgets for tourism planning
- **Academic studies**: Analyze Japan's food service industry by region and category
- **Price monitoring**: Track budget range distributions over time

### Limitations

- Data is limited to what HotPepper Gourmet publicly displays; not all Japanese restaurants are listed
- Reviews/scores are not part of the listing HTML (HotPepper uses a reservation model, not ratings)
- `dinnerBudget` / `lunchBudget` may be `null` when the restaurant doesn't display a budget
- Listings marked `isSponsored: true` are PR placements (paid)

# Actor input Schema

## `area` (type: `string`):

Prefecture to scrape. Use a keyword (tokyo, osaka, hokkaido, kanagawa...) or a code (SA11=Tokyo, SA23=Osaka...).

## `genre` (type: `string`):

Food genre. Use a keyword (izakaya, ramen, yoshoku...) or a code (G001=Izakaya, G013=Ramen...).

## `maxItems` (type: `integer`):

Maximum number of restaurants to collect (per area+genre).

## `maxPages` (type: `integer`):

Maximum number of listing pages to crawl (1 page = 20 restaurants).

## `proxyConfiguration` (type: `object`):

Use Apify proxy to avoid IP blocking.

## Actor input object example

```json
{
  "area": "tokyo",
  "genre": "izakaya",
  "maxItems": 100,
  "maxPages": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `shopId` (type: `string`):

HotPepper shop identifier

## `name` (type: `string`):

Restaurant name

## `genre` (type: `string`):

Food genre label

## `genreCode` (type: `string`):

Genre URL code

## `catchphrase` (type: `string`):

Restaurant tagline

## `dinnerBudget` (type: `string`):

Dinner price range

## `lunchBudget` (type: `string`):

Lunch price range

## `access` (type: `string`):

Nearest station & walk time

## `area` (type: `string`):

Prefecture area code

## `url` (type: `string`):

Restaurant page URL

## `imageUrl` (type: `string`):

Main photo URL

## `lat` (type: `string`):

Latitude

## `lon` (type: `string`):

Longitude

## `isSponsored` (type: `string`):

Whether listing is PR/sponsored

# 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 = {
    "area": "tokyo",
    "genre": "izakaya",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fruitful_quintessence/japan-hotpepper-scraper").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 = {
    "area": "tokyo",
    "genre": "izakaya",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fruitful_quintessence/japan-hotpepper-scraper").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 '{
  "area": "tokyo",
  "genre": "izakaya",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fruitful_quintessence/japan-hotpepper-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fruitful_quintessence/japan-hotpepper-scraper"
        }
    }
}

```

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/UVkH1uhlt57Jf6QnT/builds/CviKfbFEa9wxyeDF4/openapi.json
