# HungerStation Restaurant & Menu Scraper (Saudi Arabia) (`teodor_banea/hungerstation-restaurant-menu-scraper`) Actor

Scrape HungerStation, Saudi Arabia's largest food-delivery app: restaurants by city and district (rating, cuisines, delivery fee, minimum order, ETA, open now) and flat menu-item rows with prices in SAR, calories and images. English or Arabic. No proxy setup.

- **URL**: https://apify.com/teodor_banea/hungerstation-restaurant-menu-scraper.md
- **Developed by:** [Banea Teodor](https://apify.com/teodor_banea) (community)
- **Features:** Limited permissions
- **Stats:** 1 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?

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

## HungerStation Restaurant & Menu Scraper (Saudi Arabia)

### What does HungerStation Restaurant & Menu Scraper do?

It collects restaurants and menus from [HungerStation](https://hungerstation.com), Saudi Arabia's largest food-delivery app. Pick cities and districts by name — "Riyadh", "Al Olaya", or in Arabic "الرياض", "العليا" — and get either one row per restaurant (rating, number of ratings, cuisines, delivery fee, minimum order, delivery time, open now, location) or one flat row per menu item (category, name, description, price in SAR, calories, full-size image) with the restaurant's columns on every row. Output in English or Arabic. You can also paste HungerStation district or restaurant URLs.

### Why use this Actor?

- **Search by name, not by URL** — 115 cities and ~1,900 districts, matched in English or Arabic, any case; unknown names come back with "did you mean" suggestions.
- **Flat menu rows that load straight into a sheet** — one row per item with price in SAR as a number, calories and image, plus restaurant name, district, cuisines, rating and open-now on every row.
- **English or Arabic** — names, descriptions, cuisines, cities and districts in the language you pick; Arabic is returned as-is, never transliterated.
- **No proxy setup** — HungerStation only answers visitors in Saudi Arabia; the Actor handles that for you.
- **Fast and frugal** — several pages in parallel, one request per restaurant, nothing fetched past your limits.

Typical uses: menu price monitoring in SAR, competitor menus and calorie data, district market maps (who delivers where, fees, ratings), and lead lists of restaurants by city and cuisine.

### How much does it cost?

You pay per row returned plus a small start fee per run. Every row is one result: a restaurant in Restaurants mode, a menu item in Menus mode.

| Run | Rows | Requests |
|---|---|---|
| One district, Restaurants mode, 81 restaurants | 81 restaurants | 3 list pages |
| 10 restaurants, complete menus | ~500–1,500 menu items | 1 list page + 10 restaurant pages |
| 1 restaurant URL, complete menu | 50–200 menu items | 1 restaurant page |

Menus multiply the row count (a menu has 50–200 items): use **Maximum items per restaurant** for a cheap overview and **Maximum results** as a hard ceiling for any run. The prefilled input (2 restaurants × 25 items) costs a few cents.

### Input

| Field | What it does | Example |
|---|---|---|
| What to extract | `restaurants` (one row per restaurant) or `menus` (one row per menu item) | `menus` |
| Cities | City names in English or Arabic | `["Riyadh", "جدة"]` |
| Districts | District names within those cities (optional) | `["Al Olaya", "Al Malqa"]` |
| HungerStation URLs | District restaurant lists or restaurant pages (optional) | `https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya` |
| Districts per city | When no districts are named: how many districts of each city, in HungerStation's order (0 = all) | `1` |
| Maximum restaurants | Restaurants for the whole run | `50` |
| Maximum items per restaurant | Menus: first N items of each menu (0 = complete menu) | `25` |
| Maximum results | Hard ceiling on rows for the run (0 = 50,000) | `5000` |
| Only restaurants open now | Keep restaurants shown as open at run time | `false` |
| Cuisines | Keep restaurants with one of these cuisine tags | `["Pizza"]` |
| Restaurant name contains | Keep restaurants whose name contains this text | `shawarma` |
| Language | `en` or `ar` | `en` |

Example input:

```json
{
    "mode": "menus",
    "cities": ["Riyadh"],
    "districts": ["Al Olaya"],
    "maxRestaurants": 10,
    "maxItemsPerRestaurant": 0,
    "language": "en"
}
```

### Output

Menus mode — one row per menu item (all venue names below are fictitious):

```json
{
    "rowType": "menuItem",
    "storeId": "123456",
    "storeName": "Example Shawarma House",
    "storeSlug": "example-shawarma-house",
    "storeUrl": "https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya/example-shawarma-house-123456",
    "storeCity": "Riyadh",
    "storeDistrict": "Al Olaya",
    "storeCuisine": ["Arabic", "Shawarma"],
    "storeRating": 4.5,
    "storeIsOpen": true,
    "currency": "SAR",
    "categoryId": "4700001",
    "categoryName": "Sandwiches",
    "categoryPosition": 2,
    "productId": "150000001",
    "name": "Chicken Shawarma Wrap",
    "description": "Chicken shawarma wrap with garlic sauce and pickles",
    "price": 23,
    "priceText": "23.00 SAR",
    "calories": 450,
    "imageUrl": "https://hungerstation.dhmedia.io/image/global-menu-service/HS_SA/example.jpg",
    "isAvailable": null,
    "modifierGroups": null,
    "position": 5,
    "scrapedAt": "2026-11-12T14:30:00.000Z",
    "runId": "AbCdEf123456"
}
```

Restaurants mode — one row per restaurant:

```json
{
    "rowType": "restaurant",
    "storeId": "123456",
    "name": "Example Shawarma House",
    "slug": "example-shawarma-house",
    "url": "https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya/example-shawarma-house-123456",
    "sourceUrl": "https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya",
    "city": "Riyadh",
    "citySlug": "riyadh",
    "district": "Al Olaya",
    "districtSlug": "al-ulaya",
    "countryCode": "SA",
    "currency": "SAR",
    "chainId": "45678",
    "chainType": "RESTAURANT",
    "vertical": "restaurants",
    "rating": 4.5,
    "ratingCount": 128,
    "cuisine": ["Arabic", "Shawarma"],
    "etaText": "20 - 35 mins",
    "etaMinMinutes": 20,
    "etaMaxMinutes": 35,
    "distanceKm": 0.4,
    "deliveryFee": 17,
    "deliveryFeeOriginal": 17,
    "deliveryFeeText": "17 SAR",
    "isFreeDelivery": false,
    "deliveryType": "OWN_DELIVERY",
    "deliveryName": "Fast Delivery",
    "minimumOrder": 15,
    "isOpen": true,
    "status": "OPEN",
    "statusLabel": null,
    "promotion": null,
    "isDarkstore": false,
    "supportsScheduledOrder": null,
    "latitude": 24.6907,
    "longitude": 46.6823,
    "districtLatitude": 24.6923,
    "districtLongitude": 46.6835,
    "address": null,
    "phone": null,
    "logoUrl": "https://images.deliveryhero.io/image/hungerstation/restaurant/logo/example.jpg",
    "imageUrl": "https://images.deliveryhero.io/image/hungerstation/restaurant/android_cover_photo/example.jpg",
    "listPosition": 3,
    "listPage": 1,
    "scrapedAt": "2026-11-12T14:30:00.000Z",
    "runId": "AbCdEf123456"
}
```

In Menus mode the full restaurant record of every returned menu (the fields above, plus scheduled-order support from the restaurant page) is also stored in the run's key-value store under `RESTAURANTS` — free, join on `storeId`. Problems (unknown cities or districts, restaurants no longer listed, pages that could not be read) are listed under `ERRORS`.

#### What the data covers — and what it does not

- **Prices are in SAR**, as shown on the menu, as numbers (`price`) and text (`priceText`).
- **A restaurant list is per district.** HungerStation shows the restaurants that deliver to a district, 27 per page; the same restaurant appears in neighbouring districts and is returned once per run.
- **The list changes with opening hours.** Open restaurants are listed first and the order shifts from minute to minute, so `listPosition` is a snapshot and a district's list is a sample at run time, not a fixed directory.
- **Open now, delivery fee, minimum order, delivery time and distance come from the district list.** A restaurant entered by URL has no district list behind it, so these are null for it.
- **Option groups (sizes, extras), item availability and review texts are not available** on the HungerStation website — `modifierGroups` and `isAvailable` are always null. Street address and phone are not published either.
- **Calories** are filled when the restaurant lists them (often for chains, rarely for small restaurants).
- An item placed in two menu categories (e.g. "Offers" and "Combos") appears once in each, with its category.

### Tips and tricks

- **Start small**: one district and `maxRestaurants` 10 show you the data in seconds.
- **Whole city**: leave Districts empty and set Districts per city to 0; keep Maximum restaurants as the brake.
- **Cheap menu overview**: Maximum items per restaurant = 10 returns the first items (usually offers and best sellers) of many restaurants.
- **Open now**: with Only restaurants open now, the Actor stops reading a district as soon as its list reaches closed restaurants.
- **Filters that match nothing**: after 150 list pages in a row without a new restaurant (filtered out, or already returned from a neighbouring district) the run stops reading lists, so a too-narrow filter on a whole city cannot run up a bill.
- **Arabic**: set Language to `ar`; city and district slugs stay in English so English and Arabic runs join easily on `storeId`, `citySlug` and `districtSlug`.
- **Scheduling**: schedule a daily Menus run on the same districts and compare `price` per `productId` to track price changes; downstream, de-duplicate by `storeId` + `productId`.

### Integrations

Export the dataset as JSON, CSV or Excel, or connect it to Google Sheets, Zapier, Make, Slack or your own code through the Apify API and webhooks. Each run's rows have the same columns, so a sheet or database table can be appended run after run.

# Changelog

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

# Actor input Schema

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

"Restaurants" returns one row per restaurant from the district lists (rating, cuisines, delivery fee, minimum order, ETA, open now). "Menus" opens each restaurant and returns one row per menu item (category, name, description, price in SAR, calories, image) with the restaurant's columns on every row — a menu has 50–200 items, so menus multiply the row count.

## `cities` (type: `array`):

Enter Saudi city names in English or Arabic, any case (e.g. "Riyadh", "jeddah", "الرياض"). HungerStation lists 115 cities. Unknown names are reported with close matches.

## `districts` (type: `array`):

Optionally enter district names within the cities above, in English or Arabic (e.g. "Al Olaya", "al-ulaya", "العليا"). Leave empty to take the first districts of each city in HungerStation's order (see Districts per city).

## `startUrls` (type: `array`):

Optionally paste HungerStation Saudi Arabia district restaurant lists (https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya) or restaurant pages (https://hungerstation.com/sa-en/restaurants/regions/riyadh/al-ulaya/example-shawarma-house-123456). English and Arabic addresses both work.

## `maxDistrictsPerCity` (type: `integer`):

When no districts are entered, read this many districts of each city, in HungerStation's order. Set to 0 for every district of the city (a large city has 100+ districts; the restaurant limit still stops the run).

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

Stop after this many restaurants for the whole run (restaurant rows, or restaurants whose menus are returned). A district list shows 27 restaurants per page. Set to 0 for the run maximum of 5,000.

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

Menus only: keep the first N items of each menu, in menu order. Set to 0 for complete menus.

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

Set a hard ceiling on rows (billed results) for the whole run. Set to 0 for the run maximum of 50,000.

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

Keep only restaurants that HungerStation shows as open at the time of the run.

## `cuisines` (type: `array`):

Keep only restaurants tagged with at least one of these cuisines, any case (e.g. "Pizza", "Burgers", "Arabic"; in Arabic mode use the Arabic tags).

## `searchQuery` (type: `string`):

Keep only restaurants whose name contains this text, any case (e.g. "shawarma").

## `language` (type: `string`):

Language of names, descriptions, cuisines, cities and districts in the output. Slugs stay in English; prices are in SAR either way.

## Actor input object example

```json
{
  "mode": "menus",
  "cities": [
    "Riyadh",
    "Jeddah"
  ],
  "districts": [
    "Al Olaya",
    "Al Malqa"
  ],
  "maxDistrictsPerCity": 1,
  "maxRestaurants": 2,
  "maxItemsPerRestaurant": 25,
  "maxItemsTotal": 0,
  "onlyOpen": false,
  "cuisines": [
    "Pizza",
    "Burgers"
  ],
  "language": "en"
}
```

# Actor output Schema

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

Every row of the run as JSON.

## `restaurantsView` (type: `string`):

Restaurants mode: logo, name, district, rating, cuisines, delivery fee, minimum order, delivery time, open now.

## `menusView` (type: `string`):

Menus mode: image, restaurant, category, item, description, price in SAR, calories.

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

The same rows as a CSV download.

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

Menus mode also stores one full restaurant record per returned menu (free, join on storeId) under the RESTAURANTS key.

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

Cities or districts not found, restaurants no longer listed and pages that could not be read. 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",
    "cities": [
        "Riyadh"
    ],
    "districts": [
        "Al Olaya"
    ],
    "maxDistrictsPerCity": 1,
    "maxRestaurants": 2,
    "maxItemsPerRestaurant": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("teodor_banea/hungerstation-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",
    "cities": ["Riyadh"],
    "districts": ["Al Olaya"],
    "maxDistrictsPerCity": 1,
    "maxRestaurants": 2,
    "maxItemsPerRestaurant": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("teodor_banea/hungerstation-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",
  "cities": [
    "Riyadh"
  ],
  "districts": [
    "Al Olaya"
  ],
  "maxDistrictsPerCity": 1,
  "maxRestaurants": 2,
  "maxItemsPerRestaurant": 25
}' |
apify call teodor_banea/hungerstation-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/hungerstation-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/kLkgg9D7TvYOKBBrZ/builds/xHiydqaLyxmogCfBm/openapi.json
