{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Kleinanzeigen Cars Scraper · 5,000 Free Cars/Month",
    "description": "Kleinanzeigen Cars Scraper gets you Kleinanzeigen data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — used cars with price, mileage, year, power, fuel & seller. 💰 $1 per 1,000 cars, no start fee. Scrape your first 5,000 cars free every month 🚀",
    "version": "0.0",
    "x-build-id": "VdTkWli2euQNct7aQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~kleinanzeigen-cars-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-kleinanzeigen-cars-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/omkar-cloud~kleinanzeigen-cars-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-kleinanzeigen-cars-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/omkar-cloud~kleinanzeigen-cars-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-kleinanzeigen-cars-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": {
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Car make, by name: porsche, BMW, mercedes_benz, volkswagen, audi, tesla …"
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Car model as Kleinanzeigen names it (needs a make): 911, 3er, golf, a4, model_3 …"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, districts or 5-digit postal codes — each is searched separately. Rows carry a `search_location` field. Leave empty to search all of Germany.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Radius",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Search radius around each location, in km."
          },
          "searchQueries": {
            "title": "Extra Keywords",
            "type": "array",
            "description": "Optional keywords matched in the listing text, e.g. a trim or feature — each is searched separately. Rows carry a `query` field.",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "kleinanzeigen.de listing URLs (or listing IDs) to scrape directly, one row each, always with full details (billed at the detailed rate). Rows carry an `input_url` field.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in EUR."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in EUR."
          },
          "minYear": {
            "title": "First Registration From",
            "minimum": 1910,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest first-registration year."
          },
          "maxYear": {
            "title": "First Registration To",
            "minimum": 1910,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest first-registration year."
          },
          "minMileage": {
            "title": "Min Mileage",
            "minimum": 0,
            "maximum": 2000000,
            "type": "integer",
            "description": "Minimum mileage in km."
          },
          "maxMileage": {
            "title": "Max Mileage",
            "minimum": 0,
            "maximum": 2000000,
            "type": "integer",
            "description": "Maximum mileage in km."
          },
          "minPower": {
            "title": "Min Power",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Minimum power in PS (hp)."
          },
          "maxPower": {
            "title": "Max Power",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum power in PS (hp)."
          },
          "fuel": {
            "title": "Fuel",
            "enum": [
              "",
              "petrol",
              "diesel",
              "hybrid",
              "electric",
              "cng",
              "lpg",
              "other"
            ],
            "type": "string",
            "description": "Fuel type.",
            "default": ""
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "",
              "automatic",
              "manual"
            ],
            "type": "string",
            "description": "Gearbox type.",
            "default": ""
          },
          "bodyType": {
            "title": "Body Type",
            "enum": [
              "",
              "small_car",
              "sedan",
              "estate",
              "convertible",
              "suv",
              "van",
              "coupe",
              "other"
            ],
            "type": "string",
            "description": "Body type.",
            "default": ""
          },
          "color": {
            "title": "Colour",
            "enum": [
              "",
              "beige",
              "blue",
              "brown",
              "yellow",
              "gold",
              "grey",
              "green",
              "orange",
              "red",
              "black",
              "silver",
              "purple",
              "white",
              "other"
            ],
            "type": "string",
            "description": "Exterior colour.",
            "default": ""
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "undamaged",
              "damaged"
            ],
            "type": "string",
            "description": "Undamaged or damaged vehicles.",
            "default": ""
          },
          "sellerType": {
            "title": "Seller Type",
            "enum": [
              "",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Only private sellers or only dealers.",
            "default": ""
          },
          "hasPhotos": {
            "title": "With Photos Only",
            "type": "boolean",
            "description": "Only cars with at least one photo.",
            "default": false
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "price_asc",
              "price_desc",
              "distance"
            ],
            "type": "string",
            "description": "Order of the results. Nearest first needs a location.",
            "default": ""
          },
          "includeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Also open every listing for its full record: seller name, phone number (when shown), member-since date, satisfaction / friendliness / reliability badges, view count, legal notice and last-edit time. Billed at the detailed rate.",
            "default": false
          },
          "maxResultsPerSearch": {
            "title": "Max Results per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum cars to scrape for each search. Kleinanzeigen serves the first 10,000 results of a search. This is your cost cap: 1,000 results cost what 1,000 cars cost.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}