{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper — European Cars, Prices & Dealer Phones",
    "description": "Scrape European car listings from AutoScout24 across 8 EU countries. Extracts prices, AutoScout24 price ratings, mileage, kW/HP specs, WLTP emissions, and B2B dealer office & WhatsApp phone numbers.",
    "version": "0.1",
    "x-build-id": "ebhKqaqO4gJoyWghP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/foxlabs~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-foxlabs-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/foxlabs~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-foxlabs-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/foxlabs~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-foxlabs-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": {
          "makes": {
            "title": "Car Makes (Brands)",
            "type": "array",
            "description": "Car brand slugs to search on AutoScout24 (e.g. 'bmw', 'mercedes-benz', 'audi', 'porsche', 'volkswagen', 'tesla'). Leave empty to search all makes.",
            "default": [
              "bmw"
            ],
            "items": {
              "type": "string"
            }
          },
          "model": {
            "title": "Model Slug (Optional)",
            "type": "string",
            "description": "Optional model slug paired with the first make (e.g. '3-series', '911', 'a4', 'golf', 'c-class').",
            "default": "3-series"
          },
          "countries": {
            "title": "European Countries",
            "type": "array",
            "description": "AutoScout24 country codes: D (Germany), A (Austria), I (Italy), NL (Netherlands), B (Belgium), F (France), E (Spain), L (Luxembourg). Leave empty for all EU.",
            "default": [
              "D"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Direct AutoScout24 Search URLs",
            "type": "array",
            "description": "Optional custom filtered AutoScout24 search URLs (https://www.autoscout24.com/lst/... or regional .de/.it/.nl/.fr domains).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "offerUrls": {
            "title": "Direct Vehicle Offer URLs",
            "type": "array",
            "description": "Optional direct AutoScout24 vehicle detail URLs (/offers/... or /angebote/...).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceFromEur": {
            "title": "Min Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum price in EUR (0 = no minimum).",
            "default": 0
          },
          "priceToEur": {
            "title": "Max Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum price in EUR (0 = no maximum).",
            "default": 0
          },
          "yearFrom": {
            "title": "First Registration Year From",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum registration year (e.g. 2018). Set 0 for any year.",
            "default": 0
          },
          "yearTo": {
            "title": "First Registration Year To",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum registration year (e.g. 2025). Set 0 for any year.",
            "default": 0
          },
          "maxMileageKm": {
            "title": "Max Mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum mileage in kilometers (e.g. 100000). Set 0 for any.",
            "default": 0
          },
          "fuelType": {
            "title": "Fuel Type Filter",
            "enum": [
              "any",
              "gasoline",
              "diesel",
              "electric",
              "hybrid_gasoline",
              "hybrid_diesel",
              "lpg",
              "cng"
            ],
            "type": "string",
            "description": "Optional powertrain/fuel filter.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission Filter",
            "enum": [
              "any",
              "automatic",
              "manual",
              "semi_automatic"
            ],
            "type": "string",
            "description": "Optional gearbox type filter.",
            "default": "any"
          },
          "bodyType": {
            "title": "Body Type Filter",
            "enum": [
              "any",
              "sedan",
              "suv",
              "station_wagon",
              "compact",
              "coupe",
              "convertible",
              "van",
              "transporter"
            ],
            "type": "string",
            "description": "Optional vehicle body style filter.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "standard",
              "price_asc",
              "price_desc",
              "age",
              "mileage_asc"
            ],
            "type": "string",
            "description": "Listing sort order.",
            "default": "standard"
          },
          "enrichOfferDetails": {
            "title": "Enrich Full Vehicle Detail Page (Equipment, VAT, Euro Class, Coordinates & History)",
            "type": "boolean",
            "description": "Visits each vehicle's /offers/ page to extract full equipment[], VAT deductibility, net export price, Euro emission class, CO2, drivetrain, owners/service history, warranty, dealer GPS coordinates, and full seller description.",
            "default": true
          },
          "maxListingsPerSearch": {
            "title": "Max Listings per Search",
            "minimum": 1,
            "maximum": 400,
            "type": "integer",
            "description": "Maximum vehicles to extract per make/search URL (1–400).",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy settings. Runs on standard Datacenter proxies by default.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}