{
  "openapi": "3.0.1",
  "info": {
    "title": "efood.gr Scraper — Greek Restaurants, Menus & Option Prices",
    "description": "Scrape efood.gr, Greece's largest food-delivery app: restaurants for any delivery point with ratings, fees, minimum order, hours and offers, plus full menus with prices, discounts and option groups. Greek or English labels. No proxy setup.",
    "version": "0.1",
    "x-build-id": "AIaVI7yYxlm1gRUH6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/teodor_banea~efood-restaurant-menu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-teodor_banea-efood-restaurant-menu-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/teodor_banea~efood-restaurant-menu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-teodor_banea-efood-restaurant-menu-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/teodor_banea~efood-restaurant-menu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-teodor_banea-efood-restaurant-menu-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "restaurants",
              "menus"
            ],
            "type": "string",
            "description": "Choose \"Restaurants\" for one row per venue (rating, fees, minimum order, opening hours, offers). Choose \"Full menus\" for one row per menu item with prices, discounts and option groups; a typical restaurant has 50–300 items, so menus multiply the result count.",
            "default": "restaurants"
          },
          "locations": {
            "title": "Delivery locations (latitude,longitude)",
            "type": "array",
            "description": "Enter delivery points in Greece as \"latitude,longitude\", e.g. \"37.9838,23.7275\" (Athens centre) or \"40.6401,22.9444\" (Thessaloniki). Each point returns the venues that deliver to that address, so cover a whole city with several points.",
            "items": {
              "type": "string"
            }
          },
          "restaurantUrls": {
            "title": "Restaurant URLs or ids",
            "type": "array",
            "description": "Enter efood venue page URLs (e.g. https://www.e-food.gr/delivery/plaka/example-souvlaki-1234567) or bare numeric venue ids. They are scraped in addition to the delivery locations.",
            "items": {
              "type": "string"
            }
          },
          "vertical": {
            "title": "Venue type",
            "enum": [
              "food",
              "shops",
              "supermarket",
              "all"
            ],
            "type": "string",
            "description": "Choose which efood section to list: restaurants and cafés, shops (flowers, pharmacy, pet shop, kiosk…), supermarkets, or everything.",
            "default": "food"
          },
          "searchQuery": {
            "title": "Search venues",
            "type": "string",
            "description": "Keep only venues whose name, chain or cuisine contains this text. Case and Greek accents are ignored, so \"σουβλακι\" also finds \"Σουβλάκι\"."
          },
          "cuisines": {
            "title": "Cuisines",
            "type": "array",
            "description": "Keep only venues with one of these cuisines, written as efood shows them (e.g. \"Burgers\", \"Pizza\", \"Σουβλάκια\"). Unknown names are listed in the log with the cuisines available at that point.",
            "items": {
              "type": "string"
            }
          },
          "onlyOpen": {
            "title": "Only venues open now",
            "type": "boolean",
            "description": "Keep only venues that take orders right now.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "pattern": "^\\s*([0-4]([.,]\\d{1,2})?|5([.,]0{1,2})?)?\\s*$",
            "type": "string",
            "description": "Keep only venues rated at least this much (0–5, decimals allowed, e.g. \"4.5\"). Venues without ratings are dropped when this is set."
          },
          "sortBy": {
            "title": "Sort venues by",
            "enum": [
              "platform",
              "distance",
              "rating",
              "deliveryFee",
              "minimumOrder"
            ],
            "type": "string",
            "description": "Order in which venues are taken before the limits apply. \"efood order\" keeps the order the app shows.",
            "default": "platform"
          },
          "maxRestaurants": {
            "title": "Maximum restaurants per location",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Limit the venues returned (restaurants) or the venues whose menus are read (menus) for each delivery location; your venue URLs form one more group with the same limit. 0 = no cap per location (menus mode: still capped at 2,000 venues per location). Venues with an empty menu are skipped without counting. Use Maximum results for a ceiling on the whole run.",
            "default": 50
          },
          "maxItemsPerRestaurant": {
            "title": "Maximum items per restaurant",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "In menus mode, keep only the first N menu items of each venue (in menu order). 0 = the whole menu.",
            "default": 0
          },
          "maxItemsTotal": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Set a hard ceiling on returned rows for the whole run, across all locations. 0 = no ceiling (still capped at 50,000 rows). The run stops at once when it is reached; locations not reached are listed in the log and the final status.",
            "default": 0
          },
          "includeModifiers": {
            "title": "Include option groups",
            "type": "boolean",
            "description": "In menus mode, add each item's option groups (sizes, extras, removals, sauces) with option prices. This takes extra time for items with options but costs nothing extra per row.",
            "default": true
          },
          "includeDetails": {
            "title": "Include venue details",
            "type": "boolean",
            "description": "In restaurants mode, also read each venue's page facts: all payment methods, long description, company name and VAT number when shown, and rating breakdown (quality, service, delivery speed, thumbs up/down). Venue URLs always get these details.",
            "default": false
          },
          "language": {
            "title": "Language",
            "enum": [
              "el",
              "en"
            ],
            "type": "string",
            "description": "Language of efood's own labels (menu category names, notices, area names). In English, efood also spells Greek venue names in Latin letters; dish names stay as each venue wrote them.",
            "default": "el"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}