{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper: car listings at $0.80 per 1,000",
    "description": "Scrape AutoScout24 car listings from 8 European countries: price, mileage, registration, fuel, power, equipment, description, photos and dealer details. Paste any search URL or set make and model. $0.80 per 1,000 listings, first 25 free. Only-new mode.",
    "version": "0.0",
    "x-build-id": "TcVfMtLIVasmDeDzQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/daedal_quintuplet~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-daedal_quintuplet-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/daedal_quintuplet~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-daedal_quintuplet-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/daedal_quintuplet~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-daedal_quintuplet-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": {
          "startUrls": {
            "title": "AutoScout24 search or listing URLs",
            "type": "array",
            "description": "AutoScout24 pages to scrape: a search results page with any filters you set on the site (its address contains /lst/), or a single car listing page. Works on autoscout24.com, .de, .it, .fr, .nl, .be, .at, .es and .lu. Example: https://www.autoscout24.com/lst/bmw/x5?atype=C",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "make": {
            "title": "Make (instead of URLs)",
            "type": "string",
            "description": "Optional. Car make to search when you don't paste URLs, written as in AutoScout24 addresses: volkswagen, bmw, mercedes-benz, audi, land-rover, alfa-romeo. Example: volkswagen"
          },
          "model": {
            "title": "Model (with make)",
            "type": "string",
            "description": "Optional. Model within the make, written as in AutoScout24 addresses: golf, x5, a4, 500, c-200. Needs Make. Example: golf"
          },
          "countries": {
            "title": "Countries (with make)",
            "type": "array",
            "description": "Optional. Countries to search when using Make: DE, AT, BE, ES, FR, IT, LU, NL. Leave empty for all eight. Example: [\"DE\", \"AT\"]",
            "items": {
              "type": "string"
            }
          },
          "priceFrom": {
            "title": "Minimum price (with make)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Lowest price in euros. Example: 5000"
          },
          "priceTo": {
            "title": "Maximum price (with make)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest price in euros. Example: 20000"
          },
          "yearFrom": {
            "title": "First registration from (with make)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Earliest year of first registration. Example: 2018"
          },
          "yearTo": {
            "title": "First registration to (with make)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Latest year of first registration. Example: 2022"
          },
          "mileageTo": {
            "title": "Maximum mileage in km (with make)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest mileage in kilometres. Example: 100000"
          },
          "fuelTypes": {
            "title": "Fuel types (with make)",
            "type": "array",
            "description": "Optional. Any of: petrol, diesel, electric, hybrid-petrol, hybrid-diesel, lpg, cng, hydrogen, ethanol, other. Example: [\"diesel\", \"electric\"]",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition (with make)",
            "enum": [
              "any",
              "used",
              "new"
            ],
            "type": "string",
            "description": "Optional. used, new, or any (default). Example: used",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort order (with make)",
            "enum": [
              "standard",
              "newest",
              "price",
              "mileage"
            ],
            "type": "string",
            "description": "Optional. standard (AutoScout24's default order), newest (newest listings first, best for schedules), price (cheapest first) or mileage (lowest first). Example: newest",
            "default": "standard"
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many car listings across all searches. AutoScout24 shows 20 listings per page and the actor follows the pages for you. Example: 100",
            "default": 100
          },
          "includeDetails": {
            "title": "Open each listing for full details",
            "type": "boolean",
            "description": "On (default): open every listing to get the description, equipment lists (comfort, media, safety, extras), body type, colour, seats, doors, previous owners, emission class, market median price, net price and listing date. Off: return only what the search page shows (make, model, price, mileage, registration, fuel, gearbox, power, location, seller, photos), which is faster. Example: true",
            "default": true
          },
          "onlyNew": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Skip listings this actor already returned to you in an earlier run (remembered for 180 days). Use it with a schedule to get only new cars each time. Example: false",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel listing requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many listing pages to open at the same time when full details are on. Example: 5",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}