{
  "openapi": "3.0.1",
  "info": {
    "title": "MeinAuto.de Scraper – Germany New & Used Cars with Rates",
    "description": "Scrape new and used cars from the MeinAuto.de marketplace (Germany): cash price, leasing, financing or Vario monthly rate for your term, km and down payment, specs, mileage, first registration, equipment and dealer. Filter by make, model, fuel, body, rate and postcode.",
    "version": "0.1",
    "x-build-id": "KX0eFDvEinWAvXmZ4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sn41lz~meinauto-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sn41lz-meinauto-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/sn41lz~meinauto-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sn41lz-meinauto-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/sn41lz~meinauto-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sn41lz-meinauto-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": "Makes",
            "type": "array",
            "description": "Car makes, e.g. 'Volkswagen', 'Skoda', 'BMW', 'Mercedes-Benz', 'CUPRA'. Leave empty for all makes.",
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models",
            "type": "array",
            "description": "Optional models, e.g. 'Octavia', 'Golf', 'T-Roc', 'ID.3', 'X1', 'Kuga'.",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "New or used",
            "enum": [
              "any",
              "new",
              "used"
            ],
            "type": "string",
            "description": "New cars, used cars (incl. pre-registered, demo and employee cars) or both.",
            "default": "any"
          },
          "financeProduct": {
            "title": "Rate type",
            "enum": [
              "any",
              "leasing",
              "financing",
              "vario"
            ],
            "type": "string",
            "description": "Which monthly rate to calculate: leasing, financing or Vario financing (balloon). 'Site default' keeps the rate MeinAuto.de shows for each car and includes cars without a leasing offer.",
            "default": "any"
          },
          "customerType": {
            "title": "Customer type",
            "enum": [
              "private",
              "business"
            ],
            "type": "string",
            "description": "Rates for private customers (incl. VAT) or business customers.",
            "default": "private"
          },
          "termMonths": {
            "title": "Term (months)",
            "minimum": 12,
            "maximum": 60,
            "type": "integer",
            "description": "Contract term the rate is calculated for, 12–60 months. Empty = each car's default."
          },
          "mileagePerYearKm": {
            "title": "Km per year",
            "minimum": 5000,
            "maximum": 60000,
            "type": "integer",
            "description": "Yearly mileage the rate is calculated for, e.g. 10000, 15000, 20000. Empty = each car's default."
          },
          "downPayment": {
            "title": "Down payment (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Down payment (Anzahlung) the rate is calculated for, e.g. 0. Empty = 1,000 € like the site."
          },
          "fuel": {
            "title": "Fuel",
            "enum": [
              "petrol",
              "diesel",
              "electric",
              "plugInHybrid",
              "lpg",
              "cng"
            ],
            "type": "string",
            "description": "Only cars with this fuel."
          },
          "bodyType": {
            "title": "Body type",
            "enum": [
              "suv",
              "sedan",
              "estate",
              "compact",
              "small",
              "van",
              "convertible",
              "sports",
              "commercial"
            ],
            "type": "string",
            "description": "Only cars with this body type."
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "manual",
              "automatic"
            ],
            "type": "string",
            "description": "Only cars with this gearbox."
          },
          "minMonthlyRate": {
            "title": "Min monthly rate (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with a monthly rate at or above this."
          },
          "maxMonthlyRate": {
            "title": "Max monthly rate (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars with a monthly rate at or below this."
          },
          "maxMileageKm": {
            "title": "Max mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Used cars with at most this many km."
          },
          "minYear": {
            "title": "First registered from (year)",
            "minimum": 1990,
            "type": "integer",
            "description": "Used cars first registered in or after this year."
          },
          "zipCode": {
            "title": "Postcode (PLZ)",
            "type": "string",
            "description": "Optional German postcode to search around, e.g. '10115' (Berlin), '80331' (Munich), '50667' (Cologne)."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "type": "integer",
            "description": "Distance around the postcode: 25, 50, 100, 150, 200, 250, 300 or 500 km (other values are rounded to the nearest). Default 50.",
            "default": 50
          },
          "startUrls": {
            "title": "MeinAuto.de search URLs (optional)",
            "type": "array",
            "description": "Or paste MeinAuto.de vehicle searches, e.g. https://www.meinauto.de/fahrzeugsuche/?makes=BMW&conditionCategories=PRE_OWNED",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many cars in total. 0 = no limit.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: MeinAuto.de pages load fine without a proxy. Set one only if you see blocked requests in the log."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}