# Demae-can Restaurant & Menu Scraper - Japan (`teodor_banea/demae-can-restaurant-menu-scraper`) Actor

Scrape Demae-can (出前館) food delivery in Japan: restaurants by postal code, area, chain or URL with genre, rating, delivery fee, minimum order, hours, address and coordinates, or full menus with JPY prices, stock, sizes and option groups.

- **URL**: https://apify.com/teodor_banea/demae-can-restaurant-menu-scraper.md
- **Developed by:** [Banea Teodor](https://apify.com/teodor_banea) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Demae-can Restaurant & Menu Scraper - Japan

### What does Demae-can Restaurant & Menu Scraper do?

This Actor collects public data from **Demae-can (出前館)**, one of Japan's largest food delivery services. Give it Japanese postal codes, Demae-can area pages, chain pages or restaurant links, and choose:

- **Full menus** – one row per menu item: category, item name and description, price in yen, labels (お店価格, 人気 No1 …), stock, item type — and, if you want them, sizes and option groups with their extra prices.
- **Restaurants** – one row per restaurant: genre, rating and number of reviews, delivery fee, minimum order, delivery time, open state, business hours, closing days, address, coordinates, payment methods, chain, campaigns and coupons.

**Japan only.** Demae-can serves addresses in Japan, and its text is Japanese — names, menus and notes are returned exactly as published (UTF-8, full-width characters kept). There are no English menus on Demae-can.

### Why use this Actor?

- **No other Demae-can scraper exists** in the Apify Store.
- **Search like a customer:** a postal code gives the restaurants that deliver to that address, in the site's own order or sorted by rating, reviews, delivery time or minimum order, with keyword, genre, open-now, free-delivery and rating filters.
- **Whole chains:** a chain page lists every branch in Japan with address, hours and closing days.
- **Clean, flat rows** that stack with our other delivery actors (foodpanda, LINE MAN, Deliveroo …): same keys, prices as numbers with a `currency` field, `null` when a value is missing.
- **Bill-shock protection:** chain branches are grouped by default (they share one menu), option groups are opt-in, every list stops as soon as your limits are met.

### How much does it cost?

The Actor is billed per result: a small start fee per run plus a fee per returned row (see the Pricing tab). The included platform costs are covered. Demae-can only answers connections from Japan, so every read is routed through Japan — runs are somewhat slower and costlier to operate than in other markets, and the price reflects that.

| Run | Rows | Typical time |
|---|---|---|
| Prefilled run (1 postal code, 3 restaurants, 20 items each) | 60 | under 1 minute |
| 20 restaurants, whole menus | about 1,600 | under 1 minute |
| 150 restaurants with details | 150 | under 2 minutes |
| 1 area to the end, restaurants mode | 700–900 | 5–15 minutes |

Option groups make a run slower, not pricier per row: every item (and size) needs its own read, roughly **1,030 extra reads per 1,000 rows** — about 10 minutes per 1,000 rows instead of under a minute.

### Input

| Field | What it does | Example |
|---|---|---|
| What to scrape | `menus` (one row per item) or `restaurants` (one row per restaurant) | `menus` |
| Postal codes | 7-digit Japanese postal codes; the restaurants that deliver there. Examples: Tokyo 1060045 (Azabu-Juban) and 1500002 (Shibuya), Osaka 5300001 (Umeda), Nagoya 4500002, Sapporo 0600061, Fukuoka 8100001 | `["1060045", "530-0001"]` |
| All areas of a postal code | Off: the first address area (chome) of the postal code; on: every area (neighbouring areas share most restaurants) | `false` |
| Area pages | The site's area result pages or 11-digit area codes | `https://demae-can.com/search/delivery/13103002001` |
| Chain pages | Chain pages or chain ids — every branch in Japan | `https://demae-can.com/chain/top/310895` |
| Restaurant URLs | Restaurant pages | `https://demae-can.com/shop/menu/1234567` |
| Search keyword, Genres, Sort by | The site's own keyword search, genre lists (genre codes, e.g. 61 = ramen) and sort orders | `ピザ`, `["61"]`, `rating` |
| Only restaurants open now, Only free delivery, Minimum rating | Filters on the lists | `true`, `true`, `4` |
| Group chain branches | On: one branch per chain per area (as the site shows it). **Off multiplies rows**: every branch repeats the same menu | `true` |
| Maximum restaurants / items per restaurant / results | Limits; every returned row is one billed result | `3` / `20` / `0` |
| Include option groups and sizes | Menus mode: option groups with extra prices and stock, and one row per size | `false` |
| Include restaurant details | Restaurants mode: address, coordinates, hours, payment methods, review summary (one small read per restaurant) | `true` |

**Which inputs are complete?** A postal code or area page lists every restaurant that delivers to that address (the site states the total; the run log compares it with what was read). With **Group chain branches** on, a chain appears once per area. A chain page lists every branch in Japan. A keyword search is the site's own search and can be fuzzy. Sorting uses the site's own orders: "rating" is how Demae-can ranks by rating, not a strict star sort — a promoted restaurant can come first.

**Option groups for pasted restaurants:** Demae-can only shows option groups and sizes for an address the restaurant delivers to. When you paste restaurant URLs and turn options on, also enter a postal code near those restaurants.

### Output

Menus mode, one row per menu item (a fictitious restaurant):

```json
{
    "rowType": "menuItem",
    "storeId": "1234567",
    "storeName": "架空食堂　見本町店",
    "storeUrl": "https://demae-can.com/shop/menu/1234567",
    "storeChainName": "架空食堂",
    "storeCuisine": ["ラーメン"],
    "storeRating": 4.3,
    "storeIsOpen": true,
    "searchLocation": "東京都港区見本町１丁目",
    "currency": "JPY",
    "categoryId": "D002",
    "categoryName": "ラーメン",
    "categoryPosition": 1,
    "productId": "D0000001",
    "variationId": "1",
    "variationName": null,
    "variationCount": 1,
    "name": "特製らーめん",
    "description": "自家製スープの定番らーめん。",
    "price": 990,
    "priceOriginal": null,
    "priceDiscounted": null,
    "priceText": "¥990",
    "isInStorePrice": true,
    "isPopular": true,
    "labels": ["お店価格", "人気 No1"],
    "isAvailable": true,
    "itemType": "NORMAL_ITEM",
    "isCombo": false,
    "medicineClass": null,
    "hasMultipleSizes": false,
    "hasOptions": true,
    "modifierGroups": [
        {
            "id": "D001",
            "name": "トッピング",
            "description": null,
            "type": "single",
            "minSelection": null,
            "maxSelection": 1,
            "hasSubOptions": false,
            "options": [
                { "id": "D0000001", "name": "なし", "price": 0, "priceText": null, "isAvailable": true },
                { "id": "D0000002", "name": "味玉", "price": 180, "priceText": "+¥180", "isAvailable": true }
            ]
        }
    ],
    "imageUrl": "https://cdn.demae-can.com/files/img/example/item.jpg",
    "position": 1,
    "scrapedAt": "2026-11-19T10:00:00.000Z",
    "runId": "aBcDeFgHiJkLmNoPq"
}
```

Restaurants mode rows carry `storeId`, `name`, `url`, `detailUrl`, `searchPostalCode`, `searchLocation`, `blockCode`, `chainCode`, `chainName`, `chainBranchCount`, `rating`, `ratingCount`, `cuisine`, `deliveryFee`, `isFreeDelivery`, `minimumOrder`, `etaMinutes`, `isOpen`, `openStatus`, `openingHoursText`, `holidays`, `address`, `prefecture`, `latitude`, `longitude`, `description`, `deliveryNotes`, `paymentTypes`, `isShareDelivery`, `isInStorePrice`, `tags`, `campaignLabels`, `imageUrl`, `logoUrl` and `listPosition`. In menus mode the same restaurant records are saved in the run's key-value store under **RESTAURANTS** (join on `storeId`); problems (unknown postal codes, restaurants not found, reads that failed) are listed under **ERRORS**.

**Notes on the data**

- **Prices are in yen and include consumption tax** (Japanese prices are shown tax-inclusive). `price` is the price of the item (or of that size). Demae-can menus show no "before discount" price, so `priceOriginal` and `priceDiscounted` are always null; shop-wide campaigns such as 半額セール中 appear in the restaurant's `campaignLabels`.
- **Stock:** `isAvailable` is false when the item is sold out or not for sale, true when both say it can be ordered. With sizes or variants, a sold-out size is false on its own row.
- **Option groups are opt-in.** Off: `modifierGroups` and `hasOptions` are null (not read) and items with several sizes have one row at the base size (`hasMultipleSizes: true`, `variationName` null). On: one row per size with its own price, and the option groups of every item and size.
- **Ratings:** `rating` is null when a restaurant has no reviews yet (the site shows 0).
- **Privacy:** only business data is returned. Demae-can does not publish restaurant phone numbers (`phone` is always null); phone numbers, e-mail addresses and social-media handles that shops type into names, descriptions or notes are removed. Test shops are skipped.

### Tips and tricks

- Start with the prefilled input, then raise **Maximum restaurants**.
- Leave **Maximum items per restaurant** at 0 for whole menus; set it to 1 if you only need one row per restaurant with menu context — or use restaurants mode.
- Neighbouring postal codes overlap heavily; use one postal code per district.
- **Scheduling:** run the same input daily or weekly and de-duplicate downstream on `storeId` + `productId` + `variationId`; `scrapedAt` tells the runs apart.

### Integrations

Send rows to Google Sheets, Airtable, Slack or your own database with Apify integrations (Zapier, Make, webhooks) or read them through the Apify API in JSON, CSV or Excel.

# Changelog

This Actor's version history is a separate document: https://apify.com/teodor_banea/demae-can-restaurant-menu-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Choose "Full menus" for one row per menu item with JPY prices, labels and stock. Choose "Restaurants" for one row per restaurant (genre, rating, delivery fee, minimum order, delivery time, hours, address, coordinates). A typical Demae-can menu has 20–230 items, so menus multiply the result count.

## `postalCodes` (type: `array`):

Enter Japanese postal codes (7 digits, with or without the hyphen, e.g. "1060045" or "530-0001"). The restaurants that deliver to that address are listed in the site's own order.

## `allBlocksOfPostalCode` (type: `boolean`):

A postal code can cover several address areas (chome). Off: the first area only — neighbouring areas list almost the same restaurants (84 of the first 91 were shared in a Tokyo test). On: every area of the postal code (more list reads, a few more restaurants).

## `areaUrls` (type: `array`):

Enter Demae-can area result pages (https://demae-can.com/search/delivery/<area code>, optionally with a genre at the end) or bare 11-digit area codes — the page you see after entering an address on the site.

## `chainUrls` (type: `array`):

Enter Demae-can chain pages (https://demae-can.com/chain/top/<chain id>) or chain ids. Restaurants mode lists every branch in Japan. Menus mode reads one branch per chain (all branches share one menu) unless "Group chain branches" is off.

## `restaurantUrls` (type: `array`):

Enter Demae-can restaurant pages (https://demae-can.com/shop/menu/<id> or https://demae-can.com/shopDetail/<id>). Each costs one read. For option groups of these restaurants, also enter a postal code where they deliver.

## `keyword` (type: `string`):

Search the restaurants of each postal code / area with the site's own keyword search (Japanese works best, e.g. "ピザ" or "寿司"). Leave empty for the full list.

## `genres` (type: `array`):

Keep only restaurants of these genres (the site's own genre lists; each genre is read as its own list). Not combined with a keyword.

## `sortBy` (type: `string`):

Order of the restaurant lists (the site's own sort). Limits take the first restaurants in this order.

## `onlyOpen` (type: `boolean`):

Keep only restaurants that take orders at the time of the run (Japan time).

## `onlyFreeDelivery` (type: `boolean`):

Keep only restaurants with a delivery fee of 0 yen.

## `minRating` (type: `number`):

Keep only restaurants rated at least this (1–5). Restaurants without reviews are left out when this is set. Empty = no rating filter.

## `groupChainBranches` (type: `boolean`):

On (recommended): one branch per chain per area, as the site's own list shows it — chain branches repeat the same menu. Off: every branch separately, which multiplies menu rows (and the bill) for big chains.

## `maxRestaurants` (type: `integer`):

Limit the restaurants for the whole run: restaurant rows (restaurants mode) or restaurants whose menus are read (menus mode). It also limits how many restaurant URLs are read. Restaurants without a menu are skipped without counting. 0 = no limit (restaurants: up to 10,000; menus: up to 2,000).

## `maxItemsPerRestaurant` (type: `integer`):

In menus mode, keep only the first N menu items of each restaurant (in menu order). 0 = the whole menu.

## `maxItemsTotal` (type: `integer`):

Set a hard ceiling on returned rows for the whole run. 0 = no ceiling (still capped at 50,000 rows). The run stops as soon as it is reached.

## `includeModifiers` (type: `boolean`):

In menus mode, add each item's option groups (toppings, sets, choices) with extra prices in JPY and stock, and one row per size or variant. Off by default: Demae-can sends options one item at a time, so this adds one read per item and size and makes a run several times slower (about 1,030 extra reads and 10 minutes per 1,000 rows).

## `includeDetails` (type: `boolean`):

In restaurants mode, read each restaurant's details (address, coordinates, hours, closing days, minimum order, genre, payment methods, review summary) — one small extra read per restaurant. Off: only the facts of the area list (name, rating, delivery fee and time, status, campaigns). Menus mode always includes them in the restaurant records.

## Actor input object example

```json
{
  "mode": "menus",
  "postalCodes": [
    "1060045",
    "530-0001"
  ],
  "allBlocksOfPostalCode": false,
  "areaUrls": [
    "https://demae-can.com/search/delivery/13103002001"
  ],
  "chainUrls": [
    "https://demae-can.com/chain/top/310895"
  ],
  "restaurantUrls": [
    {
      "url": "https://demae-can.com/shop/menu/1234567"
    }
  ],
  "sortBy": "recommended",
  "onlyOpen": false,
  "onlyFreeDelivery": false,
  "groupChainBranches": true,
  "maxRestaurants": 3,
  "maxItemsPerRestaurant": 20,
  "maxItemsTotal": 0,
  "includeModifiers": false,
  "includeDetails": true
}
```

# Actor output Schema

## `results` (type: `string`):

Every row of the run as JSON.

## `menu` (type: `string`):

Menus mode: restaurant, category, item, size, price (JPY), labels, availability, options.

## `restaurants` (type: `string`):

Restaurants mode: position, name, chain, genre, rating, delivery fee, minimum order, delivery time, hours, address.

## `resultsCsv` (type: `string`):

The same rows as a CSV download.

## `restaurantRecords` (type: `string`):

One full restaurant record per scraped menu (rating, hours, address, coordinates), joinable on storeId.

## `errors` (type: `string`):

Restaurants not found or without a menu, postal codes or areas without restaurants, and requests that failed. Only present when something went wrong.

# 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 = {
    "mode": "menus",
    "postalCodes": [
        "1060045"
    ],
    "maxRestaurants": 3,
    "maxItemsPerRestaurant": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("teodor_banea/demae-can-restaurant-menu-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 = {
    "mode": "menus",
    "postalCodes": ["1060045"],
    "maxRestaurants": 3,
    "maxItemsPerRestaurant": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("teodor_banea/demae-can-restaurant-menu-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 '{
  "mode": "menus",
  "postalCodes": [
    "1060045"
  ],
  "maxRestaurants": 3,
  "maxItemsPerRestaurant": 20
}' |
apify call teodor_banea/demae-can-restaurant-menu-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,teodor_banea/demae-can-restaurant-menu-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/jl7NJwUZBNwaZs2qg/builds/bW2g8hYd9I6ZaOXO1/openapi.json
