# Mena Food Intelligence (Saudi Arabia and Egypt) (`melhout46/mena-food-intelligence`) Actor

Scrape Elmenus (Egypt) and HungerStation (Saudi) restaurant menus — item names, prices, categories in EGP/SAR. Built for MENA food-delivery intelligence alongside Talabat monitoring. One clean menu-item row per result. Pay-per-event $0.003.

- **URL**: https://apify.com/melhout46/mena-food-intelligence.md
- **Developed by:** [Muhanna El Hout](https://apify.com/melhout46) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 menu items

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

## MENA Food Menu Intelligence (Path B)

Private Apify side project: **Elmenus (Egypt) + HungerStation (Saudi)** restaurant menus.

Talabat is demand proof only — **out of v1**. Not Dolato dogfood.

### Status

**Gate: GO\_BUILD** — see [feasibility/gate-decision.md](./feasibility/gate-decision.md) (20/20 useful, EG+SA residential).

| Doc | Purpose |
|---|---|
| [feasibility/market-brief.md](./feasibility/market-brief.md) | Store whitespace + risks |
| [feasibility/gate-criteria.md](./feasibility/gate-criteria.md) | Go / Narrow / Stop |
| [feasibility/fixtures.md](./feasibility/fixtures.md) | 20 restaurant URLs |
| [feasibility/probe/](./feasibility/probe/) | Residential soak probe |
| [feasibility/gate-decision.md](./feasibility/gate-decision.md) | **GO\_BUILD** verdict |

Next: scaffold private Store Actor (PPE after cost sample). Talabat still out of v1.

# Actor input Schema

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

Elmenus or HungerStation restaurant menu URLs. Platform is auto-detected from the host.

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

Same as startUrls — array of { url } or plain strings. Use either field.

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

Cap menu items pushed per restaurant URL.

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

Optional cap for smoke runs. Omit to process all URLs.

## `useResidentialProxy` (type: `boolean`):

Required on Cloud. EG for Elmenus, SA for HungerStation.

## `navigationTimeoutSecs` (type: `integer`):

Max seconds to wait for each restaurant page to load.

## `debugLog` (type: `boolean`):

Log extra per-restaurant detail for debugging.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.elmenus.com/cairo/mcdonalds-3q54/downtown-7rl7"
    }
  ],
  "maxItemsPerRestaurant": 500,
  "useResidentialProxy": true,
  "navigationTimeoutSecs": 75,
  "debugLog": false
}
```

# Actor output Schema

## `menuItems` (type: `string`):

Clean menu-item rows (name + currency-backed price).

## `runSummary` (type: `string`):

JSON summary with push/reject counts and per-restaurant status.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.elmenus.com/cairo/mcdonalds-3q54/downtown-7rl7"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("melhout46/mena-food-intelligence").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 = { "startUrls": [{ "url": "https://www.elmenus.com/cairo/mcdonalds-3q54/downtown-7rl7" }] }

# Run the Actor and wait for it to finish
run = client.actor("melhout46/mena-food-intelligence").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 '{
  "startUrls": [
    {
      "url": "https://www.elmenus.com/cairo/mcdonalds-3q54/downtown-7rl7"
    }
  ]
}' |
apify call melhout46/mena-food-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,melhout46/mena-food-intelligence"
        }
    }
}
```

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/Zr9o3UabluraC0pV3/builds/J3QSi5gau52Mty4iB/openapi.json
