{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Vehicle Listings with Dealer Contact Details",
    "description": "Search AutoScout24 across eight European countries by make, price, mileage and location, and get full vehicle specs, equipment, photos and dealer contact details.",
    "version": "1.0",
    "x-build-id": "5xy9ar3jXECfZfhdc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~autoscout24-vehicle-listings-with-dealer-contact/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-autoscout24-vehicle-listings-with-dealer-contact",
        "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/vexaloom-labs~autoscout24-vehicle-listings-with-dealer-contact/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-autoscout24-vehicle-listings-with-dealer-contact",
        "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/vexaloom-labs~autoscout24-vehicle-listings-with-dealer-contact/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-autoscout24-vehicle-listings-with-dealer-contact",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "details",
              "dealer",
              "byUrl"
            ],
            "type": "string",
            "description": "Search with filters, open specific listing IDs/URLs, scrape a dealer's inventory, or paginate search URLs you paste.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search text",
            "type": "string",
            "description": "Free-text search, e.g. \"BMW 320 Touring\" (mode=search)."
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Vehicle make, e.g. bmw, audi, mercedes-benz, volkswagen (mode=search)."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model as AutoScout24 spells it, e.g. 3er, a4, c-klasse, golf (mode=search)."
          },
          "vehicleType": {
            "title": "Vehicle type",
            "enum": [
              "car",
              "motorcycle",
              "caravan",
              "transporter"
            ],
            "type": "string",
            "description": "Which vehicle category to search (mode=search).",
            "default": "car"
          },
          "country": {
            "title": "Country",
            "enum": [
              "de",
              "at",
              "be-nl",
              "be-fr",
              "es",
              "fr",
              "it",
              "lu",
              "nl",
              "com",
              "all"
            ],
            "type": "string",
            "description": "Country site to search (mode=search). 'All eight country sites' runs one search per market; Belgium (French) and autoscout24.com stay separately selectable.",
            "default": "de"
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest asking price in EUR."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest asking price in EUR."
          },
          "yearMin": {
            "title": "First registration from",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Earliest first-registration year."
          },
          "yearMax": {
            "title": "First registration to",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Latest first-registration year."
          },
          "mileageMin": {
            "title": "Minimum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest mileage in kilometres."
          },
          "mileageMax": {
            "title": "Maximum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest mileage in kilometres."
          },
          "powerMin": {
            "title": "Minimum power (kW)",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Lowest engine power in kilowatts."
          },
          "powerMax": {
            "title": "Maximum power (kW)",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Highest engine power in kilowatts."
          },
          "fuelType": {
            "title": "Fuel type",
            "enum": [
              "",
              "petrol",
              "diesel",
              "electric",
              "plug-in-hybrid-petrol",
              "plug-in-hybrid-diesel",
              "cng",
              "lpg",
              "ethanol",
              "hydrogen",
              "other"
            ],
            "type": "string",
            "description": "Fuel or plug-in hybrid type."
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "",
              "manual",
              "automatic",
              "semi-automatic"
            ],
            "type": "string",
            "description": "Gearbox type."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealer or private seller."
          },
          "bodyType": {
            "title": "Body type",
            "enum": [
              "",
              "small-car",
              "convertible",
              "coupe",
              "suv",
              "estate",
              "sedan",
              "van",
              "transporter",
              "other"
            ],
            "type": "string",
            "description": "Vehicle body style."
          },
          "color": {
            "title": "Exterior colour",
            "enum": [
              "",
              "beige",
              "blue",
              "brown",
              "bronze",
              "yellow",
              "grey",
              "green",
              "red",
              "black",
              "silver",
              "violet",
              "white",
              "orange",
              "gold"
            ],
            "type": "string",
            "description": "Exterior paint colour."
          },
          "driveTrain": {
            "title": "Drive train",
            "enum": [
              "",
              "awd",
              "front",
              "rear"
            ],
            "type": "string",
            "description": "Driven wheels."
          },
          "zipCode": {
            "title": "ZIP / postal code",
            "type": "string",
            "description": "Search around this postal code. Combine with the radius."
          },
          "radius": {
            "title": "Radius around ZIP",
            "enum": [
              "10",
              "20",
              "50",
              "100",
              "150",
              "200",
              "250",
              "300",
              "400"
            ],
            "type": "string",
            "description": "Distance in kilometres from the ZIP code."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "standard",
              "price-asc",
              "price-desc",
              "mileage-asc",
              "mileage-desc",
              "year-desc",
              "year-asc",
              "power-desc",
              "newest",
              "distance"
            ],
            "type": "string",
            "description": "Result order.",
            "default": "standard"
          },
          "onlineSinceDays": {
            "title": "Online since (days)",
            "minimum": 0,
            "maximum": 14,
            "type": "integer",
            "description": "Only listings published within this many days. 0 means any age.",
            "default": 0
          },
          "previousOwnersMax": {
            "title": "Maximum previous owners",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Filter by the number of previous owners."
          },
          "damagedListings": {
            "title": "Damaged vehicles",
            "enum": [
              "exclude",
              "include",
              "only"
            ],
            "type": "string",
            "description": "Whether to include listings marked as damaged.",
            "default": "exclude"
          },
          "includeDetails": {
            "title": "Fetch full vehicle details",
            "type": "boolean",
            "description": "Open each listing's detail page for specifications, equipment, description and high-resolution photos. Turn off for a faster, cheaper listing-only run.",
            "default": true
          },
          "includeDealerContact": {
            "title": "Fetch dealer contact details",
            "type": "boolean",
            "description": "Look up each dealer's public profile for email, website, opening hours and ratings. Phone numbers are already included from the listing.",
            "default": true
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum listings to save. 0 means the site cap (4,000 per search query).",
            "default": 100
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "URLs for mode=byUrl (search URLs), mode=details (listing URLs) or mode=dealer (dealer profile URLs).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Listing IDs",
            "type": "array",
            "description": "AutoScout24 listing UUIDs or listing URLs (mode=details). UUIDs use the selected Country; paste a full listing URL to pick the market automatically.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}