{
  "openapi": "3.0.1",
  "info": {
    "title": "mobile.de Scraper: Cars, Vans, Trucks & Dealer Data",
    "description": "Scrape mobile.de vehicle listings across cars, vans, trucks, trailers, buses and machinery. Get price with market rating, mileage, first registration, power, fuel, seller and finance offers. Add full listing details with dealer GPS when you need them.",
    "version": "1.0",
    "x-build-id": "IoK6TnjQXU2zveeZm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~mobile-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-mobile-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/sian.agency~mobile-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-mobile-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/sian.agency~mobile-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-mobile-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": {
          "operation": {
            "title": "🎯 What do you want to scrape?",
            "enum": [
              "listing",
              "detail"
            ],
            "type": "string",
            "description": "🔎 **Search listings** reads mobile.de result pages for a category, keyword, make or pasted search URL. 📋 **Listing details** reads full listing pages for URLs you give it. Detail pages carry the description, equipment, all photos and dealer GPS.",
            "default": "listing"
          },
          "searchUrl": {
            "title": "🔗 mobile.de search URL",
            "pattern": "^$|^https://(suchen|www)\\.mobile\\.de/.*$",
            "type": "string",
            "description": "🔗 **OPTIONAL:** Paste a search from mobile.de to use its filters exactly. Leave empty to build the search from the fields below. A pasted URL wins over category, keyword, make and filters. Used by Search listings."
          },
          "category": {
            "title": "🚛 Vehicle category",
            "enum": [
              "VanUpTo7500",
              "TruckOver7500",
              "SemiTrailerTruck",
              "SemiTrailer",
              "Trailer",
              "Bus",
              "ConstructionMachine",
              "AgriculturalVehicle",
              "ForkliftTruck",
              "Car",
              "Motorbike",
              "Motorhome",
              "EBike"
            ],
            "type": "string",
            "description": "🚛 **CATEGORY:** Which part of mobile.de to search. Vans & trucks up to 7.5 t is the default; trucks, tractors, trailers, buses, machinery and cars are one click away. Ignored when you paste a search URL.",
            "default": "VanUpTo7500"
          },
          "query": {
            "title": "🔑 Keyword",
            "type": "string",
            "description": "🔑 **KEYWORD:** Free text, for example Sprinter 314 or Golf GTI. Matches the way mobile.de search does. Leave empty to browse the whole category."
          },
          "make": {
            "title": "🏭 Make",
            "type": "string",
            "description": "🏭 **MAKE:** Manufacturer name as mobile.de writes it, for example Mercedes-Benz, MAN, Volkswagen or Iveco. A name mobile.de does not know stops the run before any charge."
          },
          "priceMin": {
            "title": "💶 Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "💶 **PRICE FROM:** Lowest asking price in EUR."
          },
          "priceMax": {
            "title": "💶 Price up to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "💶 **PRICE UP TO:** Highest asking price in EUR."
          },
          "yearMin": {
            "title": "📅 Registered from (year)",
            "minimum": 1950,
            "maximum": 2030,
            "type": "integer",
            "description": "📅 **FROM YEAR:** Earliest first registration year."
          },
          "yearMax": {
            "title": "📅 Registered up to (year)",
            "minimum": 1950,
            "maximum": 2030,
            "type": "integer",
            "description": "📅 **UP TO YEAR:** Latest first registration year."
          },
          "mileageMax": {
            "title": "🛣️ Mileage up to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "🛣️ **MAX MILEAGE:** Highest odometer reading in km."
          },
          "fuelType": {
            "title": "⛽ Fuel",
            "enum": [
              "any",
              "PETROL",
              "DIESEL",
              "ELECTRICITY",
              "HYBRID",
              "HYBRID_DIESEL",
              "LPG",
              "CNG",
              "HYDROGENIUM"
            ],
            "type": "string",
            "description": "⛽ **FUEL:** Limit results to one fuel type.",
            "default": "any"
          },
          "transmission": {
            "title": "⚙️ Transmission",
            "enum": [
              "any",
              "MANUAL_GEAR",
              "AUTOMATIC_GEAR",
              "SEMIAUTOMATIC_GEAR"
            ],
            "type": "string",
            "description": "⚙️ **GEARBOX:** Limit results to one gearbox type.",
            "default": "any"
          },
          "condition": {
            "title": "✨ Condition",
            "enum": [
              "any",
              "NEW",
              "USED"
            ],
            "type": "string",
            "description": "✨ **CONDITION:** New vehicles, used vehicles, or both.",
            "default": "any"
          },
          "sellerType": {
            "title": "🤝 Seller",
            "enum": [
              "any",
              "DEALER",
              "FSBO"
            ],
            "type": "string",
            "description": "🤝 **SELLER:** Dealer stock only, private sellers only, or both.",
            "default": "any"
          },
          "sortBy": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "newest",
              "priceAsc",
              "priceDesc",
              "mileageAsc",
              "registrationNewest"
            ],
            "type": "string",
            "description": "↕️ **SORT:** Newest first is the right choice for scheduled monitoring: fresh listings land on page 1.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "🔢 Maximum listings",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "🔢 **LIMIT:** Save up to this many unique listings. mobile.de serves up to about 100 pages of 20 per search, so split bigger jobs by make, price band or year. Free plans save at most 25.",
            "default": 20
          },
          "enrichment": {
            "title": "📋 Add details to search results",
            "enum": [
              "none",
              "dealer",
              "full"
            ],
            "type": "string",
            "description": "📋 **EXTRAS:** Search results carry price, specs and seller basics. Dealer data adds address and GPS and reads one page per unique dealer. Full details add description, equipment and photos and read one page per listing. Each page read is billed as a listing detail.",
            "default": "none"
          },
          "detailUrls": {
            "title": "📋 Listing URLs",
            "type": "array",
            "description": "📋 **DETAIL URLs:** Used by Listing details. Add mobile.de listing links as {\"url\":\"…\"} objects. Links like details.html?id=… and …/auto-inserat/…/123456.html both work.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}