# Talabat Scraper — Restaurants, Ratings & Cuisines (`blackfalcondata/talabat-com-scraper`) Actor

Scrape talabat.com restaurants across 9 countries: name, URL, cuisines, rating with rating count, payment methods, coordinates and currency. Search by keyword or collect a whole country, and track new or changed restaurants between runs.

- **URL**: https://apify.com/blackfalcondata/talabat-com-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.63 / 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

### What does Talabat Scraper do?

Talabat Scraper extracts structured restaurant data from [talabat.com](https://talabat.com) — including location data and ratings. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (extra per-record fields the search results omit).

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **⭐ Ratings and review counts:** `rating` and `ratingCount` for every restaurant that has them.
- **📍 Coordinates:** `latitude`, `longitude` and `distanceKm` on each restaurant that has a location, ready for a map.
- **🌍 Region selection:** Choose United Arab Emirates, Kuwait, Saudi Arabia, Bahrain, Oman, Qatar, Jordan, Egypt and Iraq with the `country` input.
- **🔍 Keyword search:** search talabat.com by keyword with the `query` input.
- **🧭 Radius search:** search around a point with `lat`, `lon` and `radiusKm`.
- **🔗 Paste-mode:** paste talabat.com restaurant-listing, delivery-area, restaurant or branch-menu URLs into `startUrls` to scrape exactly the pages you picked in the browser.
- **🎯 Specific restaurants and branches:** skip search and collect exactly the restaurants you name — slugs or restaurant URLs in `restaurantSlugs`, branch ids or branch-menu URLs in `branchIds`.
- **🗺️ Delivery-area catalogue:** turn on `fullCatalog` and name delivery areas in `catalogAreas` (area id, slug or listing URL) to collect every restaurant that delivers to that area.
- **🍕 Menus, choices and Talabat Pro:** opt in with `scrapeMenu` for each restaurant's full menu (`menuItems` with prices), `scrapeMenuChoices` for sizes and add-ons, and `enrichPro` for the `isTalabatPro` flag.
- **♻️ Incremental mode:** recurring runs emit only restaurants that are new or whose rating, review count, cuisines, accepted payment methods or location changed since the prior run; the rest stay UNCHANGED and are filtered out by default. Turn on `emitExpired` to also get restaurants that are no longer listed. Menu prices and the Talabat Pro flag are not part of the change check.
- **🔔 Notifications:** Telegram, Slack, Discord, WhatsApp Cloud API and generic webhook out of the box. Pair with incremental + `notifyOnlyChanges` to be pinged only about new or changed restaurants.

### What data can you extract from talabat.com?

Each result includes Core restaurant fields (`restaurantName`, `restaurantUrl`, `slug`, `restaurantId`, `vendorId`, `cuisines`, `cuisineList`, and `rating`, and more) and detail fields when enrichment is enabled (`detailFetched`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Detail enrichment is on by default and fetches each record's detail page — extra fields the search results omit.

### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Restaurant or cuisine keyword. Leave empty to collect every restaurant in the country. Use a JSON array for several, e.g. \["pizza","burger"].
- **`country`** — Which talabat market to collect. (default: `"uae"`)
- **`countries`** — Optional: collect several markets in one run. Each country is collected separately and every record carries its country. (default: `[]`)
- **`maxResults`** — Maximum restaurants in total (0 = everything). (default: `100`)
- **`startUrls`** — Optional: paste talabat URLs. Accepted: a restaurant listing (https://www.talabat.com/uae/restaurants?searchTerm=pizza), an area listing that returns every restaurant delivering to that area (https://www.talabat.com/uae/restaurants/1169/abu-hail), a restaurant page (https://www.talabat.com/uae/pizzaro) and a branch menu page (https://www.talabat.com/uae/restaurant/44166/pizzaro?aid=1974). Each listing URL becomes its own task; results are de-duplicated by restaurant. (default: `[]`)
- **`restaurantSlugs`** — Optional: collect specific restaurants. Enter the last part of the restaurant's talabat address (e.g. `blue-fig` from talabat.com/uae/blue-fig), which uses the country selected above, or paste the full URL (https://www.talabat.com/jordan/blue-fig), which carries its own country. A branch menu URL goes straight to that branch. With no keyword set, only these restaurants are collected. (default: `[]`)
- **`branchIds`** — Optional: collect specific branches of a restaurant chain. Enter the branch number from a menu address (609078 in talabat.com/uae/restaurant/609078/...) or paste the full menu URL. Each branch is returned as its own record, exactly as named, with no search. (default: `[]`)
- **`fullCatalog`** — Collect every restaurant that delivers to one or more delivery areas, not only those matching a keyword. Name the areas in `Catalogue areas`, or leave that empty and the first `Areas to cover` areas of each country are used. Large areas hold thousands of restaurants (about 15 per page), so set `Max Results` to bound the run. (default: `false`)
- **`catalogAreas`** — Areas for the full catalogue: area ids (1280), area names as in the address (abu-hail) or full area URLs (https://www.talabat.com/uae/restaurants/1169/abu-hail). Names and ids use the country selected above. Entering areas here turns the catalogue on. (default: `[]`)
- **`maxAreas`** — How many areas the full catalogue covers per country when `Catalogue areas` is empty (the first areas on the country's list of delivery areas, by area id). Ignored when areas are named. (default: `1`)
- **`includeDetails`** — Open each restaurant page for rating, rating count, payment methods and coordinates. Turn off for a faster, name-and-cuisine-only run. (default: `true`)
- **`scrapeMenu`** — Attach each restaurant's full branch menu as `menuItems`: every item's name, description, price, old (pre-discount) price, image and menu section. One extra page per restaurant. Turns on Include Full Details. (default: `false`)
- ...and 27 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "pizza",
  "maxResults": 50
}
```

**Incremental tracking** — Only emit restaurants that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "pizza",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "pizza-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "pizza",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured restaurant records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example restaurant record

```json
{
  "restaurantName": "Burger Wings",
  "restaurantUrl": "https://www.talabat.com/uae/burger-wings-cafeteria",
  "slug": "burger-wings-cafeteria",
  "restaurantId": 10407,
  "vendorId": 38675,
  "cuisines": "Burgers, Pasta, Wings",
  "cuisineList": [
    "Burgers",
    "Pasta",
    "Wings"
  ],
  "rating": 4.3,
  "ratingMax": 5,
  "ratingCount": 1000,
  "imageUrl": "https://talabat.dhmedia.io/image/talabat/restaurants/Logo_636597551519809028.jpg?width=180",
  "acceptsCash": true,
  "acceptsCreditCard": true,
  "acceptsDebitCard": false,
  "paymentMethods": [
    "visa",
    "mastercard",
    "cash"
  ],
  "latitude": 25.18961,
  "longitude": 55.231695,
  "areaId": 1302,
  "isTalabatPro": true,
  "currency": "AED",
  "country": "uae",
  "language": "en",
  "sourcePageUrl": "https://www.talabat.com/uae/restaurants?page=2&searchTerm=burger",
  "portalUrl": "https://www.talabat.com/uae/burger-wings-cafeteria",
  "scrapedAt": "2026-11-16T01:40:00.078Z",
  "listingId": "burger-wings-cafeteria",
  "searchQuery": "burger",
  "contentQuality": 1,
  "detailFetched": true,
  "source": "talabat.com"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape talabat.com

1. Go to [Talabat Scraper](https://apify.com/blackfalcondata/talabat-com-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Keep `includeDetails` on (the default) for the extra detail-page fields, or turn it off for faster, cheaper runs.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract restaurant data from talabat.com for market research and competitive analysis.
- Monitor new and changed restaurants on scheduled runs without processing the full dataset every time.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Compare restaurants by their rating fields.

### How much does it cost to scrape talabat.com?

Pricing for Talabat Scraper has not been finalized yet. It will be published here before the actor becomes publicly available.

You only use your normal Apify platform resources when you run the actor from your own account.

**Run limits**: A run stops on its own after 12 hours if you set no timeout or a timeout longer than 12 hours. It also stops if it finds no new results for 60 minutes. Results collected before the stop are saved in your dataset.

### FAQ

#### How many results can I get from talabat.com?

The number of results depends on the search query and available restaurants on talabat.com. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Talabat Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed restaurants on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Talabat Scraper with other apps?

Yes. Talabat Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Talabat Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Talabat Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape talabat.com?

This actor extracts publicly available data from talabat.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/talabat-com-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [🚗 mobile.de \[$0.59/1K💰\] Fast Scraper · Finance · Dealer GPS](https://apify.com/blackfalcondata/mobile-de-scraper?fpr=1h3gvi) — Scrape mobile.de — Germany's largest car marketplace (1.4M+ listings) at $0.6 / 1,000 results. Get.
- [1688.com Product Search Scraper](https://apify.com/blackfalcondata/1688-com-scraper?fpr=1h3gvi) — Search 1688.com wholesale products by keyword and export price, minimum order quantity and sales.
- [2dehands.be Listings Scraper Belgium](https://apify.com/blackfalcondata/2dehands-be-scraper?fpr=1h3gvi) — Scrape 2dehands.be listings by keyword, category or postcode, with car year, mileage and fuel type..
- [ALDI Scraper — Grocery Prices, 14 Countries](https://apify.com/blackfalcondata/aldi-scraper?fpr=1h3gvi) — Scrape ALDI grocery products and prices across 14 countries — the UK, Ireland, Germany, Austria,.
- [ALDI US Scraper — Grocery Prices by ZIP Code](https://apify.com/blackfalcondata/aldi-us-scraper?fpr=1h3gvi) — Scrape aldi.us grocery products with prices, sizes, brands, categories, per-unit pricing and stock..
- [Alibaba.com Product & Supplier Scraper \[Just 💰$0.63\]](https://apify.com/blackfalcondata/alibaba-com-scraper?fpr=1h3gvi) — Scrape alibaba.com — product listings by keyword or supplier country with price range, minimum.
- [Allegro.pl Scraper \[💰$0.72\] — Product Offers, Prices & Sellers](https://apify.com/blackfalcondata/allegro-pl-scraper?fpr=1h3gvi) — Scrape allegro.pl search results into structured offer rows: price, discount and delivery cost,.
- [Amazon All Countries Scraper](https://apify.com/blackfalcondata/amazon-all-countries-scraper?fpr=1h3gvi) — Scrape Amazon products from 22 marketplaces by keyword or pasted search URL, with ASIN, title,.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on talabat.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Talabat's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Talabat or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

talabat scraper, talabat api, apify talabat, talabat data extraction, talabat.com scraper, talabat.com data, talabat.com api, talabat united arab emirates, talabat united arab emirates scraper, talabat kuwait, talabat kuwait scraper, talabat saudi arabia, talabat saudi arabia scraper, talabat bahrain, talabat bahrain scraper, talabat oman, talabat oman scraper, talabat qatar, talabat qatar scraper, talabat jordan, talabat jordan scraper, talabat egypt, talabat egypt scraper, talabat iraq, talabat iraq scraper, marketplace scraper, listings data.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/talabat-com-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

Restaurant or cuisine keyword. Leave empty to collect every restaurant in the country. Use a JSON array for several, e.g. \["pizza","burger"].

## `country` (type: `string`):

Which talabat market to collect.

## `countries` (type: `array`):

Optional: collect several markets in one run. Each country is collected separately and every record carries its country.

## `maxResults` (type: `integer`):

Maximum restaurants in total (0 = everything).

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

Optional: paste talabat URLs. Accepted: a restaurant listing (https://www.talabat.com/uae/restaurants?searchTerm=pizza), an area listing that returns every restaurant delivering to that area (https://www.talabat.com/uae/restaurants/1169/abu-hail), a restaurant page (https://www.talabat.com/uae/pizzaro) and a branch menu page (https://www.talabat.com/uae/restaurant/44166/pizzaro?aid=1974). Each listing URL becomes its own task; results are de-duplicated by restaurant.

## `restaurantSlugs` (type: `array`):

Optional: collect specific restaurants. Enter the last part of the restaurant's talabat address (e.g. `blue-fig` from talabat.com/uae/blue-fig), which uses the country selected above, or paste the full URL (https://www.talabat.com/jordan/blue-fig), which carries its own country. A branch menu URL goes straight to that branch. With no keyword set, only these restaurants are collected.

## `branchIds` (type: `array`):

Optional: collect specific branches of a restaurant chain. Enter the branch number from a menu address (609078 in talabat.com/uae/restaurant/609078/...) or paste the full menu URL. Each branch is returned as its own record, exactly as named, with no search.

## `fullCatalog` (type: `boolean`):

Collect every restaurant that delivers to one or more delivery areas, not only those matching a keyword. Name the areas in `Catalogue areas`, or leave that empty and the first `Areas to cover` areas of each country are used. Large areas hold thousands of restaurants (about 15 per page), so set `Max Results` to bound the run.

## `catalogAreas` (type: `array`):

Areas for the full catalogue: area ids (1280), area names as in the address (abu-hail) or full area URLs (https://www.talabat.com/uae/restaurants/1169/abu-hail). Names and ids use the country selected above. Entering areas here turns the catalogue on.

## `maxAreas` (type: `integer`):

How many areas the full catalogue covers per country when `Catalogue areas` is empty (the first areas on the country's list of delivery areas, by area id). Ignored when areas are named.

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

Open each restaurant page for rating, rating count, payment methods and coordinates. Turn off for a faster, name-and-cuisine-only run.

## `scrapeMenu` (type: `boolean`):

Attach each restaurant's full branch menu as `menuItems`: every item's name, description, price, old (pre-discount) price, image and menu section. One extra page per restaurant. Turns on Include Full Details.

## `scrapeMenuChoices` (type: `boolean`):

Also fetch the choice tree of every customizable menu item into `menuItems[].choices`: sections (e.g. 'Size', 'Add-ons'), each option with its price, and the selection rules (min/max, single vs multi-select, mandatory). Turns on Scrape full menu. One extra request per customizable item, billed as its own event so runs without choices are not charged for them.

## `enrichPro` (type: `boolean`):

Look up each restaurant's Talabat Pro flag (`isTalabatPro`). talabat publishes it only in its vendor search, so this makes one search call per restaurant. Turns on Include Full Details.

## `maxEnrichRequests` (type: `integer`):

Request budget for Resolve Talabat Pro: one search call per restaurant. Restaurants past the budget keep isTalabatPro empty. 0 turns the lookup off.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a value derived from your search inputs (keywords and countries) so different searches never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `skipReposts` (type: `boolean`):

When incremental, skip restaurants whose content matches one that disappeared in a prior run (cross-run duplicate detection).

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit restaurants whose content has not changed since the last run.

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit restaurants that were seen before but are no longer listed.

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED restaurants. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of restaurants included in each notification message (1–20).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## `descriptionFormat` (type: `string`):

Choose which representation of the listing description to include. `all` keeps every variant; the others keep only the selected one.

## `lat` (type: `number`):

Centre latitude for the radius filter. Pair with lon and radiusKm. Every restaurant also gets distanceKm from this point.

## `lon` (type: `number`):

Centre longitude for the radius filter. Pair with lat and radiusKm.

## `radiusKm` (type: `integer`):

Keep only restaurants within this many km of lat/lon (0 = no filter). Needs restaurant coordinates, so restaurant pages are opened even if Include Full Details is off.

## Actor input object example

```json
{
  "query": "pizza",
  "country": "uae",
  "countries": [],
  "maxResults": 100,
  "startUrls": [],
  "restaurantSlugs": [],
  "branchIds": [],
  "fullCatalog": false,
  "catalogAreas": [],
  "maxAreas": 1,
  "includeDetails": true,
  "scrapeMenu": false,
  "scrapeMenuChoices": false,
  "enrichPro": false,
  "maxEnrichRequests": 50,
  "compact": false,
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "skipReposts": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5,
  "descriptionFormat": "all"
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "pizza",
    "country": "uae",
    "maxResults": 100,
    "excludeEmptyFields": false,
    "descriptionFormat": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/talabat-com-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 = {
    "query": "pizza",
    "country": "uae",
    "maxResults": 100,
    "excludeEmptyFields": False,
    "descriptionFormat": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/talabat-com-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 '{
  "query": "pizza",
  "country": "uae",
  "maxResults": 100,
  "excludeEmptyFields": false,
  "descriptionFormat": "all"
}' |
apify call blackfalcondata/talabat-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blackfalcondata/talabat-com-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/FvVZ4QxhMLTQnBUOB/builds/ml0xX5x08Y3Bdr5Qo/openapi.json
