{
  "openapi": "3.0.1",
  "info": {
    "title": "Kleinanzeigen Autos Scraper - Gebrauchtwagen & Händler",
    "description": "Gebrauchtwagen von Kleinanzeigen als Tabelle: 16 Fahrzeugfilter wie Marke, Modell, Erstzulassung, Kilometerstand und PS, von Händlern und privat. Mit Verkäuferprofil und Händler-Kontakt, kompletter Händlerbestand per Link. Monitor-Modus liefert nur neue Autos.",
    "version": "0.0",
    "x-build-id": "9dMQB3n4Jyuus0u37"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clearpath~kleinanzeigen-autos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clearpath-kleinanzeigen-autos-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/clearpath~kleinanzeigen-autos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-clearpath-kleinanzeigen-autos-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/clearpath~kleinanzeigen-autos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-clearpath-kleinanzeigen-autos-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": {
          "startUrls": {
            "title": "Autosuche, Anzeigen- oder Händler-URLs",
            "maxItems": 150,
            "type": "array",
            "description": "Adressen von kleinanzeigen.de: eine Autos-Suche mit allen Filtern, eine einzelne Auto-Anzeige, ein Händler-Shop (<code>/pro/…</code>) oder der Bestand eines Verkäufers (<code>/s-bestandsliste.html?userId=…</code>). Händler- und Bestands-URLs liefern nur die Autos dieses Verkäufers. Jede Suche läuft für sich bis <b>Max. Ergebnisse</b>. Sind URLs angegeben, werden die Fahrzeugfelder unten ignoriert. Bis zu 100 Such-URLs pro Lauf.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max. Ergebnisse pro Suche",
            "minimum": 0,
            "type": "integer",
            "description": "Höchstzahl gespeicherter Inserate für <b>jede</b> Such-URL bzw. Suche. <code>0</code> speichert alle erreichbaren Treffer (über 99 %), auch bei Suchen mit mehr als 10.000 Ergebnissen. Anzeigen-URLs werden vollständig gelesen und zählen nicht mit.",
            "default": 0
          },
          "includeSellerDetails": {
            "title": "Verkäufer- und Händlerdaten",
            "type": "boolean",
            "description": "Ergänzt jedes Auto um Follower und Inseratszahlen des Verkäufers und, bei Händlern mit Shop, Website, Telefonnummern, Adresse und Öffnungszeiten des Shops.",
            "default": true
          },
          "make": {
            "title": "Marke",
            "enum": [
              "abarth",
              "aixam",
              "alfa_romeo",
              "aston_martin",
              "audi",
              "bentley",
              "bmw",
              "byd",
              "cadillac",
              "chevrolet",
              "chrysler",
              "citroen",
              "corvette",
              "cupra",
              "dacia",
              "daewoo",
              "daihatsu",
              "dodge",
              "ds",
              "ferrari",
              "fiat",
              "ford",
              "honda",
              "hyundai",
              "infiniti",
              "iveco",
              "jaguar",
              "jeep",
              "kgm",
              "kia",
              "lada",
              "lamborghini",
              "lancia",
              "land_rover",
              "lexus",
              "maserati",
              "mazda",
              "mercedes_benz",
              "mg",
              "microcar",
              "mini",
              "mitsubishi",
              "nissan",
              "opel",
              "peugeot",
              "polestar",
              "porsche",
              "renault",
              "rolls_royce",
              "rover",
              "saab",
              "seat",
              "skoda",
              "smart",
              "ssangyong",
              "subaru",
              "suzuki",
              "tesla",
              "toyota",
              "trabant",
              "triumph",
              "volkswagen",
              "volvo",
              "wartburg",
              "sonstige_autos"
            ],
            "type": "string",
            "description": "Eine Marke, wie kleinanzeigen.de sie führt."
          },
          "models": {
            "title": "Modelle",
            "type": "array",
            "description": "Ein oder mehrere Modelle der Marke, wie auf kleinanzeigen.de geschrieben, z. B. <code>3er</code>, <code>Golf</code>, <code>C-Klasse</code>. Braucht eine Marke. Ein Modell, das die Website nicht kennt, stoppt den Lauf und nennt gültige Modelle.",
            "items": {
              "type": "string"
            }
          },
          "minYear": {
            "title": "Erstzulassung ab",
            "minimum": 1910,
            "maximum": 2100,
            "type": "integer",
            "description": "Frühestes Jahr der Erstzulassung."
          },
          "maxYear": {
            "title": "Erstzulassung bis",
            "minimum": 1910,
            "maximum": 2100,
            "type": "integer",
            "description": "Spätestes Jahr der Erstzulassung."
          },
          "minMileage": {
            "title": "Kilometerstand ab",
            "minimum": 0,
            "type": "integer",
            "description": "Niedrigster Kilometerstand."
          },
          "maxMileage": {
            "title": "Kilometerstand bis",
            "minimum": 0,
            "type": "integer",
            "description": "Höchster Kilometerstand."
          },
          "minPowerPs": {
            "title": "Leistung ab",
            "minimum": 0,
            "type": "integer",
            "description": "Motorleistung in PS, wie auf kleinanzeigen.de angegeben."
          },
          "maxPowerPs": {
            "title": "Leistung bis",
            "minimum": 0,
            "type": "integer",
            "description": "Höchste Motorleistung in PS."
          },
          "fuels": {
            "title": "Kraftstoff",
            "type": "array",
            "description": "Eine oder mehrere Kraftstoffarten.",
            "items": {
              "type": "string",
              "enum": [
                "benzin",
                "diesel",
                "cng",
                "lpg",
                "hybrid",
                "elektro",
                "andere"
              ],
              "enumTitles": [
                "Benzin",
                "Diesel",
                "Erdgas (CNG)",
                "Autogas (LPG)",
                "Hybrid",
                "Elektro",
                "Andere Kraftstoffarten"
              ]
            }
          },
          "transmission": {
            "title": "Getriebe",
            "enum": [
              "automatik",
              "manuell"
            ],
            "type": "string",
            "description": "Automatik oder Schaltgetriebe."
          },
          "bodyTypes": {
            "title": "Karosserie",
            "type": "array",
            "description": "Ein oder mehrere Fahrzeugtypen.",
            "items": {
              "type": "string",
              "enum": [
                "kleinwagen",
                "limousine",
                "kombi",
                "cabrio",
                "suv",
                "bus",
                "coupe",
                "andere"
              ],
              "enumTitles": [
                "Kleinwagen",
                "Limousine",
                "Kombi",
                "Cabrio",
                "SUV/Geländewagen",
                "Van/Bus",
                "Coupé",
                "Andere Fahrzeugtypen"
              ]
            }
          },
          "doors": {
            "title": "Türen",
            "type": "array",
            "description": "Eine oder mehrere Türanzahlen.",
            "items": {
              "type": "string",
              "enum": [
                "2_3",
                "4_5",
                "6_7",
                "andere"
              ],
              "enumTitles": [
                "2/3",
                "4/5",
                "6/7",
                "Andere Türanzahl"
              ]
            }
          },
          "colors": {
            "title": "Außenfarbe",
            "type": "array",
            "description": "Eine oder mehrere Farben.",
            "items": {
              "type": "string",
              "enum": [
                "beige",
                "blau",
                "braun",
                "gelb",
                "gold",
                "grau",
                "grün",
                "orange",
                "rot",
                "schwarz",
                "silber",
                "violet",
                "weiß",
                "sonstige"
              ],
              "enumTitles": [
                "Beige",
                "Blau",
                "Braun",
                "Gelb",
                "Gold",
                "Grau",
                "Grün",
                "Orange",
                "Rot",
                "Schwarz",
                "Silber",
                "Violet",
                "Weiß",
                "Andere Farben"
              ]
            }
          },
          "interior": {
            "title": "Innenausstattung",
            "enum": [
              "volleder",
              "teilleder",
              "stoff",
              "velours",
              "alcantara",
              "andere"
            ],
            "type": "string",
            "description": "Material der Innenausstattung."
          },
          "emissionClasses": {
            "title": "Schadstoffklasse",
            "type": "array",
            "description": "Eine oder mehrere Schadstoffklassen.",
            "items": {
              "type": "string",
              "enum": [
                "euro1",
                "euro2",
                "euro3",
                "euro4",
                "euro5",
                "euro6"
              ],
              "enumTitles": [
                "Euro1",
                "Euro2",
                "Euro3",
                "Euro4",
                "Euro5",
                "Euro6"
              ]
            }
          },
          "environmentBadges": {
            "title": "Umweltplakette",
            "type": "array",
            "description": "Eine oder mehrere Umweltplaketten.",
            "items": {
              "type": "string",
              "enum": [
                "4_gruen",
                "3_yellow",
                "2_red",
                "1_none"
              ],
              "enumTitles": [
                "4 (Grün)",
                "3 (Gelb)",
                "2 (Rot)",
                "1 (Keine)"
              ]
            }
          },
          "minInspectionYear": {
            "title": "HU gültig bis mindestens",
            "enum": [
              "2026",
              "2027",
              "2028",
              "2029"
            ],
            "type": "string",
            "description": "Autos, deren nächste Hauptuntersuchung in diesem Jahr oder später fällig ist."
          },
          "damage": {
            "title": "Schaden",
            "enum": [
              "any",
              "undamaged",
              "damaged"
            ],
            "type": "string",
            "description": "Laut Angabe des Verkäufers.",
            "default": "any"
          },
          "equipment": {
            "title": "Pflicht-Ausstattung",
            "type": "array",
            "description": "Jedes gelieferte Auto hat jedes dieser Merkmale.",
            "items": {
              "type": "string",
              "enum": [
                "trailer_coupling",
                "park_assistant",
                "alluminium_rims",
                "xenon_led_light",
                "air_conditioning",
                "navi",
                "radio_tuner",
                "bluetooth",
                "handsfree_speaker",
                "sunroof",
                "seat_heating",
                "speed_control",
                "non_smoking",
                "abs",
                "full_service_history"
              ],
              "enumTitles": [
                "Anhängerkupplung",
                "Einparkhilfe",
                "Leichtmetallfelgen",
                "Xenon-/LED-Scheinwerfer",
                "Klimaanlage",
                "Navigationssystem",
                "Radio/Tuner",
                "Bluetooth",
                "Freisprecheinrichtung",
                "Schiebedach/Panoramadach",
                "Sitzheizung",
                "Tempomat",
                "Nichtraucher-Fahrzeug",
                "Antiblockiersystem (ABS)",
                "Scheckheftgepflegt"
              ]
            }
          },
          "keyword": {
            "title": "Suchbegriff",
            "type": "string",
            "description": "Wörter, die das Inserat enthalten muss, wie im Suchfeld auf kleinanzeigen.de."
          },
          "location": {
            "title": "Ort",
            "type": "string",
            "description": "Stadt, PLZ oder Bundesland, z. B. <code>Berlin</code> oder <code>80331</code>. Leer lassen für ganz Deutschland."
          },
          "radius": {
            "title": "Umkreis",
            "minimum": 0,
            "type": "integer",
            "description": "Entfernung um den Ort. Braucht einen Ort."
          },
          "minPrice": {
            "title": "Mindestpreis",
            "minimum": 0,
            "type": "integer",
            "description": "Niedrigster Angebotspreis. Inserate ohne Preis fallen weg, sobald eine Preisgrenze gesetzt ist, wie auf der Website."
          },
          "maxPrice": {
            "title": "Höchstpreis",
            "minimum": 0,
            "type": "integer",
            "description": "Höchster Angebotspreis."
          },
          "posterType": {
            "title": "Anbieter",
            "enum": [
              "ALL",
              "PRIVATE",
              "COMMERCIAL"
            ],
            "type": "string",
            "description": "Nur private Verkäufer oder nur Händler (gewerbliche Anbieter).",
            "default": "ALL"
          },
          "adType": {
            "title": "Anzeigentyp",
            "enum": [
              "ALL",
              "OFFERED",
              "WANTED"
            ],
            "type": "string",
            "description": "kleinanzeigen.de zeigt Angebote und Gesuche gemeinsam; wähle eins, um die Suche einzugrenzen.",
            "default": "ALL"
          },
          "sorting": {
            "title": "Sortierung",
            "enum": [
              "newest",
              "price_asc",
              "price_desc",
              "distance"
            ],
            "type": "string",
            "description": "Reihenfolge, in der Inserate gesammelt werden. Gilt auch für URLs ohne eigene Sortierung.",
            "default": "newest"
          },
          "monitorMode": {
            "title": "Monitor-Modus",
            "type": "boolean",
            "description": "Speichert nur Inserate, die seit dem letzten Lauf derselben Suche neu sind. Der erste Lauf merkt sich den Bestand und speichert nichts. Kombiniere ihn mit einem <a href=\"https://docs.apify.com/platform/schedules\" target=\"_blank\">Zeitplan</a>.",
            "default": false
          },
          "telegramUserId": {
            "title": "Telegram-Nutzer-ID",
            "type": "string",
            "description": "Deine numerische Telegram-Nutzer-ID, für eine Nachricht pro neuem Inserat. Schreib <a href=\"https://t.me/userinfobot\" target=\"_blank\">@userinfobot</a> auf Telegram, um sie zu erhalten."
          },
          "telegramNotificationLimit": {
            "title": "Telegram-Limit",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Höchstzahl an Telegram-Nachrichten pro Lauf.",
            "default": 10
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "type": "string",
            "description": "For AI agents. Say what you needed and did not get: a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. Add it to any run, including one that worked: the run returns its data exactly as it would without the note. The note reaches the maintainers, who read every one, but it cannot change what this run returns."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}