{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Vehicle Scraper & European Car Market Intelligence",
    "description": "Search and extract 2M+ European vehicle listings with real-time prices, makes & models taxonomy, technical specs, EV battery health, dealer ratings, 4x4 AWD filters, page-by-page pagination, and AI search.",
    "version": "1.0",
    "x-build-id": "lKvxazjPXhqXDwCcS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dev00~autoscout24-vehicle-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dev00-autoscout24-vehicle-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/dev00~autoscout24-vehicle-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dev00-autoscout24-vehicle-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/dev00~autoscout24-vehicle-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dev00-autoscout24-vehicle-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": {
          "action": {
            "title": "Scraper Action Mode",
            "enum": [
              "search",
              "get_brands",
              "get_models"
            ],
            "type": "string",
            "description": "Choose between searching vehicle listings or extracting full manufacturer taxonomy.",
            "default": "search"
          },
          "brand": {
            "title": "Brand / Manufacturer Name",
            "type": "string",
            "description": "Vehicle brand name (e.g. Porsche, BMW, Mercedes-Benz, Audi, Tesla, Ferrari, MAN) or numeric Make ID.",
            "default": "Porsche"
          },
          "model": {
            "title": "Model Name",
            "type": "string",
            "description": "Vehicle model name (e.g. 911, Taycan, Cayenne, M3, Model Y, Golf) or numeric Model ID.",
            "default": "911"
          },
          "searchPrompt": {
            "title": "AI Natural Language Search Prompt",
            "type": "string",
            "description": "Optional conversational query (e.g. 'Electric Porsche Taycan under 80000 euro in Munich')."
          },
          "category": {
            "title": "Vehicle Category",
            "enum": [
              "Car",
              "Motorbike",
              "Truck",
              "Motorhome"
            ],
            "type": "string",
            "description": "Class of vehicles to search.",
            "default": "Car"
          },
          "page": {
            "title": "Starting Page Number",
            "minimum": 1,
            "type": "integer",
            "description": "Page offset to start scraping from (e.g. 1, 2, 3...).",
            "default": 1
          },
          "maxPages": {
            "title": "Max Consecutive Pages to Scrape",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of consecutive pages to scrape (e.g. 2 pages with 20 items = 40 listings).",
            "default": 1
          },
          "pageSize": {
            "title": "Items Per Page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of vehicle listings per page.",
            "default": 20
          },
          "priceMin": {
            "title": "Minimum Price (€)",
            "type": "integer",
            "description": "Minimum vehicle price in EUR."
          },
          "priceMax": {
            "title": "Maximum Price (€)",
            "type": "integer",
            "description": "Maximum vehicle price in EUR."
          },
          "mileageMin": {
            "title": "Minimum Mileage (km)",
            "type": "integer",
            "description": "Minimum mileage in kilometers."
          },
          "mileageMax": {
            "title": "Maximum Mileage (km)",
            "type": "integer",
            "description": "Maximum mileage in kilometers."
          },
          "firstRegistrationMin": {
            "title": "Earliest Registration Year",
            "type": "integer",
            "description": "Minimum first registration year (e.g. 2020)."
          },
          "firstRegistrationMax": {
            "title": "Latest Registration Year",
            "type": "integer",
            "description": "Maximum first registration year (e.g. 2024)."
          },
          "fuelType": {
            "title": "Fuel & Powertrain Type",
            "enum": [
              "",
              "PETROL",
              "DIESEL",
              "ELECTRICITY",
              "HYBRID",
              "LPG",
              "CNG",
              "HYDROGENIUM"
            ],
            "type": "string",
            "description": "Filter by engine fuel type.",
            "default": ""
          },
          "bodyType": {
            "title": "Body Style",
            "enum": [
              "",
              "SUV",
              "Sedan",
              "Cabriolet",
              "Coupe",
              "EstateCar",
              "Compact",
              "Van"
            ],
            "type": "string",
            "description": "Vehicle body style.",
            "default": ""
          },
          "transmission": {
            "title": "Transmission / Gearbox",
            "enum": [
              "",
              "AUTOMATIC",
              "MANUAL",
              "SEMIAUTOMATIC"
            ],
            "type": "string",
            "description": "Filter by transmission.",
            "default": ""
          },
          "drivetrain": {
            "title": "Drivetrain (4x4 / AWD)",
            "enum": [
              "",
              "ALL_WHEEL_DRIVE",
              "FRONT_WHEEL_DRIVE",
              "REAR_WHEEL_DRIVE"
            ],
            "type": "string",
            "description": "Filter by all-wheel drive.",
            "default": ""
          },
          "condition": {
            "title": "Vehicle Condition",
            "enum": [
              "",
              "NEW",
              "USED"
            ],
            "type": "string",
            "description": "New or used vehicle.",
            "default": ""
          },
          "sellerType": {
            "title": "Seller Type",
            "enum": [
              "",
              "DEALER",
              "PRIVATE"
            ],
            "type": "string",
            "description": "Filter by commercial dealership vs private seller.",
            "default": ""
          },
          "powerMinHp": {
            "title": "Minimum Engine Power (HP)",
            "type": "integer",
            "description": "Minimum horsepower (HP)."
          },
          "vatDeductible": {
            "title": "VAT Deductible Only (MwSt. ausweisbar)",
            "type": "boolean",
            "description": "Only return vehicles eligible for tax deduction / export.",
            "default": false
          },
          "country": {
            "title": "Country",
            "enum": [
              "D",
              "A",
              "B",
              "E",
              "F",
              "I",
              "L",
              "NL",
              "PL"
            ],
            "type": "string",
            "description": "ISO Country code.",
            "default": "D"
          },
          "sortBy": {
            "title": "Sorting Order",
            "enum": [
              "standard",
              "price",
              "mileage",
              "age"
            ],
            "type": "string",
            "description": "Sorting criteria.",
            "default": "standard"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}