{
  "openapi": "3.0.1",
  "info": {
    "title": "MINI Configurator Data — Prices & Options for 22 Markets",
    "description": "Extract MINI configurator data — prices, colors, rims, upholstery and option packages — from 22 national markets (ES, DE, FR, IT, GB + 17 more). No proxies needed.",
    "version": "0.1",
    "x-build-id": "X6kIsyKbUSu7Kzb3m"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~mini-configurator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-mini-configurator-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/rastriq~mini-configurator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-mini-configurator-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/rastriq~mini-configurator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-mini-configurator-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": {
          "countries": {
            "title": "🌍 Markets",
            "uniqueItems": true,
            "type": "array",
            "description": "Select one or more MINI national markets. Each market returns <b>local pricing in the local currency context</b>.<br><br>💡 <b>Tip:</b> Start with 1–2 markets for a quick test. Add more once you've validated the output.",
            "items": {
              "type": "string",
              "enum": [
                "es",
                "de",
                "fr",
                "it",
                "gb",
                "pt",
                "nl",
                "be",
                "at",
                "ch",
                "se",
                "dk",
                "fi",
                "ie",
                "cz",
                "hu",
                "ro",
                "sk",
                "mx",
                "br",
                "au",
                "jp",
                "pl"
              ],
              "enumTitles": [
                "🇪🇸 Spain",
                "🇩🇪 Germany",
                "🇫🇷 France",
                "🇮🇹 Italy",
                "🇬🇧 United Kingdom",
                "🇵🇹 Portugal",
                "🇳🇱 Netherlands",
                "🇧🇪 Belgium",
                "🇦🇹 Austria",
                "🇨🇭 Switzerland",
                "🇸🇪 Sweden",
                "🇩🇰 Denmark",
                "🇫🇮 Finland",
                "🇮🇪 Ireland",
                "🇨🇿 Czech Republic",
                "🇭🇺 Hungary",
                "🇷🇴 Romania",
                "🇸🇰 Slovakia",
                "🇲🇽 Mexico",
                "🇧🇷 Brazil",
                "🇦🇺 Australia",
                "🇯🇵 Japan",
                "🇵🇱 Poland"
              ]
            },
            "default": [
              "es"
            ]
          },
          "modelRanges": {
            "title": "🚗 Model ranges",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by MINI model range. Leave empty to extract <b>all models available in each market</b>.<br><br>Common codes:<br>• <code>F65</code> — MINI Hatch 5-door<br>• <code>F66</code> — MINI Convertible<br>• <code>J01</code> — MINI Cooper Electric<br>• <code>U25</code> — MINI Aceman<br><br>💡 Leave empty on first run to discover all available ranges in your target market.",
            "items": {
              "type": "string",
              "enum": [
                "F65",
                "F66",
                "F67",
                "J01",
                "J05",
                "U25"
              ],
              "enumTitles": [
                "F65 — MINI Hatch 5-door",
                "F66 — MINI Convertible",
                "F67 — MINI 5-door Hatch (var.)",
                "J01 — MINI Cooper Electric",
                "J05 — MINI Countryman",
                "U25 — MINI Aceman"
              ]
            },
            "default": []
          },
          "maxModels": {
            "title": "🔢 Max models per market",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of model variants to process <b>per market</b>. Set to <code>1</code> for a quick test run.<br><br>• <b>0</b> — no limit (full run, all models)<br>• <b>1</b> — single model, ideal for testing<br>• <b>3–5</b> — representative sample<br><br>A full market run (all models, all trims) typically produces 15–30 items.",
            "default": 0
          },
          "includeImages": {
            "title": "🖼️ Include image URLs",
            "type": "boolean",
            "description": "Include walkaround image URLs for each configuration. No extra processing time required.",
            "default": true
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Number of parallel requests <b>per market</b>. Keep at 2 or below for optimal performance.<br><br>• <b>1</b> — slowest, safest<br>• <b>2</b> — recommended default<br>• <b>3</b> — fastest (may cause timeouts on large runs)",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}