{
  "data": {
    "id": "VXR5aVeCacLDntxMc",
    "actId": "9quaEpJxdI8EiylI9",
    "userId": "NL4ThgItAwaoBlffQ",
    "startedAt": "2026-11-27T06:46:19.013Z",
    "finishedAt": "2026-11-27T06:46:22.594Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"Glovo Restaurant Scraper Input\",\n  \"description\": \"Scrape restaurant listings from Glovo by city, or search by keyword within a city. Results can be expanded beyond the first page by scanning Glovo's cuisine-filtered listing pages.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"`Browse restaurants` lists every restaurant Glovo shows for the selected city (optionally filtered by cuisine). `Search` additionally filters restaurants by a keyword matched against the restaurant name and cuisine tag.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"restaurants\",\n        \"search\"\n      ],\n      \"enumTitles\": [\n        \"Browse restaurants by city\",\n        \"Search restaurants by keyword\"\n      ],\n      \"default\": \"restaurants\",\n      \"prefill\": \"restaurants\"\n    },\n    \"city\": {\n      \"title\": \"City\",\n      \"type\": \"string\",\n      \"description\": \"City to scrape Glovo restaurants for.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"madrid\",\n        \"barcelona\",\n        \"valencia\",\n        \"sevilla\",\n        \"bilbao\",\n        \"malaga\",\n        \"milano\",\n        \"roma\",\n        \"torino\",\n        \"napoli\",\n        \"lisboa\",\n        \"porto\",\n        \"nairobi\",\n        \"lagos\",\n        \"abuja\",\n        \"kampala\",\n        \"tbilisi\",\n        \"almaty\",\n        \"chisinau\"\n      ],\n      \"enumTitles\": [\n        \"Madrid, Spain\",\n        \"Barcelona, Spain\",\n        \"Valencia, Spain\",\n        \"Sevilla, Spain\",\n        \"Bilbao, Spain\",\n        \"Malaga, Spain\",\n        \"Milano, Italy\",\n        \"Roma, Italy\",\n        \"Torino, Italy\",\n        \"Napoli, Italy\",\n        \"Lisboa, Portugal\",\n        \"Porto, Portugal\",\n        \"Nairobi, Kenya\",\n        \"Lagos, Nigeria\",\n        \"Abuja, Nigeria\",\n        \"Kampala, Uganda\",\n        \"Tbilisi, Georgia\",\n        \"Almaty, Kazakhstan\",\n        \"Chisinau, Moldova\"\n      ],\n      \"default\": \"madrid\",\n      \"prefill\": \"madrid\"\n    },\n    \"query\": {\n      \"title\": \"Search keyword\",\n      \"type\": \"string\",\n      \"description\": \"Required when mode=search. Matched (case-insensitive) against restaurant name and cuisine tag, e.g. `pizza`, `sushi`, `mcdonald`.\",\n      \"editor\": \"textfield\",\n      \"prefill\": \"pizza\"\n    },\n    \"cuisine\": {\n      \"title\": \"Cuisine filter\",\n      \"type\": \"string\",\n      \"description\": \"Optional. Matched case-insensitively against Glovo's cuisine tags, e.g. `Pizza`, `Sushi`, `Italiana`, `Burgers`. Tags are shown in the local language of the selected city; `pizza` and `burgers` work in every market.\",\n      \"editor\": \"textfield\"\n    },\n    \"minRating\": {\n      \"title\": \"Minimum rating\",\n      \"type\": \"integer\",\n      \"description\": \"Drop restaurants with a customer satisfaction score (0-100) below this value.\",\n      \"minimum\": 0,\n      \"maximum\": 100\n    },\n    \"onlyOpen\": {\n      \"title\": \"Only currently open\",\n      \"type\": \"boolean\",\n      \"description\": \"Only return restaurants that are currently open for delivery.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"onlyTopRated\": {\n      \"title\": \"Only top-rated\",\n      \"type\": \"boolean\",\n      \"description\": \"Only return restaurants Glovo has flagged as top-rated.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"onlyWithPromotions\": {\n      \"title\": \"Only with active promotions\",\n      \"type\": \"boolean\",\n      \"description\": \"Only return restaurants that currently have at least one active discount/deal (e.g. percentage off, 2x1).\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"Order in which Glovo lists the restaurants: its own recommendation order, customer rating, delivery fee, or distance from the city centre.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"recommended\",\n        \"rating\",\n        \"deliveryFee\",\n        \"distance\"\n      ],\n      \"enumTitles\": [\n        \"Recommended (Glovo default)\",\n        \"Highest rated\",\n        \"Lowest delivery fee\",\n        \"Closest to me\"\n      ],\n      \"default\": \"recommended\",\n      \"prefill\": \"recommended\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records. Glovo embeds 50 restaurants per category page; larger values scan additional cuisine-filtered pages until the cap or maxPages is reached.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 20,\n      \"prefill\": 20\n    },\n    \"maxPages\": {\n      \"title\": \"Max listing pages\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of Glovo listing pages to request (the first page plus cuisine-filtered pages). Each page carries up to 50 restaurants and requests are deduplicated.\",\n      \"minimum\": 1,\n      \"maximum\": 45,\n      \"default\": 10,\n      \"prefill\": 10\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional. Glovo does not require a proxy from most locations, but you can enable Apify's free datacenter proxy (AUTO group) for extra reliability.\",\n      \"editor\": \"proxy\",\n      \"default\": {\n        \"useApifyProxy\": false\n      }\n    }\n  },\n  \"required\": [\n    \"mode\",\n    \"city\"\n  ]\n}",
    "readme": "# Glovo Restaurant Ratings & Delivery Data by City\n\nScrape restaurant listings from [Glovo](https://glovoapp.com) across Spain, Italy, Portugal, Kenya, Nigeria, Uganda, Georgia, Kazakhstan, and Moldova. Get restaurant names, cuisine tags, customer ratings, review counts, delivery fees, ETAs, distance, promotions, and photos — filtered by city, cuisine, rating, open status, and sort order. No login, cookies, or browser required.\n\n## What this actor does\n\n- **Two modes** — browse a city's restaurants, or search restaurant names and cuisines by keyword\n- **19 cities across 9 countries** — Spain, Italy, Portugal, Kenya, Nigeria, Uganda, Georgia, Kazakhstan, Moldova\n- **Server-side listing filters** — cuisine, sort order (recommended / rating / delivery fee / distance), and top-rated only\n- **Client-side result filters** — minimum rating, currently open, and active promotions\n- **Beyond the first page** — Glovo embeds 50 restaurants per listing page. The actor can scan Glovo's cuisine-filtered listing pages and merge them, deduplicated, up to 500 records (`maxItems`) and 45 requests (`maxPages`)\n- **Real delivery data** — live delivery fee, currency, ETA, distance, customer satisfaction score, and review count straight from Glovo\n- **Empty fields are omitted** — every record only contains data Glovo actually returned\n\n## Output per restaurant\n\n- `restaurantId` — Glovo's internal store ID\n- `storeAddressId` — branch/address ID (unique per physical store)\n- `name` — restaurant name\n- `cuisine[]` — cuisine tag (in the local language of the city)\n- `city`, `country`\n- `rank` — position in the merged, deduplicated result list\n- `rating` — customer satisfaction score (0-100)\n- `reviewCount` — number of ratings behind the score\n- `deliveryFee` — numeric delivery fee\n- `deliveryFeeLabel` — fee as displayed on the card, e.g. `Gratis` or `0,29 €`\n- `currency` — ISO currency of `deliveryFee`\n- `isFreeDelivery`, `isDiscountedDeliveryFee`, `isPrimeDelivery`, `isSurgePricing` — live delivery-pricing flags\n- `estimatedDeliveryTime` — e.g. `30-40 min`\n- `distance` — e.g. `<100m`\n- `imageUrl` — restaurant photo\n- `restaurantUrl` — direct link to the restaurant's Glovo storefront\n- `isOpen` — currently accepting orders\n- `isTopRated` — Glovo has flagged this restaurant as top-rated\n- `isNew` — flagged as newly added to Glovo\n- `isSponsored` — sponsored/paid placement in the listing\n- `promotions[]` — active discounts/deals, e.g. `{\"benefit\": \"-10%\", \"type\": \"Percentage off products\"}`\n- `sourceUrl`, `scrapedAt`, `recordType: \"restaurant\"`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `restaurants` | `restaurants` (browse) or `search` (keyword) |\n| `city` | string | `madrid` | One of 19 supported cities |\n| `query` | string | – | Required for `search`; matched against name + cuisine |\n| `cuisine` | string | – | Cuisine tag filter, e.g. `Pizza`, `Sushi`, `Burgers` |\n| `minRating` | integer | – | Drop restaurants below this rating (0-100) |\n| `onlyOpen` | boolean | `false` | Only currently-open restaurants |\n| `onlyTopRated` | boolean | `false` | Only restaurants Glovo flags as top-rated |\n| `onlyWithPromotions` | boolean | `false` | Only restaurants with at least one active deal |\n| `sortBy` | string | `recommended` | `recommended`, `rating`, `deliveryFee`, or `distance` |\n| `maxItems` | integer | `20` | Hard cap (1-500) |\n| `maxPages` | integer | `10` | Maximum listing pages to request (1-45) |\n| `proxyConfiguration` | object | off | Optional Apify proxy (AUTO datacenter group) |\n\n### Example: browse American-style restaurants in Madrid\n\n```json\n{\n  \"mode\": \"restaurants\",\n  \"city\": \"madrid\",\n  \"cuisine\": \"Americana\",\n  \"maxItems\": 30\n}\n```\n\n### Example: search for a chain in Lagos\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"lagos\",\n  \"query\": \"chicken\",\n  \"maxItems\": 60,\n  \"maxPages\": 8\n}\n```\n\n### Example: highly rated pizza in Milano, cheapest delivery first\n\n```json\n{\n  \"mode\": \"restaurants\",\n  \"city\": \"milano\",\n  \"cuisine\": \"Pizza\",\n  \"minRating\": 85,\n  \"sortBy\": \"deliveryFee\",\n  \"maxItems\": 100,\n  \"maxPages\": 20\n}\n```\n\n## How pagination works\n\nGlovo's category page contains the first 50 restaurants plus the total the city reports (for example, 1,522 in Madrid). Its \"load more\" control calls a private, session-bound API. This actor stays cookieless: it requests the same server-rendered cuisine-filtered pages the site's filter chips link to, then merges and deduplicates every restaurant by ID. Results are ranked in the order they appear across the first page and subsequent cuisine pages.\n\nBecause Glovo caps each page at 50 restaurants and cuisine pages overlap, a run may emit fewer records than `maxItems` even when `maxPages` is high. That is a source limit, not a missing field: `maxItems=500` with `maxPages=45` requests every cuisine page in large cities.\n\n## Use cases\n\n- **Market research** — compare cuisine mix, ratings, and delivery fees across cities\n- **Competitor tracking** — monitor a chain's presence, ratings, and promotions by market\n- **Delivery cost analysis** — compare delivery fees, ETAs, and distances city to city\n- **Food delivery directories** — seed a directory with real restaurant listings\n- **Local business intelligence** — see which restaurants are open, top-rated, or running deals\n\n## FAQ\n\n**Which cities are supported?** Madrid, Barcelona, Valencia, Sevilla, Bilbao, Malaga (Spain); Milano, Roma, Torino, Napoli (Italy); Lisboa, Porto (Portugal); Nairobi (Kenya); Lagos, Abuja (Nigeria); Kampala (Uganda); Tbilisi (Georgia); Almaty (Kazakhstan); Chisinau (Moldova).\n\n**How many restaurants can I get per run?** Up to 500 deduplicated records. Glovo exposes 50 per listing page, so the actor scans cuisine-filtered pages when `maxItems` is above 50 or `maxPages` is above 1.\n\n**Why did I get fewer rows than `maxItems`?** Either the city genuinely has fewer restaurants, the active filters removed them, or the `maxPages` budget was reached. The status message reports the total Glovo says the city has.\n\n**Is the sort order global across merged pages?** Glovo applies the requested order to each listing page. The actor fetches the sorted first page first, then appends rating/fee/distance-sorted cuisine pages, deduplicated. For runs capped at the first 50 rows the order is exactly Glovo's; larger runs preserve each page's internal order.\n\n**Why is `cuisine` free text instead of a dropdown?** Glovo shows cuisine tags in each city's local language (e.g. `Hamburguesas` in Madrid, `Jollof` in Lagos), so the available values differ by city. Type any tag you see in the results, or leave it blank.\n\n**What does `rating` mean?** Glovo shows a customer satisfaction percentage rather than a 5-star score. `87` means 87% of customers were satisfied.\n\n**Do I need a proxy?** No. Glovo's public listing pages work from Apify's standard datacenter IPs. The proxy option is available for extra reliability if you run into rate limiting.\n\n**Is login required?** No — all data comes from Glovo's public listing pages.\n\n## Limitations\n\n- Only the 19 listed cities are supported; other Glovo markets need their own city entry.\n- Glovo caps each listing page at 50 restaurants, and it does not document a public pagination endpoint. This actor uses its cuisine-filtered pages instead of the private session API.\n- Restaurant menus, individual dishes, and customer reviews are not part of this actor.\n- Ratings, fees, and open/closed status are live values and can change between runs.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "glovo-restaurant-ratings-and-delivery-data-by-city",
      "title": "Glovo Restaurant Ratings & Delivery Data by City",
      "description": "Scrape Glovo restaurant listings across Europe & Africa by city. Get name, cuisine, rating, review count, delivery fee, ETA, distance, promotions and images, with cuisine/keyword filters, rating and sort options, and optional pagination across Glovo's cuisine pages.",
      "version": "1.1",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Glovo Restaurant Ratings & Delivery Data by City\n\nScrape restaurant listings from [Glovo](https://glovoapp.com) across Spain, Italy, Portugal, Kenya, Nigeria, Uganda, Georgia, Kazakhstan, and Moldova. Get restaurant names, cuisine tags, customer ratings, review counts, delivery fees, ETAs, distance, promotions, and photos — filtered by city, cuisine, rating, open status, and sort order. No login, cookies, or browser required.\n\n## What this actor does\n\n- **Two modes** — browse a city's restaurants, or search restaurant names and cuisines by keyword\n- **19 cities across 9 countries** — Spain, Italy, Portugal, Kenya, Nigeria, Uganda, Georgia, Kazakhstan, Moldova\n- **Server-side listing filters** — cuisine, sort order (recommended / rating / delivery fee / distance), and top-rated only\n- **Client-side result filters** — minimum rating, currently open, and active promotions\n- **Beyond the first page** — Glovo embeds 50 restaurants per listing page. The actor can scan Glovo's cuisine-filtered listing pages and merge them, deduplicated, up to 500 records (`maxItems`) and 45 requests (`maxPages`)\n- **Real delivery data** — live delivery fee, currency, ETA, distance, customer satisfaction score, and review count straight from Glovo\n- **Empty fields are omitted** — every record only contains data Glovo actually returned\n\n## Output per restaurant\n\n- `restaurantId` — Glovo's internal store ID\n- `storeAddressId` — branch/address ID (unique per physical store)\n- `name` — restaurant name\n- `cuisine[]` — cuisine tag (in the local language of the city)\n- `city`, `country`\n- `rank` — position in the merged, deduplicated result list\n- `rating` — customer satisfaction score (0-100)\n- `reviewCount` — number of ratings behind the score\n- `deliveryFee` — numeric delivery fee\n- `deliveryFeeLabel` — fee as displayed on the card, e.g. `Gratis` or `0,29 €`\n- `currency` — ISO currency of `deliveryFee`\n- `isFreeDelivery`, `isDiscountedDeliveryFee`, `isPrimeDelivery`, `isSurgePricing` — live delivery-pricing flags\n- `estimatedDeliveryTime` — e.g. `30-40 min`\n- `distance` — e.g. `<100m`\n- `imageUrl` — restaurant photo\n- `restaurantUrl` — direct link to the restaurant's Glovo storefront\n- `isOpen` — currently accepting orders\n- `isTopRated` — Glovo has flagged this restaurant as top-rated\n- `isNew` — flagged as newly added to Glovo\n- `isSponsored` — sponsored/paid placement in the listing\n- `promotions[]` — active discounts/deals, e.g. `{\"benefit\": \"-10%\", \"type\": \"Percentage off products\"}`\n- `sourceUrl`, `scrapedAt`, `recordType: \"restaurant\"`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `restaurants` | `restaurants` (browse) or `search` (keyword) |\n| `city` | string | `madrid` | One of 19 supported cities |\n| `query` | string | – | Required for `search`; matched against name + cuisine |\n| `cuisine` | string | – | Cuisine tag filter, e.g. `Pizza`, `Sushi`, `Burgers` |\n| `minRating` | integer | – | Drop restaurants below this rating (0-100) |\n| `onlyOpen` | boolean | `false` | Only currently-open restaurants |\n| `onlyTopRated` | boolean | `false` | Only restaurants Glovo flags as top-rated |\n| `onlyWithPromotions` | boolean | `false` | Only restaurants with at least one active deal |\n| `sortBy` | string | `recommended` | `recommended`, `rating`, `deliveryFee`, or `distance` |\n| `maxItems` | integer | `20` | Hard cap (1-500) |\n| `maxPages` | integer | `10` | Maximum listing pages to request (1-45) |\n| `proxyConfiguration` | object | off | Optional Apify proxy (AUTO datacenter group) |\n\n### Example: browse American-style restaurants in Madrid\n\n```json\n{\n  \"mode\": \"restaurants\",\n  \"city\": \"madrid\",\n  \"cuisine\": \"Americana\",\n  \"maxItems\": 30\n}\n```\n\n### Example: search for a chain in Lagos\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"lagos\",\n  \"query\": \"chicken\",\n  \"maxItems\": 60,\n  \"maxPages\": 8\n}\n```\n\n### Example: highly rated pizza in Milano, cheapest delivery first\n\n```json\n{\n  \"mode\": \"restaurants\",\n  \"city\": \"milano\",\n  \"cuisine\": \"Pizza\",\n  \"minRating\": 85,\n  \"sortBy\": \"deliveryFee\",\n  \"maxItems\": 100,\n  \"maxPages\": 20\n}\n```\n\n## How pagination works\n\nGlovo's category page contains the first 50 restaurants plus the total the city reports (for example, 1,522 in Madrid). Its \"load more\" control calls a private, session-bound API. This actor stays cookieless: it requests the same server-rendered cuisine-filtered pages the site's filter chips link to, then merges and deduplicates every restaurant by ID. Results are ranked in the order they appear across the first page and subsequent cuisine pages.\n\nBecause Glovo caps each page at 50 restaurants and cuisine pages overlap, a run may emit fewer records than `maxItems` even when `maxPages` is high. That is a source limit, not a missing field: `maxItems=500` with `maxPages=45` requests every cuisine page in large cities.\n\n## Use cases\n\n- **Market research** — compare cuisine mix, ratings, and delivery fees across cities\n- **Competitor tracking** — monitor a chain's presence, ratings, and promotions by market\n- **Delivery cost analysis** — compare delivery fees, ETAs, and distances city to city\n- **Food delivery directories** — seed a directory with real restaurant listings\n- **Local business intelligence** — see which restaurants are open, top-rated, or running deals\n\n## FAQ\n\n**Which cities are supported?** Madrid, Barcelona, Valencia, Sevilla, Bilbao, Malaga (Spain); Milano, Roma, Torino, Napoli (Italy); Lisboa, Porto (Portugal); Nairobi (Kenya); Lagos, Abuja (Nigeria); Kampala (Uganda); Tbilisi (Georgia); Almaty (Kazakhstan); Chisinau (Moldova).\n\n**How many restaurants can I get per run?** Up to 500 deduplicated records. Glovo exposes 50 per listing page, so the actor scans cuisine-filtered pages when `maxItems` is above 50 or `maxPages` is above 1.\n\n**Why did I get fewer rows than `maxItems`?** Either the city genuinely has fewer restaurants, the active filters removed them, or the `maxPages` budget was reached. The status message reports the total Glovo says the city has.\n\n**Is the sort order global across merged pages?** Glovo applies the requested order to each listing page. The actor fetches the sorted first page first, then appends rating/fee/distance-sorted cuisine pages, deduplicated. For runs capped at the first 50 rows the order is exactly Glovo's; larger runs preserve each page's internal order.\n\n**Why is `cuisine` free text instead of a dropdown?** Glovo shows cuisine tags in each city's local language (e.g. `Hamburguesas` in Madrid, `Jollof` in Lagos), so the available values differ by city. Type any tag you see in the results, or leave it blank.\n\n**What does `rating` mean?** Glovo shows a customer satisfaction percentage rather than a 5-star score. `87` means 87% of customers were satisfied.\n\n**Do I need a proxy?** No. Glovo's public listing pages work from Apify's standard datacenter IPs. The proxy option is available for extra reliability if you run into rate limiting.\n\n**Is login required?** No — all data comes from Glovo's public listing pages.\n\n## Limitations\n\n- Only the 19 listed cities are supported; other Glovo markets need their own city entry.\n- Glovo caps each listing page at 50 restaurants, and it does not document a public pagination endpoint. This actor uses its cuisine-filtered pages instead of the private session API.\n- Restaurant menus, individual dishes, and customer reviews are not part of this actor.\n- Ratings, fees, and open/closed status are live values and can change between runs.\n",
      "input": {
        "title": "Glovo Restaurant Scraper Input",
        "description": "Scrape restaurant listings from Glovo by city, or search by keyword within a city. Results can be expanded beyond the first page by scanning Glovo's cuisine-filtered listing pages.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "`Browse restaurants` lists every restaurant Glovo shows for the selected city (optionally filtered by cuisine). `Search` additionally filters restaurants by a keyword matched against the restaurant name and cuisine tag.",
            "editor": "select",
            "enum": [
              "restaurants",
              "search"
            ],
            "enumTitles": [
              "Browse restaurants by city",
              "Search restaurants by keyword"
            ],
            "default": "restaurants",
            "prefill": "restaurants"
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City to scrape Glovo restaurants for.",
            "editor": "select",
            "enum": [
              "madrid",
              "barcelona",
              "valencia",
              "sevilla",
              "bilbao",
              "malaga",
              "milano",
              "roma",
              "torino",
              "napoli",
              "lisboa",
              "porto",
              "nairobi",
              "lagos",
              "abuja",
              "kampala",
              "tbilisi",
              "almaty",
              "chisinau"
            ],
            "enumTitles": [
              "Madrid, Spain",
              "Barcelona, Spain",
              "Valencia, Spain",
              "Sevilla, Spain",
              "Bilbao, Spain",
              "Malaga, Spain",
              "Milano, Italy",
              "Roma, Italy",
              "Torino, Italy",
              "Napoli, Italy",
              "Lisboa, Portugal",
              "Porto, Portugal",
              "Nairobi, Kenya",
              "Lagos, Nigeria",
              "Abuja, Nigeria",
              "Kampala, Uganda",
              "Tbilisi, Georgia",
              "Almaty, Kazakhstan",
              "Chisinau, Moldova"
            ],
            "default": "madrid",
            "prefill": "madrid"
          },
          "query": {
            "title": "Search keyword",
            "type": "string",
            "description": "Required when mode=search. Matched (case-insensitive) against restaurant name and cuisine tag, e.g. `pizza`, `sushi`, `mcdonald`.",
            "editor": "textfield",
            "prefill": "pizza"
          },
          "cuisine": {
            "title": "Cuisine filter",
            "type": "string",
            "description": "Optional. Matched case-insensitively against Glovo's cuisine tags, e.g. `Pizza`, `Sushi`, `Italiana`, `Burgers`. Tags are shown in the local language of the selected city; `pizza` and `burgers` work in every market.",
            "editor": "textfield"
          },
          "minRating": {
            "title": "Minimum rating",
            "type": "integer",
            "description": "Drop restaurants with a customer satisfaction score (0-100) below this value.",
            "minimum": 0,
            "maximum": 100
          },
          "onlyOpen": {
            "title": "Only currently open",
            "type": "boolean",
            "description": "Only return restaurants that are currently open for delivery.",
            "default": false,
            "prefill": false
          },
          "onlyTopRated": {
            "title": "Only top-rated",
            "type": "boolean",
            "description": "Only return restaurants Glovo has flagged as top-rated.",
            "default": false,
            "prefill": false
          },
          "onlyWithPromotions": {
            "title": "Only with active promotions",
            "type": "boolean",
            "description": "Only return restaurants that currently have at least one active discount/deal (e.g. percentage off, 2x1).",
            "default": false,
            "prefill": false
          },
          "sortBy": {
            "title": "Sort order",
            "type": "string",
            "description": "Order in which Glovo lists the restaurants: its own recommendation order, customer rating, delivery fee, or distance from the city centre.",
            "editor": "select",
            "enum": [
              "recommended",
              "rating",
              "deliveryFee",
              "distance"
            ],
            "enumTitles": [
              "Recommended (Glovo default)",
              "Highest rated",
              "Lowest delivery fee",
              "Closest to me"
            ],
            "default": "recommended",
            "prefill": "recommended"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records. Glovo embeds 50 restaurants per category page; larger values scan additional cuisine-filtered pages until the cap or maxPages is reached.",
            "minimum": 1,
            "maximum": 500,
            "default": 20,
            "prefill": 20
          },
          "maxPages": {
            "title": "Max listing pages",
            "type": "integer",
            "description": "Maximum number of Glovo listing pages to request (the first page plus cuisine-filtered pages). Each page carries up to 50 restaurants and requests are deduplicated.",
            "minimum": 1,
            "maximum": 45,
            "default": 10,
            "prefill": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Glovo does not require a proxy from most locations, but you can enable Apify's free datacenter proxy (AUTO group) for extra reliability.",
            "editor": "proxy",
            "default": {
              "useApifyProxy": false
            }
          }
        },
        "required": [
          "mode",
          "city"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Glovo Restaurant Ratings & Delivery Data by City Output",
        "description": "Restaurants scraped from Glovo — name, cuisine, rating, review count, delivery fee, ETA, distance, promotions, images and store URL.",
        "properties": {
          "restaurants": {
            "type": "string",
            "title": "Glovo restaurants",
            "description": "Dataset containing all scraped Glovo restaurants.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Restaurants",
              "transformation": {
                "fields": [
                  "name",
                  "cuisine",
                  "city",
                  "rank",
                  "rating",
                  "reviewCount",
                  "deliveryFee",
                  "deliveryFeeLabel",
                  "estimatedDeliveryTime",
                  "distance",
                  "restaurantUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.1.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    }
  }
}