{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper: Car Listings, Prices and Dealers in Europe",
    "description": "Scrape AutoScout24 car listings in Germany, Austria, Italy, France, the Netherlands, Belgium, Spain and Luxembourg by make, model, price, year, mileage, fuel and gearbox, or from any search link: price, specs, photos, equipment, dealer name, city and phone. No login.",
    "version": "0.1",
    "x-build-id": "lqXm4wMtydkQKwPcb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/themineworks~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-themineworks-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/themineworks~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-themineworks-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/themineworks~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-themineworks-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": {
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Car make as AutoScout24 names it, for example BMW, Volkswagen, Mercedes-Benz, Audi, Tesla. Leave empty to list every make (newest first), or to run only the links below."
          },
          "model": {
            "title": "Model or series",
            "type": "string",
            "description": "Optional. A model (318, Golf, Model 3), a series (3 Series, 3er, C-Class) or a model line, matched against AutoScout24's own list for the make. A name it does not know stops that search with the list of valid names, nothing charged."
          },
          "countries": {
            "title": "Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Where the cars are. Each country is its own search with its own listing limit. AutoScout24 Switzerland is a separate platform and is not covered.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "IT",
                "FR",
                "NL",
                "BE",
                "ES",
                "LU",
                "EU"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Italy",
                "France",
                "Netherlands",
                "Belgium",
                "Spain",
                "Luxembourg",
                "All 8 countries in one search"
              ]
            },
            "default": [
              "DE"
            ]
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "used",
              "new"
            ],
            "type": "string",
            "description": "New or used cars.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealer listings carry the dealer's name, city and business phone. Private sellers' phone numbers are never returned.",
            "default": "any"
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "priceTo": {
            "title": "Price to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional."
          },
          "yearTo": {
            "title": "First registration to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "mileageTo": {
            "title": "Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "fuelTypes": {
            "title": "Fuel",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Any of these.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "electric",
                "hybrid_petrol",
                "hybrid_diesel",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol",
                "other"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Hybrid (electric/petrol)",
                "Hybrid (electric/diesel)",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "gearbox": {
            "title": "Gearbox",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Any of these.",
            "items": {
              "type": "string",
              "enum": [
                "manual",
                "automatic",
                "semi_automatic"
              ],
              "enumTitles": [
                "Manual",
                "Automatic",
                "Semi-automatic"
              ]
            }
          },
          "bodyTypes": {
            "title": "Body type",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Any of these.",
            "items": {
              "type": "string",
              "enum": [
                "small_car",
                "sedan",
                "estate",
                "suv",
                "coupe",
                "convertible",
                "van",
                "transporter",
                "other"
              ],
              "enumTitles": [
                "Small car",
                "Sedan",
                "Estate (station wagon)",
                "SUV, off-road, pickup",
                "Coupe",
                "Convertible",
                "Van, minibus",
                "Transporter",
                "Other"
              ]
            }
          },
          "excludeDamaged": {
            "title": "Leave out damaged cars",
            "type": "boolean",
            "description": "On by default, as on AutoScout24. Turn off to include cars listed as damaged.",
            "default": true
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "newest",
              "best",
              "price_lowest",
              "price_highest",
              "mileage_lowest",
              "year_newest"
            ],
            "type": "string",
            "description": "The order AutoScout24 returns listings in. Newest first suits daily monitoring.",
            "default": "newest"
          },
          "startUrls": {
            "title": "AutoScout24 links",
            "type": "array",
            "description": "Optional. Search results links copied from your browser on any AutoScout24 site (.de, .at, .it, .fr, .nl, .be, .es, .lu, .com) after setting any filters there, for example https://www.autoscout24.de/lst/volkswagen/golf?atype=C&cy=D, or links to single listings. A link keeps all its own filters; the filters above do not apply to it. When you give links and no make, only the links run.",
            "items": {
              "type": "string"
            }
          },
          "maxListingsPerSearch": {
            "title": "Listings per search",
            "minimum": 20,
            "maximum": 4000,
            "type": "integer",
            "description": "Most listings to return for each country search or link, 20 to 4,000. AutoScout24 shows 20 listings a page and 200 pages for one search. You pay per listing delivered.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "On: reads each listing's page for description, equipment, body type, colour, doors, seats, owners, VAT and net price, coordinates and the listing date. Off: faster, search card fields only (price, make, model, version, mileage, registration, fuel, gearbox, power, location, dealer name and phones, photos). Same price per listing either way.",
            "default": true
          },
          "onlyNewListings": {
            "title": "Only new listings (monitoring)",
            "type": "boolean",
            "description": "Deliver only listings this actor has not delivered to you before for the same searches. Use it on a schedule to pay only for listings that appeared since the last run.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}