{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Monitor - 8 Countries, Deals, Price Drops",
    "description": "Used-car listings from AutoScout24 in Germany, Austria, Belgium, Spain, France, Italy, Luxembourg and the Netherlands, with a deal score vs comparable cars, new cars, price drops, re-posted and sold cars, cross-border price gaps and a dealer & model report. No login.",
    "version": "0.1",
    "x-build-id": "4p00oli1mI5eX5aXV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apt_squirrel~autoscout24-market-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apt_squirrel-autoscout24-market-monitor",
        "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/apt_squirrel~autoscout24-market-monitor/runs": {
      "post": {
        "operationId": "runs-sync-apt_squirrel-autoscout24-market-monitor",
        "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/apt_squirrel~autoscout24-market-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-apt_squirrel-autoscout24-market-monitor",
        "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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "AutoScout24 markets to search. Pick several to compare prices across borders.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "BE",
                "ES",
                "FR",
                "IT",
                "LU",
                "NL"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Belgium",
                "Spain",
                "France",
                "Italy",
                "Luxembourg",
                "Netherlands"
              ]
            },
            "default": [
              "DE"
            ]
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Required. As AutoScout24 writes it in its links, e.g. toyota, volkswagen, mercedes-benz, bmw."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Optional. As in AutoScout24 links, e.g. corolla, golf, c-klasse, 3er. A model the site does not know is reported in the log."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "type": "integer",
            "description": "First registration from (year)."
          },
          "yearTo": {
            "title": "First registration to (year)",
            "type": "integer",
            "description": "First registration to (year)."
          },
          "priceFromEur": {
            "title": "Price from (EUR)",
            "type": "integer",
            "description": "Price from (EUR)."
          },
          "priceToEur": {
            "title": "Price to (EUR)",
            "type": "integer",
            "description": "Price to (EUR)."
          },
          "mileageToKm": {
            "title": "Mileage up to (km)",
            "type": "integer",
            "description": "Mileage up to (km)."
          },
          "fuelType": {
            "title": "Fuel",
            "enum": [
              "petrol",
              "diesel",
              "hybrid",
              "hybrid-diesel",
              "electric",
              "lpg",
              "cng"
            ],
            "type": "string",
            "description": "Fuel."
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "manual",
              "automatic"
            ],
            "type": "string",
            "description": "Gearbox."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "private",
              "dealer"
            ],
            "type": "string",
            "description": "Empty = both."
          },
          "powerFromHp": {
            "title": "Power from (HP)",
            "type": "integer",
            "description": "Power from (HP)."
          },
          "extraSearches": {
            "title": "More searches (JSON)",
            "type": "array",
            "description": "Track several models in one run: [{\"make\": \"bmw\", \"model\": \"3er\", \"yearFrom\": 2018}, {\"make\": \"skoda\", \"model\": \"octavia\", \"fuelType\": \"diesel\"}]. Each runs in every chosen country.",
            "default": []
          },
          "searchUrls": {
            "title": "Or paste search links",
            "type": "array",
            "description": "AutoScout24 list links with your filters, with a make in the path (https://www.autoscout24.de/lst/bmw/3er?...). Links without a make are skipped, as the site's robots.txt asks.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max cars per search and country",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Newest first. Sold cars are only reported when a search fits in this limit.",
            "default": 400
          },
          "includeDamaged": {
            "title": "Include damaged cars",
            "type": "boolean",
            "description": "AutoScout24 hides cars marked as damaged by default. Turn on to include them (they are kept out of the market price).",
            "default": false
          },
          "deliverableOnly": {
            "title": "Only cars with home delivery",
            "type": "boolean",
            "description": "Only cars with home delivery.",
            "default": false
          },
          "excludePromoted": {
            "title": "Skip sponsored listings",
            "type": "boolean",
            "description": "Skip sponsored listings.",
            "default": false
          },
          "minDealScore": {
            "title": "Only deals with score at least",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "50 = market price, 75 = about 10% below comparable cars, 88+ = 15%+ below. Flagged and suspiciously low listings score 60 at most."
          },
          "onlyChanges": {
            "title": "Monitor: only new and changed cars",
            "type": "boolean",
            "description": "For scheduled runs: after the first run, return only new cars, price drops, price rises and re-posted cars (plus sold cars).",
            "default": false
          },
          "includeRemoved": {
            "title": "Report sold / removed cars",
            "type": "boolean",
            "description": "Report sold / removed cars.",
            "default": true
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Runs with the same name share their history."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}