{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper: Used Cars in 8 EU Countries, Prices",
    "description": "AutoScout24 used cars from 8 EU country sites (make, model, year, km, price, price rating, fuel, power, dealer) for URLs or filters; $0.44 per 1,000 cars. Details add body, colour, equipment, owners, posted date ($0.89). Splits past the paging cap.",
    "version": "0.1",
    "x-build-id": "oISLfgQanDYdgjVzY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/arcadium~eu-car-listings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-arcadium-eu-car-listings",
        "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/arcadium~eu-car-listings/runs": {
      "post": {
        "operationId": "runs-sync-arcadium-eu-car-listings",
        "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/arcadium~eu-car-listings/run-sync": {
      "post": {
        "operationId": "run-sync-arcadium-eu-car-listings",
        "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 URLs",
            "type": "array",
            "description": "AutoScout24 result pages from any country site (e.g. https://www.autoscout24.de/lst/bmw/3er?atype=C&cy=D&fregfrom=2018) and single car pages. Every filter in a result URL is kept. Car pages give one row each with the listing details.",
            "items": {
              "type": "string"
            }
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Builds a search from the filters in this section, e.g. BMW, Volkswagen, Mercedes-Benz. Leave empty and set a country or ZIP for all makes."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model as AutoScout24 names it in English, e.g. 3-series, c-class, golf, model-3. An unknown model gives an error row instead of all cars of the make."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year of first registration, e.g. 2018."
          },
          "yearTo": {
            "title": "First registration to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year of first registration, e.g. 2023."
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in euros, e.g. 10000."
          },
          "priceTo": {
            "title": "Price to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in euros, e.g. 30000."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest mileage in kilometres."
          },
          "mileageTo": {
            "title": "Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest mileage in kilometres, e.g. 100000."
          },
          "fuels": {
            "title": "Fuel types",
            "type": "array",
            "description": "Any of these fuels. Values: gasoline, diesel, electric, hybrid_gasoline, hybrid_diesel, lpg, cng, hydrogen, ethanol, other. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "gasoline",
                "diesel",
                "electric",
                "hybrid_gasoline",
                "hybrid_diesel",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol",
                "other"
              ],
              "enumTitles": [
                "Gasoline",
                "Diesel",
                "Electric",
                "Hybrid (electric/gasoline)",
                "Hybrid (electric/diesel)",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "transmissions": {
            "title": "Transmission",
            "type": "array",
            "description": "Any of these gearboxes. Values: manual, automatic, semi_automatic. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "manual",
                "automatic",
                "semi_automatic"
              ],
              "enumTitles": [
                "Manual",
                "Automatic",
                "Semi-automatic"
              ]
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Where the car is offered, as ISO codes: DE, AT, BE, ES, FR, IT, LU, NL. Empty = all of them.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "BE",
                "ES",
                "FR",
                "IT",
                "LU",
                "NL"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Belgium",
                "Spain",
                "France",
                "Italy",
                "Luxembourg",
                "Netherlands"
              ]
            }
          },
          "zip": {
            "title": "ZIP / postal code",
            "type": "string",
            "description": "Search around this postal code; needs exactly one country, e.g. 10115 with countries [\"DE\"]."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Distance around the ZIP code in kilometres, e.g. 50."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers, private sellers or both. Values: any (default), dealer, private."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "used",
              "new"
            ],
            "type": "string",
            "description": "Used cars, new cars or both. Values: any (default), used, new."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_low",
              "price_high",
              "newest",
              "mileage_low",
              "year_new"
            ],
            "type": "string",
            "description": "Order of the filter search; matters when the max per search is below the number of matches. Values: relevance (default), price_low, price_high, newest, mileage_low, year_new."
          },
          "maxResultsPerSearch": {
            "title": "Max cars per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cars per result URL or filter search, 1 to 100000 (default 500). The site pages through 4,000 cars per query; larger searches are split into price bands automatically (cars without a price are then left out)."
          },
          "includeDetails": {
            "title": "Read listing details",
            "type": "boolean",
            "description": "Reads each car page: body type, colour, doors, seats, equipment list, previous owners, accident flag, posted date and the market price median. One extra request per car; charged as listing-details. Off by default."
          },
          "maxItems": {
            "title": "Max cars in total",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops the run after this many cars across all searches. A cost cap; leave empty for no limit."
          },
          "includeErrorRows": {
            "title": "Add a row for inputs without data",
            "type": "boolean",
            "description": "Adds a free row (rowType error, with a code and message) for every URL or search that gave no cars. On by default.",
            "default": true
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How often a request is retried after a temporary error or block, 0 to 10.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy (advanced)",
            "type": "object",
            "description": "Leave empty: requests go over datacenter proxies and switch to residential ones only after repeated blocks."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}