{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper - Cars for Sale in 8 Countries",
    "description": "Used and new cars from AutoScout24 (Germany, Austria, Netherlands, Italy, France, Spain, Belgium, Europe-wide) without login: search by make, model, price, year and more, and get price, mileage, power, fuel, place and dealer. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "VoROsKg4qLS7Qgehc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-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/pshivam~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-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/pshivam~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Which AutoScout24 sites to search: Germany, Austria, Netherlands, Italy, France, Spain, Belgium, or autoscout24.com (cars of all Europe). Pick one or several.",
            "items": {
              "type": "string",
              "enum": [
                "de",
                "at",
                "nl",
                "it",
                "fr",
                "es",
                "be",
                "com"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Netherlands",
                "Italy",
                "France",
                "Spain",
                "Belgium",
                "Europe-wide (autoscout24.com)"
              ]
            },
            "default": [
              "de"
            ]
          },
          "makes": {
            "title": "Makes",
            "type": "array",
            "description": "Car makes, one per line, as AutoScout24 writes them in its addresses: Volkswagen, BMW, Mercedes-Benz, Audi, Toyota, Land Rover. Leave empty to search all makes.",
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models",
            "type": "array",
            "description": "Models, one per line: Golf, 3er, C-Klasse. Every make is searched with every model, so give models only with makes. Write models as the site does in its addresses (they can differ by country).",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Search links",
            "type": "array",
            "description": "Addresses of AutoScout24 car searches with your own filters: open autoscout24.de (or another site), search and set filters, then copy the address, for example https://www.autoscout24.de/lst/volkswagen/golf?pricefrom=5000.",
            "items": {
              "type": "string"
            }
          },
          "priceFrom": {
            "title": "Lowest price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Return only cars priced at least this (in euros)."
          },
          "priceTo": {
            "title": "Highest price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Return only cars priced at most this (in euros)."
          },
          "yearFrom": {
            "title": "First registered from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Return only cars first registered in this year or later."
          },
          "yearTo": {
            "title": "First registered to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Return only cars first registered in this year or earlier."
          },
          "minMileage": {
            "title": "Lowest mileage (km)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Return only cars with at least this many kilometres."
          },
          "maxMileage": {
            "title": "Highest mileage (km)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Return only cars with at most this many kilometres."
          },
          "fuelType": {
            "title": "Fuel",
            "enum": [
              "petrol",
              "diesel",
              "electric",
              "lpg",
              "cng",
              "hybrid-petrol",
              "hybrid-diesel",
              "hydrogen",
              "other"
            ],
            "type": "string",
            "description": "Return only cars with this fuel. Leave empty for all."
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "automatic",
              "manual",
              "semi-automatic"
            ],
            "type": "string",
            "description": "Return only cars with this gearbox. Leave empty for all."
          },
          "minPowerKw": {
            "title": "Lowest power (kW)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Return only cars with at least this power in kilowatts."
          },
          "maxPowerKw": {
            "title": "Highest power (kW)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Return only cars with at most this power in kilowatts."
          },
          "sellerType": {
            "title": "Sellers",
            "enum": [
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Return only dealers or only private sellers. Leave empty for both."
          },
          "zipCode": {
            "title": "Postcode",
            "type": "string",
            "description": "Search near this postcode (for example 80331). Works on the sites of countries with postcodes, like Germany."
          },
          "radiusKm": {
            "title": "Radius around the postcode (km)",
            "enum": [
              "10",
              "20",
              "50",
              "100",
              "200",
              "300"
            ],
            "type": "string",
            "description": "How far around the postcode to search. Used only when a postcode is given."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price-low",
              "price-high",
              "newest",
              "mileage-low",
              "power-high"
            ],
            "type": "string",
            "description": "The order of the search results.",
            "default": "relevance"
          },
          "includeDealerPhones": {
            "title": "Add dealer phone numbers",
            "type": "boolean",
            "description": "Add the phone numbers a dealer publishes on its listings. Phone numbers of private sellers are never returned.",
            "default": true
          },
          "maxPagesPerSearch": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "A page holds 20 cars and AutoScout24 answers 200 pages (4,000 cars) of a search. Read at most this many pages of each search.",
            "default": 5
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 0,
            "maximum": 30,
            "type": "number",
            "description": "The pause between two requests of the run.",
            "default": 0.5
          },
          "requestTimeoutSeconds": {
            "title": "Seconds to wait for a page",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Give up on a page that has not answered after this many seconds.",
            "default": 30
          },
          "onlyNew": {
            "title": "Only new records",
            "type": "boolean",
            "description": "Skip cars that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'autoscout24-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many cars. You are charged per car returned.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Pages at the same time",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many pages are read at the same time.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed to start. Turn it on only if AutoScout24 refuses the Actor's address; the proxy then takes over while the address rests.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}