{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper: Used Car Listings & Prices in Europe",
    "description": "Used car listings and prices from AutoScout24's 9 European sites (DE, AT, BE, FR, IT, NL, ES, LU, .com). Passed 7 of 7 daily live tests before launch. Price, price rating, mileage, registration, fuel, gearbox, power, CO2, photos, location, dealer. Search by make and model. No private sellers' data.",
    "version": "0.1",
    "x-build-id": "1qOLHcnjHFk91uURQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clearpull~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clearpull-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/clearpull~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-clearpull-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/clearpull~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-clearpull-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": {
          "makesModels": {
            "title": "Makes and models",
            "type": "array",
            "description": "One search per entry, written as make/model the way AutoScout24 writes it in its addresses, for example bmw/320, volkswagen/golf, mercedes-benz/c-200, or just a make such as fiat. \"BMW 320\" also works. The filters and sort order below apply to these searches. Leave empty if you paste search addresses instead.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country site",
            "enum": [
              "de",
              "at",
              "be",
              "fr",
              "it",
              "nl",
              "es",
              "lu",
              "com"
            ],
            "type": "string",
            "description": "Which AutoScout24 site to search. Each site shows that country's listings and its own language for text fields such as fuel and gearbox. Prices are in euros on every site.",
            "default": "de"
          },
          "condition": {
            "title": "Used or new",
            "enum": [
              "used-and-new",
              "used",
              "new"
            ],
            "type": "string",
            "description": "Used cars, new cars, or both.",
            "default": "used-and-new"
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers, private sellers, or both. Private sellers' names, phone numbers and addresses are never returned; their listings come with the car's facts, postcode and town only.",
            "default": "any"
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price, in euros."
          },
          "priceTo": {
            "title": "Price up to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price, in euros."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year of first registration, for example 2018."
          },
          "yearTo": {
            "title": "First registration up to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year of first registration."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest mileage, in kilometres."
          },
          "mileageTo": {
            "title": "Mileage up to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest mileage, in kilometres."
          },
          "fuelTypes": {
            "title": "Fuel",
            "type": "array",
            "description": "Only these fuel types. Leave empty for all.",
            "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",
            "enum": [
              "any",
              "automatic",
              "manual",
              "semi-automatic"
            ],
            "type": "string",
            "description": "Only cars with this gearbox.",
            "default": "any"
          },
          "zip": {
            "title": "Near postcode",
            "type": "string",
            "description": "Search around this postcode on the chosen country site, for example 80331 in Germany. Use with the radius below."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Distance around the postcode, in kilometres."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "standard",
              "price-asc",
              "price-desc",
              "mileage-asc",
              "year-desc",
              "newest-listings"
            ],
            "type": "string",
            "description": "The order AutoScout24 lists the results in. With a maximum below the number of results, this decides which listings you get.",
            "default": "standard"
          },
          "startUrls": {
            "title": "Search addresses",
            "type": "array",
            "description": "Or paste AutoScout24 search addresses: set up a search on any of the sites above and copy the address from your browser, for example https://www.autoscout24.de/lst/bmw/320?fregfrom=2018&priceto=30000. The search must include a make (its address starts with /lst/<make>), because AutoScout24's robots.txt doesn't allow searches without one. Each address keeps its own filters; the filters above don't change it.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResultsPerSearch": {
            "title": "Maximum listings per search",
            "minimum": 1,
            "maximum": 4000,
            "type": "integer",
            "description": "Stop each search after this many listings. AutoScout24 shows up to 4,000 listings (200 pages) for one search; to get more, split it, for example by price or year.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Pages at a time",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many search pages are fetched at once. The Actor never fetches more than one page a second in total, to be gentle with AutoScout24.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}