{
  "openapi": "3.0.1",
  "info": {
    "title": "Wolt vs Glovo vs Bolt Food Menu Price Comparison",
    "description": "Compare the same restaurant's menu prices, delivery fees, minimum order, ratings and ETAs across Wolt, Glovo and Bolt Food for any address. Cheapest platform per dish and per basket, plus price-change tracking.",
    "version": "0.1",
    "x-build-id": "y8A54FK21Ii14M0SA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/donzely~food-delivery-price-compare/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-donzely-food-delivery-price-compare",
        "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/donzely~food-delivery-price-compare/runs": {
      "post": {
        "operationId": "runs-sync-donzely-food-delivery-price-compare",
        "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/donzely~food-delivery-price-compare/run-sync": {
      "post": {
        "operationId": "run-sync-donzely-food-delivery-price-compare",
        "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": {
          "location": {
            "title": "City or address",
            "type": "string",
            "description": "Where the food is delivered: a city, district or street address, e.g. \"Warszawa\", \"Kraków, Rynek Główny\", \"Gdańsk Wrzeszcz\" or \"52.2297, 21.0122\". Empty = Warszawa centre."
          },
          "latitude": {
            "title": "Latitude",
            "type": "number",
            "description": "Optional. Overrides the location text."
          },
          "longitude": {
            "title": "Longitude",
            "type": "number",
            "description": "Optional. Overrides the location text."
          },
          "restaurants": {
            "title": "Restaurants or chains",
            "type": "array",
            "description": "Optional. Only these restaurants, e.g. \"McDonald's\", \"KFC\", \"Bobby Burger\". Empty = all restaurants near the location.",
            "items": {
              "type": "string"
            }
          },
          "cuisines": {
            "title": "Cuisines",
            "type": "array",
            "description": "Optional. e.g. \"pizza\", \"sushi\", \"kebab\", \"burger\".",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Wolt, Glovo, Bolt Food. Empty = all three. Uber Eats and Pyszne.pl are not supported because they block automated access.",
            "items": {
              "type": "string"
            }
          },
          "maxDistanceKm": {
            "title": "Max distance (km)",
            "type": "number",
            "description": "Restaurants farther from the location are ignored (Wolt and Bolt Food give coordinates; Glovo is city-wide).",
            "default": 5
          },
          "compareMenus": {
            "title": "Compare menus across platforms",
            "type": "boolean",
            "description": "For restaurants found on 2+ platforms, match dishes and compare prices, fees and a basket.",
            "default": true
          },
          "maxComparisons": {
            "title": "Max restaurants to compare",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many cross-platform comparisons to produce (named restaurants first, then the most reviewed).",
            "default": 10
          },
          "basket": {
            "title": "Basket dishes",
            "type": "array",
            "description": "Optional dish names for the basket total, e.g. \"Big Mac\", \"frytki\". Empty = up to 5 dishes sold on every compared platform.",
            "items": {
              "type": "string"
            }
          },
          "outputRestaurants": {
            "title": "Output restaurant rows",
            "type": "boolean",
            "description": "One row per restaurant per platform (rating, fees, ETA, open status, URL).",
            "default": true
          },
          "maxRestaurantsPerPlatform": {
            "title": "Max restaurant rows per platform",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Nearest restaurants first.",
            "default": 20
          },
          "includeMenuItems": {
            "title": "Output full menus",
            "type": "boolean",
            "description": "Also output every menu item of the compared restaurants, with price change since the last run.",
            "default": false
          },
          "onlyNewRestaurants": {
            "title": "Only new restaurants",
            "type": "boolean",
            "description": "Restaurant rows only for places not seen in earlier runs with the same input (for daily monitoring).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional Apify Proxy.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}