{
  "openapi": "3.0.1",
  "info": {
    "title": "Glovo Scraper — Restaurants, Supermarkets, Shops",
    "description": "Scrape any Glovo URL in any country — restaurant menus with every dish + price, and full 360° catalog for supermarkets, shops, and pharmacies (every SKU, not just featured carousels). Browser-free, public JSON API. Per-event billing — pay for what you scrape.",
    "version": "1.2",
    "x-build-id": "PDEhHO20DUyP6sfNc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gooyer.co~glovo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gooyer.co-glovo-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/gooyer.co~glovo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-gooyer.co-glovo-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/gooyer.co~glovo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-gooyer.co-glovo-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",
        "required": [
          "startUrls",
          "proxyConfiguration"
        ],
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "The Glovo URLs you want data from. Four URL shapes are supported — mix any of them in one run:\n\n1) City home — `/<lang>/<country>/<city>` (e.g. `/en/es/barcelona`). Fans out to every top-level category on the city home page.\n\n2) Category — `/<lang>/<country>/<city>/categories/<slug>` (e.g. `/en/es/barcelona/categories/food_1`). Also works with a subtype filter, e.g. `?type=burgers_34789` for burger restaurants only.\n\n3) Store / restaurant / supermarket / shop / pharmacy — `/<lang>/<country>/<city>/stores/<slug>` (e.g. `/en/es/barcelona/stores/carrefour-barcelona`). Layout auto-detected from the API: restaurants return full menu, everything else returns a catalog walk.\n\n4) Direct product — `/<lang>/<country>/<city>/stores/<slug>/products/<storeProductId>` (e.g. `/en/es/barcelona/stores/carrefour-barcelona/products/774821`). Returns that one product's full PDP tree.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "followStoreLinks": {
            "title": "Also scrape each store listed on category pages",
            "type": "boolean",
            "description": "When on, every store a category page returns is also scraped for its full menu or catalog (not just the summary card). Billed at restaurant-pdp-item ($0.003) or shop-pdp-item ($0.005) per store scraped, in addition to category-store-item ($0.0005) per card. Leave off if you only need the store cards (name, rating, fees, ETA).",
            "default": false
          },
          "catalogDepth": {
            "title": "Catalog depth (shops, supermarkets, pharmacies)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How deep to walk each store's category tree. Each level of depth follows subcategory links one step further, while every section within a reached level is paginated in full.\n\n• 0 — Root page only (~20-150 items on content-heavy stores like supermarkets; 0 on navigation-first stores like small boutiques).\n• 1 — Shallow walk: one level of subcategories.\n• 2 — Recommended default: ~500-2000 items, ~30-100 API calls per store. Works reliably on every storefront.\n• 3-4 — Deep walks for large hypermarkets.\n• 5 — Exhaustive: every SKU, 200+ API calls per store.\n\nEach content-node API call costs $0.0005 via the shop-collection-call event, so cost scales roughly linearly with depth.",
            "default": 2
          },
          "fetchFullProductPages": {
            "title": "Fetch the full product page for each item",
            "type": "boolean",
            "description": "Adds one extra API call per item to pull its full product page — description, ingredients, allergens, nutrition facts, multi-image gallery, related products (when the retailer populates them). Only affects shop/supermarket/pharmacy catalogs; restaurants already return full menu-item details. Adds $0.001 per SKU via the shop-product-detail event, so a 5000-item supermarket adds ~$5 on top of the catalog walk.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify datacenter proxy is sufficient — Glovo has no DataDome-style defenses. Residential is available if you want belt-and-braces. Each internal API call rotates to a fresh exit IP automatically to stay under Glovo's ~5 req/s per-IP WAF threshold."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}