{
  "openapi": "3.0.1",
  "info": {
    "title": "mobile.de Scraper & API: Car Listings, Prices & Dealers",
    "description": "Scrape mobile.de cars without login: make, model, price, year, mileage, fuel, gearbox, body, seller, place and radius filters or URLs. Price rating, seller phone and rating, HSN / TSN, photos; optional description, equipment, dealer address and hours. Price-drop monitoring.",
    "version": "0.1",
    "x-build-id": "XAhHhAp9lNflLQ1i8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/s_actors~mobile-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-s_actors-mobile-de-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/s_actors~mobile-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-s_actors-mobile-de-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/s_actors~mobile-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-s_actors-mobile-de-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": {
          "makeModels": {
            "title": "Make and model",
            "type": "array",
            "description": "Cars to search, one per line: a make (\"BMW\") or a make with a model as written on mobile.de (\"BMW 3er\", \"Volkswagen Golf\", \"Mercedes-Benz C-Klasse\", \"Tesla Model 3\", \"Audi A4\"). One search per line with the filters below. Empty = all makes.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Cars per search or URL",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum cars for each make / model line and each search URL. mobile.de lists at most 2 000 cars per search: above that the Actor splits the search by price on its own (up to 50 000).",
            "default": 100
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars priced at or above this amount."
          },
          "priceTo": {
            "title": "Price up to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars priced at or below this amount."
          },
          "yearFrom": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Only cars first registered in this year or later."
          },
          "yearTo": {
            "title": "First registration up to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Only cars first registered in this year or earlier."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with at least this mileage."
          },
          "mileageTo": {
            "title": "Mileage up to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with at most this mileage."
          },
          "powerFromKw": {
            "title": "Power from (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with at least this engine power in kW (1 kW = 1.36 hp)."
          },
          "powerToKw": {
            "title": "Power up to (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with at most this engine power in kW."
          },
          "fuelTypes": {
            "title": "Fuel",
            "type": "array",
            "description": "Only these fuel types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "electric",
                "hybrid-petrol",
                "hybrid-diesel",
                "lpg",
                "cng",
                "hydrogen",
                "ethanol",
                "other"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Hybrid (electric / petrol)",
                "Hybrid (electric / diesel)",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "transmission": {
            "title": "Gearbox",
            "enum": [
              "all",
              "automatic",
              "manual",
              "semi-automatic"
            ],
            "type": "string",
            "description": "Automatic, manual or semi-automatic gearbox.",
            "default": "all"
          },
          "bodyTypes": {
            "title": "Body type",
            "type": "array",
            "description": "Only these body types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "small-car",
                "sedan",
                "station-wagon",
                "suv",
                "coupe",
                "convertible",
                "van",
                "other"
              ],
              "enumTitles": [
                "Small car",
                "Sedan",
                "Station wagon (estate)",
                "SUV / off-road / pick-up",
                "Sports car / coupe",
                "Convertible / roadster",
                "Van / minibus",
                "Other"
              ]
            }
          },
          "condition": {
            "title": "New or used",
            "enum": [
              "all",
              "used",
              "new"
            ],
            "type": "string",
            "description": "Used cars only, new cars only, or both.",
            "default": "all"
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "all",
              "dealer",
              "private",
              "company"
            ],
            "type": "string",
            "description": "Dealers only, private sellers only, companies selling their own cars, or all.",
            "default": "all"
          },
          "priceRatingFilter": {
            "title": "Price rating",
            "enum": [
              "all",
              "very-good",
              "good",
              "fair",
              "increased",
              "high",
              "none"
            ],
            "type": "string",
            "description": "mobile.de's own rating of the price against the market.",
            "default": "all"
          },
          "location": {
            "title": "Place",
            "type": "string",
            "description": "Cars near this German postcode or city (for example 10115, Hamburg, 80331 München). Set a radius below."
          },
          "radiusKm": {
            "title": "Radius around the place (km)",
            "enum": [
              "0",
              "10",
              "20",
              "50",
              "100",
              "200",
              "500"
            ],
            "type": "string",
            "description": "Only cars within this distance of the place.",
            "default": "0"
          },
          "listedWithinDays": {
            "title": "Listed in the last (days)",
            "enum": [
              "",
              "1",
              "3",
              "7",
              "14"
            ],
            "type": "string",
            "description": "Only cars put online in the last 1, 3, 7 or 14 days.",
            "default": ""
          },
          "undamagedOnly": {
            "title": "Without accident damage",
            "type": "boolean",
            "description": "Leave out damaged cars.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "price-asc",
              "price-desc",
              "mileage-asc",
              "year-desc"
            ],
            "type": "string",
            "description": "Order of the results (it decides which cars come first when you take fewer than the search has).",
            "default": "relevance"
          },
          "startUrls": {
            "title": "mobile.de URLs",
            "type": "array",
            "description": "Search URLs copied from your browser with your filters already set (suchen.mobile.de/fahrzeuge/search.html?... or suchen.mobile.de/auto/bmw.html), or ad URLs (.../auto-inserat/...html) or ad IDs. A search URL gives its cars, an ad URL gives one row with all details. The filters above do not apply to URLs. Only cars are covered.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Add ad details",
            "type": "boolean",
            "description": "Open every ad page: full description, equipment list, all technical attributes (consumption, CO2, emission sticker, owners, colour, interior...), every photo and the dealer data (address, phones, opening hours). Charged per ad with details; slower.",
            "default": false
          },
          "onlyChanges": {
            "title": "Only new cars and price changes",
            "type": "boolean",
            "description": "The first run returns all cars and saves their prices. Every later run of the same search returns only new cars and cars whose price changed, with the previous price, the change and the change in %. Schedule the Actor (for example daily) to track the market.",
            "default": false
          },
          "priceDropsOnly": {
            "title": "Price drops only",
            "type": "boolean",
            "description": "Like the option above, but each later run returns only the cars that got cheaper. The first run saves the prices and returns nothing.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keeps the saved prices apart for different schedules of the same search."
          },
          "maxConcurrency": {
            "title": "Parallel connections",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many German residential connections work at the same time (1-4). Each one opens a browser once; more = faster big runs, more browser sessions charged.",
            "default": 2
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Log every request retry and price split.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}