{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper: Cars, Prices, Dealers & Price-Drop Monitor",
    "description": "Get AutoScout24 car listings from any make search in 9 countries: price, price rating, mileage, registration, power, fuel, gearbox and dealer data, past the 4,000-per-search limit. Monitor mode: only new listings, price drops and cars gone from the search. Respects robots.txt.",
    "version": "0.1",
    "x-build-id": "G7JCjEesoC7Rec2pG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/promur~autoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-promur-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/promur~autoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-promur-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/promur~autoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-promur-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",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "AutoScout24 links",
            "type": "array",
            "description": "One per line, from any AutoScout24 country site (autoscout24.de, .at, .it, .fr, .nl, .be, .es, .lu, .com):<br>• a <b>search results page with a make</b> - run a search on the site with any filters (make, model, price, year, mileage, fuel, postcode + radius, private / dealer, a dealer's ID ...) and paste its link, e.g. <code>https://www.autoscout24.de/lst/bmw/x5?pricefrom=20000</code>. The link must contain a make (<code>…/lst/&lt;make&gt;/…</code>): the sites' robots.txt does not allow searches without one.<br>• one dealer's cars of a make: <code>https://www.autoscout24.de/lst/audi?cid=&lt;dealer id&gt;</code><br>• a <b>listing</b>, e.g. <code>https://www.autoscout24.it/annunci/...</code> - build a watchlist from listing links (all sites except autoscout24.de, whose robots.txt does not allow listing pages)",
            "items": {
              "type": "string"
            }
          },
          "maxListingsPerInput": {
            "title": "Max listings per line",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listings saved per link. 0 = no limit (the whole search). In monitor mode: the maximum number of changes saved per link.",
            "default": 0
          },
          "splitLargeSearches": {
            "title": "Get more than 4,000 per search",
            "type": "boolean",
            "description": "AutoScout24 shows at most 4,000 results (200 pages) per search. With this on, a larger search is read in price ranges until every listing is reached. Listings with no price (price on request) are only included from the first page.",
            "default": true
          },
          "includeDetails": {
            "title": "Listing details",
            "type": "boolean",
            "description": "Opens each listing page and adds the full description, equipment list, body type, colour, doors, seats, previous owners, accident-free, service history, emission class, next inspection, all photos, net price and VAT, AutoScout24's market median price, listing date and the dealer's coordinates. One extra page per saved listing (slower). No extra charge. Not on autoscout24.de, whose robots.txt does not allow listing pages (rows keep the search data).",
            "default": false
          },
          "onlyChanges": {
            "title": "Change monitor: only new listings, price changes and sold cars",
            "type": "boolean",
            "description": "Return only listings that are new, changed price or left the search (sold, deleted or no longer matching) since your previous run with the same feed name. Unchanged listings are skipped and cost nothing. The first run returns every listing (your baseline). Ideal for daily or hourly schedules.",
            "default": false
          },
          "watchChanges": {
            "title": "Changes to report (monitor mode)",
            "type": "array",
            "description": "Which changes are saved in monitor mode. Example: pick only <i>Price drops</i> for a price-drop alert on a search. Removed listings are reported when the whole search was read (no per-line limit hit).",
            "items": {
              "type": "string",
              "enum": [
                "new",
                "price-drop",
                "price-rise",
                "removed"
              ],
              "enumTitles": [
                "New listings",
                "Price drops",
                "Price rises",
                "Sold / removed listings"
              ]
            },
            "default": [
              "new",
              "price-drop",
              "price-rise",
              "removed"
            ]
          },
          "feedName": {
            "title": "Feed name (for monitor mode)",
            "type": "string",
            "description": "Keeps separate memories for separate monitors. Runs with the same feed name compare against each other. Stored in your own account (key-value store <code>autoscout24-scraper-state</code>).",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}