{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Scraper — Used Car Listings, 9 European Markets",
    "description": "Filter by make, model, fuel, year, mileage. Full 34-field rows incl. seller phone & address, equipment, CO2 class, AS24 price rating, price-drop flag — or compact 22-field mode for dashboards/LLM. 9 markets. Incremental: idle runs $0. FREE webhook + Telegram. $0.03/page.",
    "version": "0.12",
    "x-build-id": "j5zKzXsJHhrglXeNc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/halobartku~autoscout24-listings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-halobartku-autoscout24-listings",
        "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/halobartku~autoscout24-listings/runs": {
      "post": {
        "operationId": "runs-sync-halobartku-autoscout24-listings",
        "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/halobartku~autoscout24-listings/run-sync": {
      "post": {
        "operationId": "run-sync-halobartku-autoscout24-listings",
        "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": {
          "domain": {
            "title": "Country domain",
            "type": "string",
            "description": "AutoScout24 country: de, at, ch, fr, it, es, nl, be, pl",
            "default": "de"
          },
          "make": {
            "title": "Make (URL slug, optional)",
            "type": "string",
            "description": "URL slug of the make, e.g. bmw, audi, volkswagen. Empty = all makes."
          },
          "model": {
            "title": "Model (URL slug, optional)",
            "type": "string",
            "description": "URL slug of the model, e.g. 3er, golf, a4. Requires make. Model filters ride the URL path (/lst/bmw/3er) — verified: bmw/3er = 11,122 listings, all 316/318/320/330 variants."
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "type": "integer",
            "description": "Minimum price in EUR"
          },
          "priceTo": {
            "title": "Price to (EUR)",
            "type": "integer",
            "description": "Maximum price in EUR"
          },
          "firstRegistrationFrom": {
            "title": "First registration from (year)",
            "type": "integer",
            "description": "Earliest first-registration year, e.g. 2018. Verified live: fregfrom=2018 narrows DE from 873,074 to 694,211 listings."
          },
          "firstRegistrationTo": {
            "title": "First registration to (year)",
            "type": "integer",
            "description": "Latest first-registration year. Pair with firstRegistrationFrom for a window (2018-2020 = 91,357 listings, every result within the window)."
          },
          "mileageFromKm": {
            "title": "Mileage from (km)",
            "type": "integer",
            "description": "Minimum mileage in km, e.g. 10000. Verified live: kmfrom=10000 alone narrows DE to 238,924 listings."
          },
          "mileageToKm": {
            "title": "Mileage to (km)",
            "type": "integer",
            "description": "Maximum mileage in km. Pair with mileageFromKm for a band (10000-50000: every returned listing inside the band)."
          },
          "fuel": {
            "title": "Fuel type (code)",
            "type": "string",
            "description": "One of: B (petrol), D (diesel), E (electric), 2 (hybrid petrol), 3 (hybrid diesel), L (LPG), H (hydrogen). All 7 codes verified live by reading fuelType of returned listings (B=453,791 · D=259,072 · E=63,453 · 2=87,966 · 3=4,600 · L=2,872 · H=141).",
            "default": ""
          },
          "pages": {
            "title": "Pages to harvest",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Each page = 20 listings, charged as one event",
            "default": 2
          },
          "incremental": {
            "title": "Incremental mode (scheduled monitoring)",
            "type": "boolean",
            "description": "Remember delivered listings per query (stored in the actor's key-value store) and deliver only NEW listings plus listings that CHANGED since the last run (price, mileage, offer type, seller) — changed rows carry a changeType field and their previous values. A page where nothing is new or changed is not charged — a scheduled run with nothing to report costs $0. Turn off to always get the full listing set.",
            "default": false
          },
          "webhookUrl": {
            "title": "Webhook URL (free notifications)",
            "type": "string",
            "description": "Optional. Every finished run POSTs a JSON run summary (counts, new/changed, sample listings) to this URL — including $0 idle runs, so your pipeline gets a heartbeat. Notifications are free and never billed; delivery failures are logged and never fail the run."
          },
          "telegramBotToken": {
            "title": "Telegram bot token (free notifications)",
            "type": "string",
            "description": "Optional. Bot token from @BotFather. Messages are sent only when there is something to read: new or changed listings in incremental mode, any listings otherwise. Pair with telegramChatId. Free, fail-soft."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Optional. Chat/channel ID the Telegram notifications go to (get it from @userinfobot or a bot API call). Ignored when telegramBotToken is empty."
          },
          "compact": {
            "title": "Compact output (core fields only)",
            "type": "boolean",
            "description": "Deliver only the 22 core fields (id, price, price rating, mileage, year, fuel, gearbox, power, seller type, city) instead of the full 34-field schema. Same rows, same charges — smaller payloads for dashboards and LLM contexts. Incremental change fields (changeType, previous*) are always kept. Default false = full schema.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}