{
  "openapi": "3.0.1",
  "info": {
    "title": "Volkswagen Europe Price & Configurator Scraper",
    "description": "Scraper for VW product data across European markets.",
    "version": "0.1",
    "x-build-id": "5V5KzG2H0rpYSU9G8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~volkswagen-europe-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-volkswagen-europe-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/rastriq~volkswagen-europe-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-volkswagen-europe-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/rastriq~volkswagen-europe-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-volkswagen-europe-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": {
          "countries": {
            "title": "🌍 Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Select which markets to collect. <b>Leave empty to collect all 36 countries.</b><br><br>Each country returns prices in its local currency (EUR, GBP, PLN, CHF, USD, ZAR, etc.).<br><br>Covers the full Volkswagen configurator footprint: 28 EU + 7 Middle East + South Africa.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "ES",
                "FR",
                "IT",
                "GB",
                "AT",
                "NL",
                "BE",
                "CH",
                "PT",
                "PL",
                "CZ",
                "SE",
                "NO",
                "DK",
                "FI",
                "IE",
                "LU",
                "HR",
                "SI",
                "SK",
                "HU",
                "RO",
                "BG",
                "GR",
                "EE",
                "LV",
                "LT",
                "SA",
                "BH",
                "KW",
                "OM",
                "QA",
                "JO",
                "LB",
                "ZA"
              ],
              "enumTitles": [
                "🇩🇪 Germany",
                "🇪🇸 Spain",
                "🇫🇷 France",
                "🇮🇹 Italy",
                "🇬🇧 United Kingdom",
                "🇦🇹 Austria",
                "🇳🇱 Netherlands",
                "🇧🇪 Belgium",
                "🇨🇭 Switzerland",
                "🇵🇹 Portugal",
                "🇵🇱 Poland",
                "🇨🇿 Czech Republic",
                "🇸🇪 Sweden",
                "🇳🇴 Norway",
                "🇩🇰 Denmark",
                "🇫🇮 Finland",
                "🇮🇪 Ireland",
                "🇱🇺 Luxembourg",
                "🇭🇷 Croatia",
                "🇸🇮 Slovenia",
                "🇸🇰 Slovakia",
                "🇭🇺 Hungary",
                "🇷🇴 Romania",
                "🇧🇬 Bulgaria",
                "🇬🇷 Greece",
                "🇪🇪 Estonia",
                "🇱🇻 Latvia",
                "🇱🇹 Lithuania",
                "🇸🇦 Saudi Arabia",
                "🇧🇭 Bahrain",
                "🇰🇼 Kuwait",
                "🇴🇲 Oman",
                "🇶🇦 Qatar",
                "🇯🇴 Jordan",
                "🇱🇧 Lebanon",
                "🇿🇦 South Africa"
              ]
            }
          },
          "models_filter": {
            "title": "🚗 Models",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by VW model. <b>Leave empty to collect all available models.</b><br><br>The filter matches model names from the VW configurator. Models not available in a selected market are automatically skipped.<br><br>Covers the full ICE and electric range: Polo to Crafter, Golf to ID.7. Middle East and South Africa have additional models (Jetta, Teramont, Polo Vivo).",
            "items": {
              "type": "string",
              "enum": [
                "",
                "Polo",
                "Golf",
                "Golf Variant",
                "Taigo",
                "T-Cross",
                "T-Roc",
                "Tiguan",
                "Tayron",
                "Touareg",
                "Touran",
                "Passat",
                "ID. Polo",
                "ID.3",
                "ID.4",
                "ID.5",
                "ID.7",
                "ID.7 Tourer",
                "ID. Buzz",
                "Multivan",
                "California",
                "Caddy",
                "Caravelle",
                "Transporter",
                "Crafter",
                "Amarok",
                "Jetta",
                "Teramont",
                "Golf GTI",
                "Golf R",
                "Polo Vivo",
                "Polo Sedan"
              ],
              "enumTitles": [
                "All models",
                "Polo",
                "Golf",
                "Golf Variant",
                "Taigo",
                "T-Cross",
                "T-Roc",
                "Tiguan",
                "Tayron",
                "Touareg",
                "Touran",
                "Passat",
                "ID. Polo ⚡",
                "ID.3 ⚡",
                "ID.4 ⚡",
                "ID.5 ⚡",
                "ID.7 ⚡",
                "ID.7 Tourer ⚡",
                "ID. Buzz ⚡",
                "Multivan",
                "California",
                "Caddy",
                "Caravelle",
                "Transporter",
                "Crafter",
                "Amarok",
                "Jetta (ME)",
                "Teramont (ME)",
                "Golf GTI (ME/ZA)",
                "Golf R (ME)",
                "Polo Vivo (ZA)",
                "Polo Sedan (ZA)"
              ]
            }
          },
          "include_options": {
            "title": "Include configurator options",
            "type": "boolean",
            "description": "When enabled, each trim record will also include the list of available configurator options (colors, packages, extras).<br><br><b>Warning:</b> This significantly increases output size and run time. Recommended only if you specifically need options data.",
            "default": true
          },
          "max_concurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of parallel requests sent to the VW configurator.<br><br>• <b>1–3</b> — safe and stable (default: 3)<br>• <b>4–6</b> — faster, suitable for most runs<br>• <b>7–10</b> — maximum speed, use only if you’re not seeing errors",
            "default": 3
          },
          "headless": {
            "title": "Background mode",
            "type": "boolean",
            "description": "Run the browser in the background (headless mode). <b>Keep this enabled</b> for all normal runs.<br><br>Disable only if you are debugging a specific market that uses the browser fallback path — it lets you see what the browser is doing.",
            "default": true
          },
          "proxy_configuration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy settings. Most markets work without a proxy.<br><br>Use proxies only if you are routing requests through a specific EU region or experiencing connectivity issues from your Apify datacenter."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}