{
  "openapi": "3.0.1",
  "info": {
    "title": "Mobile.de Scraper — German Cars, Net Export Price & Dealers",
    "description": "Scrape Germany's #1 vehicle marketplace (mobile.de). Extracts gross & net VAT export prices, market price ratings, kW/HP, mileage, CO2/WLTP specs, equipment lists, and B2B dealer phone numbers, addresses, and GPS coordinates.",
    "version": "0.1",
    "x-build-id": "k07PjtbWVaMZkXjNZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/foxlabs~mobile-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-foxlabs-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/foxlabs~mobile-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-foxlabs-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/foxlabs~mobile-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-foxlabs-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": {
          "makes": {
            "title": "Car Makes (Brands)",
            "type": "array",
            "description": "Car brand names to search on mobile.de (e.g. ['BMW', 'Mercedes-Benz', 'Porsche', 'Audi', 'Volkswagen', 'Tesla']).",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Direct mobile.de Search URLs (Optional)",
            "type": "array",
            "description": "Paste any custom filtered https://suchen.mobile.de/fahrzeuge/search.html?... URL (supports exact model, zip radius, and custom filters).",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Direct mobile.de Vehicle Detail URLs or IDs (Optional)",
            "type": "array",
            "description": "Direct mobile.de detail URLs (https://suchen.mobile.de/fahrzeuge/details.html?id=...) or numeric listing IDs ('listing-detail').",
            "items": {
              "type": "string"
            }
          },
          "fuelType": {
            "title": "Fuel Type Filter",
            "enum": [
              "any",
              "PETROL",
              "DIESEL",
              "ELECTRICITY",
              "HYBRID",
              "HYBRID_DIESEL",
              "LPG"
            ],
            "type": "string",
            "description": "Optional fuel / powertrain filter.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission Filter",
            "enum": [
              "any",
              "AUTOMATIC_GEAR",
              "MANUAL_GEAR",
              "SEMIAUTOMATIC_GEAR"
            ],
            "type": "string",
            "description": "Optional gearbox filter.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller Type Filter",
            "enum": [
              "any",
              "DEALER",
              "PRIVATE"
            ],
            "type": "string",
            "description": "Filter between commercial Auto Dealers ('DEALER') and Private sellers ('PRIVATE').",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "relevance",
              "newest",
              "price_asc",
              "price_desc",
              "mileage_asc"
            ],
            "type": "string",
            "description": "Listing sort order on mobile.de.",
            "default": "relevance"
          },
          "priceMinEur": {
            "title": "Minimum Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum gross price in EUR."
          },
          "priceMaxEur": {
            "title": "Maximum Price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum gross price in EUR."
          },
          "yearMin": {
            "title": "Minimum First Registration Year",
            "minimum": 1900,
            "maximum": 2030,
            "type": "integer",
            "description": "Optional minimum registration year (e.g. 2020)."
          },
          "mileageMaxKm": {
            "title": "Maximum Mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional maximum mileage in kilometers (e.g. 100000)."
          },
          "includeDetails": {
            "title": "Enrich Full Vehicle Detail Page (Net Export VAT Price, Equipment, KBA & Dealer Address/GPS)",
            "type": "boolean",
            "description": "Visits each vehicle's detail page to extract net VAT-deductible export price, 6-tier market price thresholds, KBA HSN/TSN codes, full equipment features[], and complete dealer street address, GPS coordinates, languages & opening hours ('listing-detail' event). Note: search mode already includes dealer phone numbers!",
            "default": false
          },
          "maxListingsPerSearch": {
            "title": "Max Vehicles per Make / Search URL",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum unique vehicles extracted per make or search URL (~24 vehicles per page).",
            "default": 24
          },
          "maxTotalListings": {
            "title": "Max Total Vehicles (Run Cap)",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Hard ceiling on total billable vehicle records emitted across the entire run.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Automatically uses anti-bot unblocking out of the box.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}