{
  "openapi": "3.0.1",
  "info": {
    "title": "Mobile.de Listings Scraper - Car Prices, Price Rating & Dealers",
    "description": "Scrape mobile.de vehicle listings by search URL or filters: price, price rating, mileage, first registration, fuel, gearbox, power, dealer name, phone and GPS. Full details add-on. Splits searches past 2,000. Monitor mode returns only new listings and price drops.",
    "version": "0.1",
    "x-build-id": "OAlUobroT5kuDIvDT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~mobile-de-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-mobile-de-listings-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/topapi~mobile-de-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-mobile-de-listings-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/topapi~mobile-de-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-mobile-de-listings-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": "mobile.de URLs",
            "type": "array",
            "description": "Search pages (filter on mobile.de, copy the URL), listing pages or dealer pages, e.g. https://suchen.mobile.de/fahrzeuge/search.html?vc=Car&ms=3500;;; - URLs replace the make/model/filter fields.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "query": {
            "title": "Keywords",
            "type": "string",
            "description": "Free-text search, the same as mobile.de's search box, e.g. \"golf gti\", \"amg line\", \"camper\". Combines with the fields below."
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "One make, or several separated by commas, e.g. \"Volkswagen\", \"BMW, Audi\", \"Mercedes-Benz\". VW and Mercedes work too."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model or series of that make, e.g. \"Golf\", \"3er\" or \"3 Series\", \"C-Klasse\", \"X5\". Used when exactly one make is set."
          },
          "category": {
            "title": "Vehicle type",
            "enum": [
              "CAR",
              "MOTORBIKE",
              "MOTORHOME",
              "VAN",
              "TRUCK_OVER_7500",
              "BUS",
              "TRAILER",
              "SEMI_TRAILER",
              "SEMI_TRAILER_TRUCK",
              "CONSTRUCTION_MACHINE",
              "AGRICULTURAL_VEHICLE",
              "FORKLIFT_TRUCK"
            ],
            "type": "string",
            "description": "Which part of mobile.de to search. Applies to the make / model / keyword search; pasted URLs keep their own.",
            "default": "CAR"
          },
          "priceMin": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Lowest gross price in euros, e.g. 5000."
          },
          "priceMax": {
            "title": "Price up to (EUR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Highest gross price in euros, e.g. 25000."
          },
          "yearMin": {
            "title": "First registration from",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Earliest first-registration year, e.g. 2018."
          },
          "yearMax": {
            "title": "First registration up to",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Latest first-registration year, e.g. 2022."
          },
          "mileageMax": {
            "title": "Mileage up to (km)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Highest mileage in kilometres, e.g. 100000."
          },
          "fuelTypes": {
            "title": "Fuel",
            "type": "array",
            "description": "One or more fuel types; empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "PETROL",
                "DIESEL",
                "ELECTRIC",
                "HYBRID",
                "HYBRID_DIESEL",
                "LPG",
                "CNG",
                "HYDROGEN",
                "ETHANOL",
                "OTHER"
              ],
              "enumTitles": [
                "Petrol",
                "Diesel",
                "Electric",
                "Hybrid (petrol/electric)",
                "Hybrid (diesel/electric)",
                "LPG",
                "Natural gas (CNG)",
                "Hydrogen",
                "Ethanol",
                "Other"
              ]
            }
          },
          "transmission": {
            "title": "Gearbox",
            "type": "array",
            "description": "One or more gearbox types; empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "MANUAL_GEAR",
                "AUTOMATIC_GEAR",
                "SEMI_AUTOMATIC_GEAR"
              ],
              "enumTitles": [
                "Manual",
                "Automatic",
                "Semi-automatic"
              ]
            }
          },
          "bodyTypes": {
            "title": "Body type (cars)",
            "type": "array",
            "description": "Car body types as mobile.de groups them; empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "SALOON",
                "ESTATE_CAR",
                "SMALL_CAR",
                "SUV",
                "SPORTS_CAR",
                "CABRIO",
                "VAN",
                "OTHER"
              ],
              "enumTitles": [
                "Saloon / sedan",
                "Estate car",
                "Small car",
                "SUV / off-road / pickup",
                "Sports car / coupe",
                "Convertible / roadster",
                "Van / minibus",
                "Other"
              ]
            }
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "DEALER",
              "PRIVATE"
            ],
            "type": "string",
            "description": "Leave empty for both."
          },
          "damageStatus": {
            "title": "Damaged vehicles",
            "enum": [
              "EXCLUDE",
              "ANY",
              "ONLY"
            ],
            "type": "string",
            "description": "mobile.de hides damaged vehicles unless you ask for them.",
            "default": "EXCLUDE"
          },
          "zipCode": {
            "title": "Location",
            "type": "string",
            "description": "German or Austrian postal code, a town, or \"lat,lon\", e.g. \"10115\", \"München\", \"48.14,11.58\". Searches within the radius below."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Distance around the location, e.g. 50. Only used with a location.",
            "default": 50
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "price_asc",
              "price_desc",
              "mileage_asc",
              "mileage_desc",
              "registration_desc",
              "registration_asc",
              "oldest"
            ],
            "type": "string",
            "description": "Order mobile.de returns listings in. Pick \"Newest listings first\" for schedules.",
            "default": "relevance"
          },
          "searchParams": {
            "title": "More mobile.de filters",
            "type": "string",
            "description": "Any other mobile.de search parameters, copied from a search URL, e.g. \"pw=110:&ecol=BLACK&con=USED\" (power from 110 kW, black, used)."
          },
          "priceRatings": {
            "title": "Price rating",
            "type": "array",
            "description": "Keep only listings with these mobile.de price ratings, e.g. Very good + Good. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "VERY_GOOD_PRICE",
                "GOOD_PRICE",
                "REASONABLE_PRICE",
                "INCREASED_PRICE",
                "HIGH_PRICE",
                "NO_RATING"
              ],
              "enumTitles": [
                "Very good price",
                "Good price",
                "Fair price",
                "Increased price",
                "High price",
                "No rating"
              ]
            }
          },
          "includeKeywords": {
            "title": "Title must contain",
            "type": "string",
            "description": "Comma-separated words; a listing is kept when its title or subtitle contains any of them, e.g. \"pano, ahk\"."
          },
          "excludeKeywords": {
            "title": "Title must not contain",
            "type": "string",
            "description": "Comma-separated words that drop a listing, e.g. \"motorschaden, defekt, export\"."
          },
          "postedWithinDays": {
            "title": "Listed within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only listings first published in the last N days, e.g. 3. With \"Newest listings first\" the run stops reading at the first older page. 0 = any age."
          },
          "includeDetails": {
            "title": "Include full listing details",
            "type": "boolean",
            "description": "Adds description, equipment list, accident-free / roadworthy, trim, dealer street address, opening hours, languages and the AI summary. One extra request per listing.",
            "default": false
          },
          "monitorMode": {
            "title": "Only new and changed listings",
            "type": "boolean",
            "description": "Return listings not seen before (NEW) and ones whose price, mileage, price rating or title changed (PRICE_DROP, PRICE_INCREASE, CHANGED). Pairs with a daily schedule.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor memory name",
            "type": "string",
            "description": "Named key-value store that remembers listings between runs. Use a different name per independent watch list.",
            "default": "mobile-de-listings-monitor"
          },
          "reportRemoved": {
            "title": "Report removed listings",
            "type": "boolean",
            "description": "With monitoring: also return a REMOVED row for each listing that left a search since the last complete run (sold or taken down).",
            "default": false
          },
          "maxResults": {
            "title": "Max listings",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Most listings to return in this run. mobile.de shows 2,000 per search; past that the run walks the search by price. 0 = no limit.",
            "default": 100
          },
          "maxResultsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap for each search URL separately, e.g. 200 per URL. 0 = no per-search cap.",
            "default": 0
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Core fields only (title, price, rating, mileage, registration, fuel, gearbox, power, seller, location) - sized for AI agents and MCP.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Default: direct connection first, Apify Proxy only for a refused request. Pick a proxy group or your own proxies to always use them.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Pages read at the same time, 1-10.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}