{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper API - Preise, Kilometer & Händler",
    "description": "🚗 Scrape AutoScout24 car listings by make/model, URL or whole market on 9 European sites, with every filter and sort: price, mileage, year, fuel, gearbox, body, power, seller, location. Full vehicle record, equipment, dealer phones, images. Beyond the 200-page cap. Pay per result.",
    "version": "0.1",
    "x-build-id": "D4qDwQ1DOkSoqINfq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapifier~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapifier-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/scrapifier~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapifier-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/scrapifier~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapifier-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": {
          "vehicles": {
            "title": "Makes / models",
            "type": "array",
            "description": "What to search: a make (\"Audi\"), a make + model (\"BMW X5\", \"Mercedes-Benz C 200\", \"Volkswagen Golf\"). One search per entry. Leave empty (and no URL) to search the whole market with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "AutoScout24 search URLs",
            "type": "array",
            "description": "Any AutoScout24 results page, from any country site, filters included: https://www.autoscout24.fr/lst/mercedes-benz/classe-c?sort=price&desc=0",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "country": {
            "title": "Country site",
            "enum": [
              "de",
              "at",
              "fr",
              "it",
              "es",
              "nl",
              "lu",
              "pl",
              "com"
            ],
            "type": "string",
            "description": "Country site used for make/model searches. URLs keep their own country.",
            "default": "de"
          },
          "priceFrom": {
            "title": "Price from",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price (EUR, PLN on the Polish site)."
          },
          "priceTo": {
            "title": "Price to",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum mileage in kilometres."
          },
          "mileageTo": {
            "title": "Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum mileage in kilometres."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Earliest first-registration year."
          },
          "yearTo": {
            "title": "First registration to (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Latest first-registration year."
          },
          "fuels": {
            "title": "Fuel",
            "type": "array",
            "description": "One or more fuel types (one search per fuel, merged and deduplicated).",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "electric",
                "hybrid_petrol",
                "hybrid_diesel",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol",
                "other"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Hybrid (petrol)",
                "Hybrid (diesel)",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "automatic",
              "manual",
              "semi_automatic"
            ],
            "type": "string",
            "description": "Transmission type."
          },
          "bodyTypes": {
            "title": "Body type",
            "type": "array",
            "description": "One or more body types (one search per type, merged and deduplicated).",
            "items": {
              "type": "string",
              "enum": [
                "compact",
                "convertible",
                "coupe",
                "suv",
                "station_wagon",
                "sedan",
                "transporter",
                "van",
                "other"
              ],
              "enumTitles": [
                "Compact",
                "Convertible",
                "Coupé",
                "SUV / off-road",
                "Station wagon",
                "Sedan",
                "Transporter",
                "Van / minibus",
                "Other"
              ]
            }
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Only dealers or only private sellers; leave empty for both."
          },
          "powerFromKw": {
            "title": "Power from (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum engine power in kW."
          },
          "powerToKw": {
            "title": "Power to (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum engine power in kW."
          },
          "zip": {
            "title": "ZIP / postal code",
            "type": "string",
            "description": "Center of a location radius search (on the chosen country site)."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Radius around the ZIP code (default 50 km when a ZIP is given)."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price",
              "age",
              "mileage"
            ],
            "type": "string",
            "description": "How the site orders results before pagination.",
            "default": "relevance"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending or descending for the chosen sort.",
            "default": "asc"
          },
          "includeDetails": {
            "title": "Fetch each listing's detail page",
            "type": "boolean",
            "description": "Adds the description, full equipment list by category, body type and colour, doors/seats, previous owners, drive train, and the seller's name and phone numbers. One extra request per listing.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many listings in total — the number of results you pay for. 0 = every listing the searches return (large searches are split by price range automatically to reach beyond the site's 200-page limit).",
            "default": 0
          },
          "flatten": {
            "title": "Flatten rows for CSV/Excel",
            "type": "boolean",
            "description": "Join image and equipment lists into text columns for spreadsheet-friendly exports.",
            "default": false
          },
          "emitInputStatus": {
            "title": "Report what each search returned",
            "type": "boolean",
            "description": "Write an input_status report to OUTPUT: each search's URL, the count the site announced, and how many listings were collected.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy to route requests through. The default Apify proxy works fine."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}