{
  "openapi": "3.0.1",
  "info": {
    "title": "mobile.de Scraper – Car Listings, Prices, Dealers & Specs",
    "description": "Scrape mobile.de car listings: price, price rating, mileage, year, power, fuel, dealer name & phone, images, equipment. Filters, PLZ radius, URLs. No browser, fast.",
    "version": "1.0",
    "x-build-id": "5liISJ7G1CtyqQTTP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ninhothedev~mobile-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ninhothedev-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/ninhothedev~mobile-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ninhothedev-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/ninhothedev~mobile-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ninhothedev-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": {
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Vehicle make, e.g. BMW, Volkswagen (VW), Mercedes-Benz, Audi, Tesla. Leave empty to search all makes (or when using Start URLs)."
          },
          "model": {
            "title": "Model or model series",
            "type": "string",
            "description": "Model name as on mobile.de: a series like '3er' / '3 Series', 'Golf', 'A-Klasse', or an exact model like '320', 'Model 3'. Unknown names are used as a free-text model filter."
          },
          "modelDescription": {
            "title": "Model description contains (keyword)",
            "type": "string",
            "description": "Optional free-text filter on the model description, e.g. 'M Sport', 'Touring', 'GTI'."
          },
          "vehicleType": {
            "title": "Vehicle type",
            "enum": [
              "Car",
              "Motorbike",
              "Motorhome",
              "VanUpTo7500",
              "TruckOver7500"
            ],
            "type": "string",
            "description": "Vehicle category to search.",
            "default": "Car"
          },
          "priceMin": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in EUR."
          },
          "priceMax": {
            "title": "Price up to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in EUR."
          },
          "yearMin": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Earliest year of first registration, e.g. 2018."
          },
          "yearMax": {
            "title": "First registration up to (year)",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Latest year of first registration."
          },
          "mileageMin": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum mileage in km."
          },
          "mileageMax": {
            "title": "Mileage up to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum mileage in km."
          },
          "powerMinPs": {
            "title": "Power from (PS / hp)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum engine power in PS (hp)."
          },
          "powerMaxPs": {
            "title": "Power up to (PS / hp)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum engine power in PS (hp)."
          },
          "fuel": {
            "title": "Fuel type",
            "type": "array",
            "description": "One or more fuel types (empty = all).",
            "items": {
              "type": "string",
              "enum": [
                "PETROL",
                "DIESEL",
                "ELECTRICITY",
                "HYBRID",
                "HYBRID_DIESEL",
                "LPG",
                "CNG",
                "HYDROGENIUM",
                "ETHANOL",
                "OTHER"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Hybrid (petrol/electric)",
                "Hybrid (diesel/electric)",
                "LPG",
                "CNG",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "transmission": {
            "title": "Transmission",
            "type": "array",
            "description": "Gearbox type(s) (empty = all).",
            "items": {
              "type": "string",
              "enum": [
                "MANUAL_GEAR",
                "AUTOMATIC_GEAR",
                "SEMIAUTOMATIC_GEAR"
              ],
              "enumTitles": [
                "Manual",
                "Automatic",
                "Semi-automatic"
              ]
            }
          },
          "bodyType": {
            "title": "Body type",
            "type": "array",
            "description": "Body type(s) for cars (empty = all).",
            "items": {
              "type": "string",
              "enum": [
                "Limousine",
                "EstateCar",
                "OffRoad",
                "SmallCar",
                "SportsCar",
                "Cabrio",
                "Van",
                "OtherCar"
              ],
              "enumTitles": [
                "Saloon / sedan",
                "Estate / wagon",
                "SUV / off-road / pickup",
                "Small car",
                "Sports car / coupe",
                "Convertible / roadster",
                "Van / minibus",
                "Other"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "used",
              "new"
            ],
            "type": "string",
            "description": "New or used vehicles.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Only dealers or only private sellers.",
            "default": "any"
          },
          "excludeDamaged": {
            "title": "Exclude damaged vehicles",
            "type": "boolean",
            "description": "Hide vehicles listed as damaged.",
            "default": false
          },
          "zip": {
            "title": "Postal code (PLZ)",
            "type": "string",
            "description": "Search around this postal code, e.g. 80331 (Munich). Combine with radius."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Search radius around the postal code in km.",
            "default": 50
          },
          "zipCountry": {
            "title": "Postal code country",
            "type": "string",
            "description": "ISO country of the postal code (DE, AT, NL, BE, FR, IT, ...).",
            "default": "DE"
          },
          "country": {
            "title": "Vehicle location country",
            "type": "string",
            "description": "Only vehicles located in this country (ISO code, e.g. DE). Empty = all countries listed on mobile.de."
          },
          "startUrls": {
            "title": "Start URLs (search or ad URLs)",
            "type": "array",
            "description": "Paste mobile.de search result URLs (all filters are kept) and/or ad URLs (…/auto-inserat/…/123456789.html or details.html?id=…). Ad URLs always return full details. When Start URLs are given, the filter fields above are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance",
              "price_asc",
              "price_desc",
              "mileage_asc",
              "mileage_desc",
              "year_desc",
              "year_asc",
              "power_desc"
            ],
            "type": "string",
            "description": "Result order. 'Newest' is ideal for monitoring new listings.",
            "default": "newest"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of vehicles to return (0 = unlimited). Searches with more than 2,000 hits are split automatically by price to go beyond mobile.de's 2,000-result limit.",
            "default": 20
          },
          "includeDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Fetch each ad's detail page: full equipment list, description, previous owners, consumption/CO2, interior, dealer rating details, AI summary. Charged as an extra event.",
            "default": false
          },
          "language": {
            "title": "Language of labels",
            "enum": [
              "en",
              "de"
            ],
            "type": "string",
            "description": "Language of text values (fuel, transmission, body type, features).",
            "default": "en"
          },
          "maxConcurrency": {
            "title": "Max concurrency (details)",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Parallel detail requests.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. By default the actor connects directly and automatically falls back to Apify datacenter, then German residential proxies if mobile.de blocks."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}