{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper — EU Cars, Dealer Leads & Monitor (MCP)",
    "description": "AutoScout24 cars from 8 EU markets (DE AT IT ES FR BE NL LU): full specs, photos + dealer phone numbers, and a built-in monitor for new cars, price drops & removed ads. Beats the 4 000-per-query cap. $0.4 per 1 000 cars.",
    "version": "0.0",
    "x-build-id": "qfGh1PXHFXIq7TxYz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/amygraphics~autoscout24-eu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-amygraphics-autoscout24-eu-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/amygraphics~autoscout24-eu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-amygraphics-autoscout24-eu-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/amygraphics~autoscout24-eu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-amygraphics-autoscout24-eu-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "monitor"
            ],
            "type": "string",
            "description": "search = extract every matching car. monitor = compare with the previous run and return only what is new, changed (price drops included), or gone — perfect for a daily schedule.",
            "default": "search"
          },
          "countries": {
            "title": "Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more AutoScout24 markets. Switzerland (autoscout24.ch) is a separate site and is not covered.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "IT",
                "ES",
                "FR",
                "BE",
                "NL",
                "LU"
              ]
            },
            "default": [
              "DE"
            ]
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Optional. Car brand exactly as AutoScout24 spells it, e.g. BMW, Mercedes-Benz, Volkswagen, Renault, Fiat.",
            "default": ""
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Optional. Needs a make. AutoScout24 model codes: 3er, golf, a4, clio, 500, punto…",
            "default": ""
          },
          "priceMin": {
            "title": "Min price (€)",
            "type": "integer",
            "description": "Optional. Minimum price.",
            "default": null
          },
          "priceMax": {
            "title": "Max price (€)",
            "type": "integer",
            "description": "Optional. Maximum price — also the first splitting dimension when a search is capped.",
            "default": null
          },
          "kmMin": {
            "title": "Min mileage (km)",
            "type": "integer",
            "description": "Optional.",
            "default": null
          },
          "kmMax": {
            "title": "Max mileage (km)",
            "type": "integer",
            "description": "Optional.",
            "default": null
          },
          "yearMin": {
            "title": "First registration from (year)",
            "type": "integer",
            "description": "Optional, e.g. 2018.",
            "default": null
          },
          "yearMax": {
            "title": "First registration to (year)",
            "type": "integer",
            "description": "Optional, e.g. 2023.",
            "default": null
          },
          "powerMin": {
            "title": "Min power (hp)",
            "type": "integer",
            "description": "Optional.",
            "default": null
          },
          "powerMax": {
            "title": "Max power (hp)",
            "type": "integer",
            "description": "Optional.",
            "default": null
          },
          "fuel": {
            "title": "Fuel",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Leave empty for all fuels.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "electric",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol"
              ]
            },
            "default": []
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers have company name + phone numbers. Private sellers are often cheaper.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "any",
              "automatic",
              "manual"
            ],
            "type": "string",
            "description": "AutoScout24 ignores this filter in the URL, so the Actor applies it itself to the collected cars.",
            "default": "any"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "newest",
              "price_asc",
              "price_desc",
              "mileage_asc",
              "year_desc"
            ],
            "type": "string",
            "description": "Order of the search (monitor mode always uses 'newest').",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max cars to return",
            "minimum": 1,
            "maximum": 300000,
            "type": "integer",
            "description": "Global cap on rows returned (and charged).",
            "default": 200
          },
          "autoSplit": {
            "title": "Auto-split when a search is truncated",
            "type": "boolean",
            "description": "Recommended. AutoScout24 cuts every search at 4 000 cars without warning; the Actor splits such searches by price → first-registration year → mileage and merges the results.",
            "default": true
          },
          "fetchDetails": {
            "title": "Fetch detail pages (description, GPS, WhatsApp, HSN/TSN)",
            "type": "boolean",
            "description": "Adds the seller's full description, exact coordinates, WhatsApp number and the HSN/TSN codes. Dealer phones, specs and photos already come without it.",
            "default": false
          },
          "includeImages": {
            "title": "Include photos",
            "type": "boolean",
            "description": "Up to 25 high-resolution photo URLs per car (800×600).",
            "default": true
          },
          "onlyChanges": {
            "title": "Monitor: keep unchanged cars out of the output",
            "type": "boolean",
            "description": "Monitor mode only. Unchanged cars are not returned and not charged.",
            "default": true
          },
          "detectClosed": {
            "title": "Monitor: detect removed / sold ads",
            "type": "boolean",
            "description": "Monitor mode only. Cars that disappeared from the marketplace are returned once with changeType='closed', then forgotten. Only when the scan was complete and error-free.",
            "default": true
          },
          "stateKey": {
            "title": "Monitor state key (advanced)",
            "type": "string",
            "description": "Leave empty: derived from your search scope, so each search keeps its own history.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}