# 일본 음식점 데이터 — 식당·예산·교통 (`fruitful_quintessence/japan-hotpepper-kr-scraper`) Actor

일본 최대 음식점 예약 포털 HOT PEPPER Gourmet에서 지역·요리별 식당 수집: 상호, 요리, 예산, 교통, GPS.

- **URL**: https://apify.com/fruitful\_quintessence/japan-hotpepper-kr-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

## 일본 음식점 데이터（HOT PEPPERグルメ）— 식당·예산·교통

**일본 최대 음식점 예약·쿠폰 포털「HOT PEPPER Gourmet（ホットペッパーグルメ, Recruit 운영）」에서 음식점 데이터를 수집합니다.** 도도부현+요리별로 음식점을 수집하며, 상호명, 요리 종류, 캐치프레이즈, 저녁/점심 예산, 최근 역 및 교통편, 정확한 GPS 좌표, 광고 게재 여부를 추출합니다.

**일본 음식 시장 리서치**, **음식점 영업 리드 생성**, **여행/관광 음식 분석**, **요리·예산 연구**에 적합합니다.

> 🇯🇵 English版: [Japan HotPepper Gourmet Restaurants Scraper](https://apify.com/fruitful_quintessence/japan-hotpepper-scraper)

### 출력 예시

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

### 입력 파라미터

| 파라미터 | 타입 | 기본값 | 설명 |
|---------|------|--------|------|
| `area` | string | `tokyo` | 도도부현. 키워드（tokyo, osaka, hokkaido...）또는 코드（SA11=도쿄, SA23=오사카, SA91=후쿠오카...） |
| `genre` | string | `izakaya` | 요리 종류. 키워드（izakaya, ramen, yoshoku...）또는 코드（G001=이자카야, G013=라멘...） |
| `maxItems` | integer | 100 | 최대 수집 수 |
| `maxPages` | integer | 5 | 최대 페이지 수（1페이지 약 20곳） |
| `proxyConfiguration` | object | auto | Apify 프록시（대량 수집에 권장） |

#### 도도부현 코드（전체 47개）

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

#### 요리 코드

`izakaya`(이자카야)=G001, `diningbar`=G002, `creative`(크리에이티브)=G003, `washoku`(일식)=G004, `yoshoku`(양식)=G005, `chuuka`(중화)=G007, `asian`=G009, `bar`=G012, `ramen`(라멘)=G013, `okonomiyaki`(오코노미야키)=G016.

### 사용 시나리오

- **시장 리서치**: 일본 지역별 음식점 밀도·요리 구성·가격대 비교
- **영업 리드**: 지역 음식점 DB 구축（B2B 영업, 식자재/시스템 공급）
- **여행 분석**: 지역 음식과 예산 파악
- **가격 모니터링**: 예산대 분포 변화 추적

### 제한 사항

- HOT PEPPER Gourmet 공개 데이터만 해당, 일본 전체 음식점 아님
- 목록 HTML에 평점/리뷰 없음（예약 중심 포털）
- `dinnerBudget`/`lunchBudget`은 매장 미표시 시 `null`
- `isSponsored: true`는 유료 광고 게재

# Actor input Schema

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

수집할 도도부현. 키워드（tokyo, osaka, hokkaido, kanagawa...）또는 코드（SA11=도쿄, SA23=오사카...）。

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

요리 종류. 키워드（izakaya, ramen, yoshoku...）또는 코드（G001=이자카야, G013=라멘...）。

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

수집할 최대 식당 수（지역+요리당）。

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

크롤링할 최대 목록 페이지 수（1페이지 약 20곳）。

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

IP 차단을 피하려면 Apify 프록시 사용.

## 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-kr-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-kr-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-kr-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-kr-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/FVJsHJhb4aPq54Uyd/builds/te60OE5n6qzfJK5Yn/openapi.json
