{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper — European Car Listings, Cheap",
    "description": "AutoScout24 Scraper for Germany, Italy, France, Netherlands, Belgium, Austria, Spain, Luxembourg: filter by make, model, price, year, mileage, fuel, gearbox, body, place. Prices, specs, dealers, optional full details. From US$0.60 per 1,000 cars.",
    "version": "0.1",
    "x-build-id": "FrgWokqUmkdNjEQLl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-autoscout24-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/fabrikit~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-autoscout24-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/fabrikit~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-autoscout24-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": {
          "site": {
            "title": "AutoScout24 site",
            "enum": [
              "de",
              "it",
              "fr",
              "nl",
              "be",
              "at",
              "es",
              "lu"
            ],
            "type": "string",
            "description": "Which AutoScout24 country site to use (language of the labels).",
            "default": "de"
          },
          "countries": {
            "title": "Search cars located in",
            "type": "array",
            "description": "Country codes of the cars to include: DE, AT, BE, ES, FR, IT, LU, NL. Empty = the country of the site above. Use several to search across Europe.",
            "items": {
              "type": "string"
            }
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Car make as written on AutoScout24, e.g. BMW, Mercedes-Benz, Volkswagen, Audi, Land Rover. Leave empty for all makes."
          },
          "models": {
            "title": "Models",
            "type": "array",
            "description": "Optional models of that make, e.g. 320, X5, Golf, A-Klasse, 3-Series. Needs a make.",
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest asking price."
          },
          "priceMax": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest asking price."
          },
          "yearMin": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Earliest first-registration year."
          },
          "yearMax": {
            "title": "First registration to (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Latest first-registration year."
          },
          "mileageMin": {
            "title": "Minimum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest mileage."
          },
          "mileageMax": {
            "title": "Maximum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest mileage."
          },
          "powerMinHp": {
            "title": "Minimum power (hp)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest engine power in hp."
          },
          "powerMaxHp": {
            "title": "Maximum power (hp)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest engine power in hp."
          },
          "fuel": {
            "title": "Fuel",
            "type": "array",
            "description": "One or more fuels. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "electric",
                "hybrid_petrol",
                "hybrid_diesel",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol",
                "other"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Electric/Petrol hybrid",
                "Electric/Diesel hybrid",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "any",
              "automatic",
              "manual",
              "semi_automatic"
            ],
            "type": "string",
            "description": "Transmission type.",
            "default": "any"
          },
          "bodyType": {
            "title": "Body type",
            "type": "array",
            "description": "One or more body types. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "compact",
                "convertible",
                "coupe",
                "suv",
                "station_wagon",
                "sedan",
                "van",
                "transporter",
                "other"
              ],
              "enumTitles": [
                "Compact",
                "Convertible",
                "Coupe",
                "SUV / Off-road / Pick-up",
                "Station wagon",
                "Sedan",
                "Van / Minibus",
                "Transporter",
                "Other"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "New, used, yearling, classic, demonstration or pre-registered. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "new",
                "used",
                "yearling",
                "classic",
                "demonstration",
                "pre_registered"
              ],
              "enumTitles": [
                "New",
                "Used",
                "Yearling",
                "Classic",
                "Demonstration",
                "Pre-registered"
              ]
            }
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers, private sellers or both.",
            "default": "all"
          },
          "zip": {
            "title": "Postcode",
            "type": "string",
            "description": "Search around a postcode of the site's country (e.g. 80331)."
          },
          "radiusKm": {
            "title": "Radius around the postcode (km)",
            "enum": [
              "10",
              "20",
              "50",
              "100",
              "150",
              "200",
              "250",
              "300",
              "400"
            ],
            "type": "string",
            "description": "Only used with a postcode."
          },
          "onlineSinceDays": {
            "title": "Listed within the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Only ads online for at most this many days (1-14 work best)."
          },
          "includeDamaged": {
            "title": "Include damaged vehicles",
            "type": "boolean",
            "description": "AutoScout24 hides damaged vehicles by default.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "price_asc",
              "price_desc",
              "mileage_asc",
              "year_desc"
            ],
            "type": "string",
            "description": "Newest first, price or mileage.",
            "default": "newest"
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "AutoScout24 search URLs (https://www.autoscout24.de/lst/bmw?...) or single ad URLs (/angebote/...). Combined with the filters above.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeDetails": {
            "title": "Include ad details (add-on)",
            "type": "boolean",
            "description": "Opens every ad to add the full description, equipment list, body type, colour, seats, emissions, owners, inspection date, coordinates and market median price. Billed separately per car.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum number of cars",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Total across all searches. One search returns up to 4,000 cars; more are reached automatically by splitting the search by price range.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify datacenter proxy is the default. If AutoScout24 blocks it, the Actor switches to residential proxies of the site's country on its own.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}