{
  "openapi": "3.0.1",
  "info": {
    "title": "mobile.de Scraper | $0.80 per 1k Cars | Dealers & Specs",
    "description": "Scrape car listings from mobile.de, Germany's largest car marketplace: price, price rating, make, model, first registration, mileage, power, fuel, gearbox, dealer name and rating, photos. Filters or any search URL, optional full specs. Never a silent empty run.",
    "version": "0.1",
    "x-build-id": "amku83Yx1jGdOOaja"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidrows~mobile-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidrows-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/solidrows~mobile-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidrows-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/solidrows~mobile-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidrows-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": {
          "startUrls": {
            "title": "mobile.de search URLs",
            "type": "array",
            "description": "One or more mobile.de search result URLs. Open suchen.mobile.de, set any filters (make, model, price, year, mileage, fuel, location, dealer or private seller) and copy the URL of the results page. Listing URLs (details.html?id=...) are also accepted: each is saved with full details and costs one listing plus one listing-details event. Leave empty to search all cars with the filters below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to save across all searches. One results page holds 20 listings. Use 0 for no limit.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "Also open every listing page to get the full color name, interior, all specifications, the full equipment list, the seller's description and all photos. One extra page request per listing (extra event listing-details), so runs are slower.",
            "default": false
          },
          "excludeSponsored": {
            "title": "Skip sponsored listings",
            "type": "boolean",
            "description": "mobile.de shows a few ad blocks marked 'Gesponsert' above the results. They are skipped before saving, so you do not pay for them. Turn off to save them too (isSponsored: true, no position). Highlighted results inside the list are regular results and are always kept.",
            "default": true
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Car make as on mobile.de, e.g. BMW, Volkswagen (or VW), Mercedes-Benz, Skoda. Filters in this section are added to every search URL above; a filter replaces the same filter in the URL. Without search URLs they search all cars on mobile.de."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model name as in the mobile.de model list, e.g. Golf, 320, A4, or a series such as '3er' or 'C-Klasse'. Needs Make. The scraper looks the model up on mobile.de first (one extra page load)."
          },
          "priceMin": {
            "title": "Price from, EUR",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest car price in euro, for example 5000. Empty = no lower limit."
          },
          "priceMax": {
            "title": "Price to, EUR",
            "minimum": 0,
            "type": "integer",
            "description": "Highest car price in euro, for example 20000. Empty = no upper limit."
          },
          "yearMin": {
            "title": "First registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year of first registration, e.g. 2018."
          },
          "yearMax": {
            "title": "First registration to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year of first registration, e.g. 2022."
          },
          "mileageMax": {
            "title": "Mileage up to, km",
            "minimum": 0,
            "type": "integer",
            "description": "Highest mileage in kilometres, e.g. 100000."
          },
          "fuel": {
            "title": "Fuel",
            "enum": [
              "",
              "PETROL",
              "DIESEL",
              "ELECTRICITY",
              "HYBRID",
              "HYBRID_DIESEL",
              "LPG",
              "CNG",
              "HYDROGENIUM",
              "ETHANOL",
              "OTHER"
            ],
            "type": "string",
            "description": "Fuel type filter: PETROL, DIESEL, ELECTRICITY, HYBRID and others. Empty = any fuel.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "priceAsc",
              "priceDesc"
            ],
            "type": "string",
            "description": "Order of results. Matters when you limit the number of listings. 'mobile.de default' keeps the order from your URL.",
            "default": "relevance"
          },
          "onlyNewListings": {
            "title": "Only new listings (monitoring)",
            "type": "boolean",
            "description": "Remember listings saved by earlier runs with the same searches and filters, and save (and charge) only listings not seen before. Run it on a schedule to follow a dealer's stock or a market segment. Unless you set a sort order, results are read newest first and the scraper stops at the first page without new listings. Memory is kept in the key-value store 'mobile-de-scraper-state' in your account.",
            "default": false
          },
          "trackPriceChanges": {
            "title": "Also report price changes",
            "type": "boolean",
            "description": "Works with 'Only new listings'. Listings seen before are saved again when their price changed, with changeType 'price_changed', previousPrice, priceChange and priceChangePercent. All result pages are read on every run, so use it on focused searches.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}