{
  "openapi": "3.0.1",
  "info": {
    "title": "Foodora Scraper | Restaurants, Menus, Reviews & Offers",
    "description": "Extract Foodora restaurants, menu prices, reviews and offers in Norway, Sweden, Austria, Hungary and Czechia. Search by location, cuisine or chain, and export rows. Pay per delivered row plus a start fee.",
    "version": "0.2",
    "x-build-id": "sYcVorvGq1LfV6rRs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~foodora-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-foodora-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/lentic_clockss~foodora-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-foodora-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/lentic_clockss~foodora-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-foodora-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": "Mode",
            "enum": [
              "auto",
              "cuisine",
              "restaurant",
              "city",
              "shops",
              "discoverCities",
              "discoverCuisines",
              "chain",
              "searchKeyword",
              "startUrls",
              "enumerateRestaurants"
            ],
            "type": "string",
            "description": "Choose auto to select a mode from your target fields, or select a mode explicitly. City and cuisine discovery and restaurant enumeration can run without a target.",
            "default": "auto"
          },
          "market": {
            "title": "Market",
            "enum": [
              "no",
              "se",
              "at",
              "hu",
              "cz"
            ],
            "type": "string",
            "description": "Foodora country: Norway, Sweden, Austria, Hungary or Czechia.",
            "default": "no"
          },
          "citySlug": {
            "title": "City or place",
            "type": "string",
            "description": "Enter a city key, district with its city, postal code or region. If a broader area is used, locationResolution records it; an empty city in cuisine mode uses the market capital."
          },
          "cuisineSlug": {
            "title": "Cuisine slug",
            "type": "string",
            "description": "Enter a cuisine key such as pizza or sushi, optionally with a city. Use discoverCuisines to find available keys."
          },
          "restaurantUrl": {
            "title": "Restaurant URL",
            "pattern": "^https?://([A-Za-z0-9-]+\\.)*foodora\\.(no|se|at|hu|cz)(/.*)?$",
            "type": "string",
            "description": "Paste a Foodora restaurant link, such as https://www.foodora.no/restaurant/tu8l/perfetto-yalla. A vendorCode can be used instead."
          },
          "vendorCode": {
            "title": "Vendor code",
            "type": "string",
            "description": "Enter the short restaurant code from a Foodora link, such as tu8l, when not using restaurantUrl."
          },
          "searchKeyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Find matching restaurants around a city or coordinates. Without a location, the search uses the selected market capital, not the whole country."
          },
          "chainName": {
            "title": "Chain name",
            "type": "string",
            "description": "Enter a brand name to find its restaurants around the selected city. An empty city uses the market capital."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Enter Foodora restaurant, city or cuisine links. Each link is one input with its own row limit.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum rows per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum rows for each start URL, or the single input in other modes; all row types count together. Default 70, collected in parts of 70 for larger requests; the whole run is capped by maximum cost and Free-plan limits of 200 rows and 10 runs when per-user usage can be determined.",
            "default": 70
          },
          "includeMenuItems": {
            "title": "Include menu items",
            "type": "boolean",
            "description": "Add each dish as a separate menuItem row, billed at the same price as other rows. Menu and restaurant rows share maxResults.",
            "default": false
          },
          "maxMenuItemsPerRestaurant": {
            "title": "Maximum menu items per restaurant",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Cap dish rows for each restaurant within the overall input row limit. Set to 0 to omit dish rows.",
            "default": 20
          },
          "menuKeyword": {
            "title": "Menu keyword",
            "type": "string",
            "description": "With restaurant mode and includeMenuItems, request dishes matching this keyword. Leave empty to request available menu items up to your limits."
          },
          "includeToppings": {
            "title": "Include topping identifiers",
            "type": "boolean",
            "description": "Keep available topping identifiers with menu variations. This does not request separate topping rows.",
            "default": true
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "In restaurant mode, add public review rows when available. Each review is billed as one row and shares maxResults with the restaurant and other rows."
          },
          "includeOffers": {
            "title": "Include offers",
            "type": "boolean",
            "description": "In restaurant mode, add available offer or voucher rows and a summary on the restaurant row. Each offer is billed as one row and shares maxResults."
          },
          "enrichMenus": {
            "title": "Add menus to listings",
            "type": "boolean",
            "description": "After a cuisine, city, shops or chain listing, request menus for up to maxEnrich restaurants. Also enable includeMenuItems; all emitted rows share maxResults.",
            "default": false
          },
          "maxEnrich": {
            "title": "Maximum restaurants to enrich",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum restaurants to load menus for when enrichMenus is enabled. Set to 0 to skip enrichment.",
            "default": 5
          },
          "vertical": {
            "title": "Business category",
            "enum": [
              "restaurants",
              "shops",
              "groceries",
              "pharmacy",
              "retail"
            ],
            "type": "string",
            "description": "Choose the business category for location-based listings. Availability varies by market and location.",
            "default": "restaurants"
          },
          "openingType": {
            "title": "Service type",
            "enum": [
              "delivery",
              "pickup",
              "dine_in"
            ],
            "type": "string",
            "description": "Choose delivery, pickup or dine-in for listing modes. Availability depends on the source.",
            "default": "delivery"
          },
          "latitude": {
            "title": "Latitude",
            "pattern": "^\\s*-?\\d{1,3}(\\.\\d+)?\\s*$",
            "type": "string",
            "description": "Optional decimal latitude as text, used together with longitude to select the location."
          },
          "longitude": {
            "title": "Longitude",
            "pattern": "^\\s*-?\\d{1,3}(\\.\\d+)?\\s*$",
            "type": "string",
            "description": "Optional decimal longitude as text, used together with latitude to select the location."
          },
          "vendorSlug": {
            "title": "Vendor slug",
            "type": "string",
            "description": "Optional restaurant-name part of a Foodora URL, used with the vendor code when needed."
          },
          "lang": {
            "title": "Page language prefix",
            "type": "string",
            "description": "Language prefix used when constructing page links, such as en. It does not guarantee translated output.",
            "default": "en"
          },
          "locale": {
            "title": "Country hint",
            "type": "string",
            "description": "Optional country hint such as sv-SE or nb-NO. Prefer market to select a country explicitly."
          },
          "loadMoreRounds": {
            "title": "Extra listing expansion rounds",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum extra listing expansion rounds on pages that support them. Leave at 0 unless needed.",
            "default": 0
          },
          "cursor": {
            "title": "Continuation cursor",
            "type": "object",
            "description": "Optional continuation object for supported requests. Normally leave empty; the Actor handles continuation."
          },
          "proxyCountry": {
            "title": "Request country",
            "type": "string",
            "description": "Leave empty to use the selected market country."
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}