{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Car Listings Scraper",
    "description": "Extract AutoScout24 Germany car listings by make, model and filters: price and price rating, mileage, registration, fuel, power, dealer contacts and photos. JSON, CSV or Excel.",
    "version": "1.0",
    "x-build-id": "6yfmVxiG3b0autsXS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~autoscout24-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-autoscout24-listings-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/sian.agency~autoscout24-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-autoscout24-listings-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/sian.agency~autoscout24-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-autoscout24-listings-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": {
          "operation": {
            "title": "🎯 What do you want to scrape?",
            "enum": [
              "search"
            ],
            "type": "string",
            "description": "🚗 **CAR LISTINGS:** Export AutoScout24 car listings for a make, model and filters, or for search URLs you paste. Each saved car is one result charge. The separate platform run-start fee also applies.",
            "default": "search"
          },
          "searchUrls": {
            "title": "🔗 AutoScout24 search URLs",
            "type": "array",
            "description": "🔗 **OPTIONAL:** Add result-list links from autoscout24.de as {\"url\":\"…\"} objects, for example https://www.autoscout24.de/lst/audi/a4?atype=C&cy=D. Each link keeps its own filters. When you add links, the make, model and filter fields below are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "make": {
            "title": "🏭 Make",
            "type": "string",
            "description": "🏭 **MAKE:** Manufacturer as AutoScout24 writes it in its address, for example bmw, audi, volkswagen, mercedes-benz, skoda or alfa-romeo. An unknown make stops the run with a clear message and adds no result charge. Apify still charges the run-start fee.",
            "default": "bmw"
          },
          "model": {
            "title": "🚘 Model",
            "type": "string",
            "description": "🚘 **MODEL:** Optional model line such as 3er, a4, golf, c-klasse or 911. Leave empty to list every model of the make."
          },
          "keyword": {
            "title": "🔑 Trim or version keyword",
            "type": "string",
            "description": "🔑 **VERSION KEYWORD:** Optional text matched against the version name, for example TDI, M Sport or Avant. Needs a make and a model."
          },
          "condition": {
            "title": "🆕 Condition",
            "enum": [
              "any",
              "used",
              "new",
              "pre-registered",
              "demonstration",
              "year-car",
              "classic"
            ],
            "type": "string",
            "description": "🆕 **CONDITION:** Used, new, pre-registered, demonstration, year car or classic. Any returns everything.",
            "default": "any"
          },
          "priceMin": {
            "title": "💶 Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "💶 **PRICE FROM:** Lowest asking price in EUR."
          },
          "priceMax": {
            "title": "💶 Price to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "💶 **PRICE TO:** Highest asking price in EUR."
          },
          "mileageMin": {
            "title": "🛣️ Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "🛣️ **MILEAGE FROM:** Lowest odometer reading in km."
          },
          "mileageMax": {
            "title": "🛣️ Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "🛣️ **MILEAGE TO:** Highest odometer reading in km."
          },
          "yearMin": {
            "title": "📅 First registration from (year)",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "📅 **REGISTERED FROM:** Earliest first-registration year, for example 2019."
          },
          "yearMax": {
            "title": "📅 First registration to (year)",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "📅 **REGISTERED TO:** Latest first-registration year, for example 2024."
          },
          "powerMinPs": {
            "title": "⚡ Power from (PS)",
            "minimum": 0,
            "type": "integer",
            "description": "⚡ **POWER FROM:** Lowest engine power in PS (horsepower)."
          },
          "powerMaxPs": {
            "title": "⚡ Power to (PS)",
            "minimum": 0,
            "type": "integer",
            "description": "⚡ **POWER TO:** Highest engine power in PS (horsepower)."
          },
          "fuel": {
            "title": "⛽ Fuel",
            "enum": [
              "any",
              "petrol",
              "diesel",
              "electric",
              "hybrid-petrol",
              "hybrid-diesel",
              "cng",
              "lpg",
              "hydrogen"
            ],
            "type": "string",
            "description": "⛽ **FUEL:** Restrict to one fuel type. Any returns every fuel.",
            "default": "any"
          },
          "gearbox": {
            "title": "⚙️ Gearbox",
            "enum": [
              "any",
              "manual",
              "automatic",
              "semi-automatic"
            ],
            "type": "string",
            "description": "⚙️ **GEARBOX:** Manual, automatic or semi-automatic. Any returns all.",
            "default": "any"
          },
          "bodyType": {
            "title": "🚙 Body type",
            "enum": [
              "any",
              "small-car",
              "convertible",
              "coupe",
              "suv",
              "estate",
              "sedan",
              "van",
              "transporter",
              "other"
            ],
            "type": "string",
            "description": "🚙 **BODY TYPE:** Small car, convertible, coupé, SUV, estate, sedan, van or transporter. Any returns all.",
            "default": "any"
          },
          "sellerType": {
            "title": "🧑‍💼 Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "🧑‍💼 **SELLER:** Dealers only, private sellers only, or both. Phone numbers are exported for dealers only.",
            "default": "any"
          },
          "postalCode": {
            "title": "📍 Postal code",
            "pattern": "^$|^[0-9]{4,5}$",
            "type": "string",
            "description": "📍 **POSTAL CODE:** Optional German postcode. Together with the radius it limits the search to cars near that place."
          },
          "radiusKm": {
            "title": "📏 Radius (km)",
            "minimum": 10,
            "maximum": 400,
            "type": "integer",
            "description": "📏 **RADIUS:** Distance in km around the postal code, from 10 to 400. Only used when a postal code is set.",
            "default": 50
          },
          "countries": {
            "title": "🌍 Countries",
            "enum": [
              "germany",
              "europe"
            ],
            "type": "string",
            "description": "🌍 **COUNTRIES:** Germany only, or cars located in all eight AutoScout24 countries, shown on the German site with German labels.",
            "default": "germany"
          },
          "listedWithinDays": {
            "title": "🕒 Listed within (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "🕒 **FRESH LISTINGS:** Only cars listed in the last N days. Good for daily new-stock monitoring. Leave empty for all."
          },
          "sortBy": {
            "title": "↕️ Sort by",
            "enum": [
              "best",
              "newest",
              "price-asc",
              "price-desc",
              "mileage-asc",
              "year-desc",
              "power-desc",
              "distance"
            ],
            "type": "string",
            "description": "↕️ **SORT:** Order of the results. Newest first suits monitoring, price suits deal hunting.",
            "default": "best"
          },
          "maxItems": {
            "title": "🔢 Maximum cars",
            "minimum": 1,
            "maximum": 4000,
            "type": "integer",
            "description": "🔢 **RESULT LIMIT:** Stop after this many unique cars across all searches. AutoScout24 serves at most 4,000 cars per search, so split big markets by price or year. Free plans return 25 cars per run.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}