{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper",
    "description": "Scrape car listings from AutoScout24 with full filter support. Extract makes, models, prices, mileage, seller info, and more.",
    "version": "1.0",
    "x-build-id": "4rbo2mshmkGKq1l03"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rigelbytes~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rigelbytes-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/rigelbytes~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rigelbytes-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/rigelbytes~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rigelbytes-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": {
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Full AutoScout24 search URLs (e.g. https://www.autoscout24.de/lst/audi?city=Berlin&priceto=40000). When provided, these take priority over searchQueries.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Car makes or models to search for. Enter as autoscout24 URL path segments. Examples: 'audi', 'bmw', 'volkswagen', 'bmw 1er' (BMW 1 Series), 'audi a4' (Audi A4), 'mercedes-benz' (Mercedes-Benz). Use hyphens for multi-word brands and / (space) for brand/model separation.",
            "default": []
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to scrape (0 = unlimited)",
            "default": 0
          },
          "maxPages": {
            "title": "Max Pages",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of result pages to scrape per search (0 = unlimited)",
            "default": 0
          },
          "sort": {
            "title": "Sort By",
            "enum": [
              "standard",
              "price",
              "mileage",
              "age",
              "power",
              "first_registration"
            ],
            "type": "string",
            "description": "How to sort the results",
            "default": "standard"
          },
          "desc": {
            "title": "Descending Sort",
            "type": "boolean",
            "description": "Sort in descending order",
            "default": false
          },
          "ustate": {
            "title": "Vehicle Condition",
            "enum": [
              "N,U",
              "N",
              "U"
            ],
            "type": "string",
            "description": "New, used, or both",
            "default": "N,U"
          },
          "atype": {
            "title": "Article Type",
            "enum": [
              "C",
              "B",
              "T"
            ],
            "type": "string",
            "description": "Vehicle category",
            "default": "C"
          },
          "pricefrom": {
            "title": "Minimum Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum price in EUR"
          },
          "priceto": {
            "title": "Maximum Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum price in EUR"
          },
          "kmfrom": {
            "title": "Minimum Mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum mileage in kilometers"
          },
          "kmto": {
            "title": "Maximum Mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum mileage in kilometers"
          },
          "yearfrom": {
            "title": "Minimum Year",
            "minimum": 1900,
            "type": "integer",
            "description": "Filter by minimum first registration year"
          },
          "yearto": {
            "title": "Maximum Year",
            "minimum": 1900,
            "type": "integer",
            "description": "Filter by maximum first registration year"
          },
          "powerfrom": {
            "title": "Minimum Power",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum engine power (unit depends on powertype setting)"
          },
          "powerto": {
            "title": "Maximum Power",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum engine power (unit depends on powertype setting)"
          },
          "powertype": {
            "title": "Power Unit",
            "enum": [
              "kw",
              "hp"
            ],
            "type": "string",
            "description": "Unit for power filter values",
            "default": "kw"
          },
          "seatsfrom": {
            "title": "Minimum Seats",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum number of seats"
          },
          "seatsto": {
            "title": "Maximum Seats",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum number of seats"
          },
          "doorsfrom": {
            "title": "Minimum Doors",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum number of doors"
          },
          "doorsto": {
            "title": "Maximum Doors",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum number of doors"
          },
          "gear": {
            "title": "Transmission",
            "enum": [
              "",
              "A",
              "M",
              "S",
              "A,M",
              "A,S",
              "M,S",
              "A,M,S"
            ],
            "type": "string",
            "description": "Filter by transmission type (comma-separated codes)",
            "default": ""
          },
          "fuel": {
            "title": "Fuel Type",
            "enum": [
              "",
              "B",
              "D",
              "E",
              "L",
              "C",
              "2",
              "3",
              "O"
            ],
            "type": "string",
            "description": "Filter by fuel type (comma-separated codes)",
            "default": ""
          },
          "body": {
            "title": "Body Type",
            "enum": [
              "",
              "L",
              "K",
              "U",
              "M",
              "C",
              "G",
              "V",
              "R",
              "O"
            ],
            "type": "string",
            "description": "Filter by body type (comma-separated codes)",
            "default": ""
          },
          "color": {
            "title": "Exterior Color",
            "enum": [
              "",
              "B",
              "G",
              "R",
              "W",
              "S",
              "Y",
              "O",
              "V",
              "N",
              "M"
            ],
            "type": "string",
            "description": "Filter by exterior color (comma-separated codes)",
            "default": ""
          },
          "zip": {
            "title": "ZIP Code / City",
            "type": "string",
            "description": "Filter by location (ZIP code or city name, e.g. 'Berlin' or '10115')"
          },
          "zipr": {
            "title": "Search Radius (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Search radius around the ZIP/city in kilometers",
            "default": 0
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City name for location-based search"
          },
          "cy": {
            "title": "Country",
            "enum": [
              "D",
              "A",
              "B",
              "F",
              "I",
              "E",
              "NL",
              "LU",
              "CH",
              "PL",
              "CZ",
              "SK",
              "HU",
              "SI",
              "HR",
              "RO",
              "LT",
              "LV",
              "EE"
            ],
            "type": "string",
            "description": "Filter by country code",
            "default": "D"
          },
          "custtype": {
            "title": "Seller Type",
            "enum": [
              "",
              "D",
              "H",
              "D,H"
            ],
            "type": "string",
            "description": "Filter by seller type",
            "default": ""
          },
          "ocs_listing": {
            "title": "Online Car Sale Listings",
            "enum": [
              "include",
              "exclude"
            ],
            "type": "string",
            "description": "Include/exclude online car sale listings",
            "default": "include"
          },
          "damaged_listing": {
            "title": "Damaged Listings",
            "enum": [
              "exclude",
              "include",
              "only"
            ],
            "type": "string",
            "description": "Include or exclude damaged/repaired vehicles",
            "default": "exclude"
          },
          "pricetype": {
            "title": "Price Type",
            "enum": [
              "public",
              "private"
            ],
            "type": "string",
            "description": "Price visibility type",
            "default": "public"
          },
          "emissionclass": {
            "title": "Emission Class",
            "enum": [
              "",
              "E1",
              "E2",
              "E3",
              "E4",
              "E5",
              "E6",
              "E6D"
            ],
            "type": "string",
            "description": "Filter by emission class (comma-separated codes)",
            "default": ""
          },
          "emissionsticker": {
            "title": "Emission Sticker",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Filter by German emission sticker (Umweltplakette)",
            "default": ""
          },
          "climatisation": {
            "title": "Air Conditioning",
            "enum": [
              "",
              "A",
              "B",
              "C"
            ],
            "type": "string",
            "description": "Filter by air conditioning type (comma-separated codes)",
            "default": ""
          },
          "interior": {
            "title": "Interior Material",
            "enum": [
              "",
              "C",
              "F",
              "V",
              "S",
              "O"
            ],
            "type": "string",
            "description": "Filter by interior material type (comma-separated codes)",
            "default": ""
          },
          "consumptionfrom": {
            "title": "Min Fuel Consumption (l/100km)",
            "minimum": 0,
            "type": "number",
            "description": "Filter by minimum fuel consumption"
          },
          "consumptionto": {
            "title": "Max Fuel Consumption (l/100km)",
            "minimum": 0,
            "type": "number",
            "description": "Filter by maximum fuel consumption"
          },
          "co2from": {
            "title": "Min CO2 Emission (g/km)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum CO2 emissions"
          },
          "co2to": {
            "title": "Max CO2 Emission (g/km)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum CO2 emissions"
          },
          "weightfrom": {
            "title": "Min Weight (kg)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum weight in kilograms"
          },
          "weightto": {
            "title": "Max Weight (kg)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum weight in kilograms"
          },
          "cylindersfrom": {
            "title": "Min Number of Cylinders",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum number of cylinders"
          },
          "cylindersto": {
            "title": "Max Number of Cylinders",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum number of cylinders"
          },
          "cubiccapacityfrom": {
            "title": "Min Engine Displacement (ccm)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by minimum engine displacement in ccm"
          },
          "cubiccapacityto": {
            "title": "Max Engine Displacement (ccm)",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by maximum engine displacement in ccm"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for anti-bot protection",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}