{
  "openapi": "3.0.1",
  "info": {
    "title": "Mobile.de Vehicle Listings Scraper",
    "description": "Scrape Mobile.de car listings by URL or filters. Get prices, mileage, specs, equipment, photos and dealer contacts as structured used car data — export to JSON, CSV, Excel or API.",
    "version": "1.0",
    "x-build-id": "FIyGXqOw5cDH5kgfp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zapticx~mobile-de-vehicle-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zapticx-mobile-de-vehicle-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/zapticx~mobile-de-vehicle-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zapticx-mobile-de-vehicle-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/zapticx~mobile-de-vehicle-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zapticx-mobile-de-vehicle-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 search or vehicle URLs",
            "type": "array",
            "description": "Paste one or more Mobile.de URLs — search result pages or individual vehicle pages. Set the search up on mobile.de exactly how you want it, then copy the address bar. This is the most precise option: every filter Mobile.de offers works here.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free text to look for in the listing description — a trim name such as \"GTI\" or \"Avant\", for example."
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Vehicle make as Mobile.de spells it, for example \"BMW\", \"Volkswagen\" or \"Mercedes-Benz\"."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model name as Mobile.de spells it, for example \"X3\" or \"Golf\". Needs a make as well. If Mobile.de lists no such model under that make, the run continues with the make only and says so in the log."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used",
              "preRegistered",
              "employeeCar",
              "demonstration",
              "classic"
            ],
            "type": "string",
            "description": "Limit results to one vehicle condition.",
            "default": "any"
          },
          "bodyType": {
            "title": "Body type",
            "enum": [
              "any",
              "smallCar",
              "limousine",
              "estateCar",
              "suv",
              "sportsCar",
              "cabrio",
              "van",
              "other"
            ],
            "type": "string",
            "description": "Limit results to one vehicle shape.",
            "default": "any"
          },
          "fuelType": {
            "title": "Fuel type",
            "enum": [
              "any",
              "petrol",
              "diesel",
              "electric",
              "hybrid",
              "hybridDiesel",
              "lpg",
              "cng",
              "ethanol",
              "hydrogen",
              "other"
            ],
            "type": "string",
            "description": "Limit results to one fuel type.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "any",
              "automatic",
              "manual",
              "semiAutomatic"
            ],
            "type": "string",
            "description": "Limit results to one gearbox type.",
            "default": "any"
          },
          "minPrice": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest asking price to include."
          },
          "maxPrice": {
            "title": "Price up to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest asking price to include."
          },
          "minMileage": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest odometer reading to include."
          },
          "maxMileage": {
            "title": "Mileage up to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest odometer reading to include."
          },
          "minYear": {
            "title": "Registered from (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Oldest year of first registration to include."
          },
          "maxYear": {
            "title": "Registered up to (year)",
            "minimum": 1900,
            "type": "integer",
            "description": "Newest year of first registration to include."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Limit results to dealers, private sellers or company vehicles.",
            "default": "any"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "A German postal code or town to search around — \"10115\" or \"München\". Mobile.de's own location lookup resolves it, and the run log records which location was used. Pair it with a radius."
          },
          "radius": {
            "title": "Search radius",
            "enum": [
              "10",
              "20",
              "50",
              "100",
              "200",
              "500"
            ],
            "type": "string",
            "description": "How far from the location to search. Only the distances Mobile.de itself offers are available."
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "type": "integer",
            "description": "Stop once this many unique listings have been collected. Keep it low for a first test run. The form starts you at 10; omit this field in an API call and the Actor uses 100.",
            "default": 100
          },
          "includeDetails": {
            "title": "Visit each vehicle page for full details",
            "type": "boolean",
            "description": "On: also opens every vehicle page to add the full equipment list, description, all photos, VAT details, colours, emissions and the seller's name, phone and address. Off: faster and cheaper, using only what the search results show. Partial records — where a vehicle page could not be loaded — are billed at the lower search-data rate. The form starts with this on; omit it in an API call and it stays off.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel vehicle pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many vehicle pages to open at once. Higher is faster but drops more detail pages to partial records; 3 returned complete data in every test run.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Mobile.de is protected by Akamai and refuses ordinary datacentre and residential IPs. The default below is the configuration this Actor is tested against — changing it usually causes blocked runs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "UNBLOCKER"
              ],
              "apifyProxyCountry": "DE"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}