{
  "openapi": "3.0.1",
  "info": {
    "title": "Talabat Scraper - Restaurants, Menus, Prices & Leads",
    "description": "Scrape Talabat across the UAE, Kuwait, Qatar, Bahrain, Oman, Jordan & Egypt: restaurants, ratings, delivery fees, ETA, geo, full menus in English and Arabic, Talabat Mart and grocery stores, customer reviews and merchant leads. Monitoring mode for only-new data. No API key, no browser.",
    "version": "0.1",
    "x-build-id": "bo4Vhrf3MHpN9BhbV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~talabat-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-talabat-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapesage~talabat-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-talabat-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapesage~talabat-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-talabat-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "country": {
            "title": "Country / market",
            "enum": [
              "uae",
              "ksa",
              "kuwait",
              "qatar",
              "bahrain",
              "oman",
              "jordan",
              "egypt"
            ],
            "type": "string",
            "description": "Talabat market to scrape. Talabat is the Middle East & North Africa food-delivery leader (Delivery Hero). Search, cities and area inputs all apply to this country. Saudi Arabia: Talabat's Saudi site now lists almost no restaurants, so expect very few rows.",
            "default": "uae"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search Talabat for matching restaurants/cuisines in the selected country, e.g. `burger`, `pizza`, `sushi`, `shawarma`, `breakfast`, `KFC`, `healthy`. No location needed - search covers the whole country. With Cities, Area slugs, Area IDs or an area link also given, a keyword that is a Talabat cuisine (burger, pizza, sushi, shawarma, breakfast...) returns that cuisine's restaurants delivering there, with their delivery fees; other keywords are searched across the country. Each match is enriched with full restaurant data (and menu/reviews if enabled).",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "City names to discover restaurants by delivery area, e.g. `Dubai`, `Abu Dhabi`, `Riyadh`, `Jeddah`, `Doha`, `Kuwait City`, `Manama`, `Muscat`, `Amman`, `Cairo`. Each city is resolved to its Talabat delivery area(s); every restaurant delivering there is returned (richest data - ratings + delivery economics + geo). With Vendor type set to Grocery or Talabat Mart, the same places return the shops or the Talabat Mart that deliver there. English names work best.",
            "items": {
              "type": "string"
            }
          },
          "areaSlugs": {
            "title": "Area slugs (optional)",
            "type": "array",
            "description": "Precise Talabat delivery-area slugs in the selected country, e.g. `dubai-marina`, `al-badaa`, `business-bay`, `jumeirah`. Returns every restaurant delivering to that area. Find slugs in any Talabat area URL: talabat.com/uae/restaurants/{areaId}/{slug}.",
            "items": {
              "type": "string"
            }
          },
          "areaIds": {
            "title": "Area IDs (optional)",
            "type": "array",
            "description": "Numeric Talabat area IDs (the number in talabat.com/{country}/restaurants/{areaId}/{slug}). Use when you already know the exact delivery area.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Talabat URLs, auto-routed: an area URL (`/uae/restaurants/1172/al-badaa`) browses that area; a restaurant URL (`/uae/<restaurant-slug>` or `/uae/restaurant/<branch-id>/<slug>`) scrapes that restaurant; a search URL (`/uae/restaurants?searchTerm=pizza`) runs that search; a shop URL (`/jordan/grocery/<branch-id>/<slug>`, Talabat Mart included) reads that shop; a shops-in-area URL (`/jordan/groceries/4941/khalda`) lists the shops delivering there.",
            "items": {
              "type": "string"
            }
          },
          "restaurantSlugs": {
            "title": "Restaurant slugs (optional)",
            "type": "array",
            "description": "Direct restaurant slugs in the selected country, e.g. `india-palace-restaurant`. Scrapes each restaurant (with menu/reviews if enabled).",
            "items": {
              "type": "string"
            }
          },
          "branchIds": {
            "title": "Branch IDs (optional)",
            "type": "array",
            "description": "Direct Talabat branch IDs (the number in a Talabat menu link). Fetches each branch's name, rating, menu and reviews without discovery (fastest path when you already have IDs). A shop's branch ID returns that shop.",
            "items": {
              "type": "string"
            }
          },
          "maxRestaurants": {
            "title": "Max restaurants / shops",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of restaurant and shop rows this run delivers (across all discovery sources). Filters such as Minimum rating apply first, so a filtered run still fills it when enough places match. A single city/area can list thousands; the default keeps runs fast and cheap.",
            "default": 60
          },
          "includeMenu": {
            "title": "Include full menu (items + prices)",
            "type": "boolean",
            "description": "For each restaurant, extract its complete menu: every item with name, description, price, old price & discount %, highlight and customizable flags and images, grouped by menu section. The headline feature for price monitoring and menu analysis. One extra page per restaurant.",
            "default": true
          },
          "includeItemDetails": {
            "title": "Include item descriptions & images",
            "type": "boolean",
            "description": "When menus are included, also keep each item's description and image URL. Turn off for a leaner price-only menu.",
            "default": true
          },
          "includeArabicNames": {
            "title": "Add Arabic item names",
            "type": "boolean",
            "description": "When menus are included, also read the restaurant's Arabic menu and add `nameArabic` and `descriptionArabic` to every item. One more page per restaurant. With Content language set to Arabic, the main names are already Arabic.",
            "default": true
          },
          "includeReviews": {
            "title": "Include customer reviews",
            "type": "boolean",
            "description": "Emit recent customer reviews for each restaurant as separate records (reviewer name, rating, text, date). Great for reputation monitoring.",
            "default": false
          },
          "maxReviewsPerRestaurant": {
            "title": "Max reviews per restaurant",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on reviews collected per restaurant when reviews are included.",
            "default": 20
          },
          "includeMerchantLeads": {
            "title": "Output merchant B2B leads",
            "type": "boolean",
            "description": "Also output one deduplicated merchant lead record per restaurant (business name, city/area, geo, cuisines, rating, popularity, delivery economics, vertical and a 0–100 lead score) - ideal for food-tech, POS, delivery-SaaS, ghost-kitchen and supplier prospecting.",
            "default": true
          },
          "minRating": {
            "title": "Minimum rating (0–5)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only keep restaurants with a Talabat rating at or above this value. 0 = keep all.",
            "default": 0
          },
          "vendorType": {
            "title": "Vendor type",
            "enum": [
              "all",
              "restaurant",
              "grocery",
              "talabat-mart"
            ],
            "type": "string",
            "description": "Restrict to restaurants or to shops. `Grocery / retail only` turns Cities, Area slugs and Area IDs into the grocery shops delivering there (supermarkets, Talabat Mart). `Talabat Mart only` returns the Talabat Mart store that serves each place, with its rating, delivery fee, minimum order and its number of products and aisles. `All` returns everything a search finds, and restaurants for places.",
            "default": "all"
          },
          "includeGroceryProducts": {
            "title": "Include grocery products (from December 7, 2026)",
            "type": "boolean",
            "description": "For every grocery store the run finds (Talabat Mart and supermarkets), list each product as its own row: name, SKU, barcode, size, current price, original price, discount, stock status, category, image and product link. Billed per product from December 7, 2026 (see the Pricing tab). Use it with Vendor type set to Talabat Mart only or Grocery / retail only, or with a shop link.",
            "default": false
          },
          "groceryCategories": {
            "title": "Only these aisles (optional)",
            "type": "array",
            "description": "Aisle names to keep when grocery products are on, e.g. `Dairy & Eggs`, `Beverages`, `Chips & Dips`, `Baby Corner`. Matches a store's own category or sub-category names, whole words. Empty = the whole catalogue.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Most products to list from each store when grocery products are on. A Talabat Mart lists about 7,000 to 18,000 products. A run with several stores multiplies this, so lower Max restaurants / shops or set a cost limit for wide runs.",
            "default": 2500
          },
          "language": {
            "title": "Content language",
            "enum": [
              "en",
              "ar"
            ],
            "type": "string",
            "description": "Two-letter language code for content (menu item names, etc.): `en` (English) or `ar` (Arabic). Defaults to English.",
            "default": "en"
          },
          "monitorMode": {
            "title": "Monitoring mode - only new / changed",
            "type": "boolean",
            "description": "Remember restaurants & reviews seen in previous runs (in a named key-value store) and emit only NEW ones and restaurants whose rating, delivery fee, minimum order, status or menu price range changed (tagged with `changeType`). Perfect for tracking a city/cuisine on a schedule without re-paying for unchanged rows. Works alongside Apify Schedules - schedule the run, this controls what's emitted.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store holding the 'already seen' ids/fingerprints for monitoring mode. Use a different name per tracked feed to keep histories separate. Lowercase letters, digits and hyphens only.",
            "default": "talabat-monitor"
          },
          "maxAreaPages": {
            "title": "Max pages per area",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many result pages (15 restaurants each) to paginate per delivery area before moving on. Raise to exhaust a large area.",
            "default": 3
          },
          "maxAreasPerCity": {
            "title": "Max areas per city",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "When discovering by city, how many of that city's delivery areas to crawl (each area returns the restaurants delivering there). One central area usually covers most of a city.",
            "default": 2
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of menu/review/detail requests fetched in parallel.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Apify Proxy is recommended. The default datacenter proxy works with Talabat; switch to RESIDENTIAL (country AE/SA/etc.) only if you see rate-limiting/blocks on very large runs.",
            "default": {
              "useApifyProxy": true
            }
          },
          "urlsFromFile": {
            "title": "Import URLs from a file",
            "type": "string",
            "description": "Paste a list of URLs (one per line), OR one link to a .txt/.csv file, Google Sheet or Google Drive file containing them. Lets you import many Start URLs at once instead of typing each. Google Sheet/Drive share links are handled automatically."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}