{
  "openapi": "3.0.1",
  "info": {
    "title": "Stellantis Car Configurator Scraper",
    "description": "Scrape car models, versions, prices, and specs from all Stellantis brands (Fiat, Peugeot, Citroën, Opel, Jeep, Alfa Romeo, DS, Lancia, Abarth) across 25+ European markets via the Omnichannel API.",
    "version": "0.1",
    "x-build-id": "zgzlcGd7ZRWEEksPV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~stellantis-configurator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-stellantis-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~stellantis-configurator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-stellantis-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~stellantis-configurator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-stellantis-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": {
          "brands": {
            "title": "🚗 Brands",
            "uniqueItems": true,
            "type": "array",
            "description": "Select one or more Stellantis brands to scrape. Leave empty to scrape <b>all available brands</b>.<br><br>Each brand returns its full model catalog: model names, codes, starting prices, fuel types, trim counts, and e-commerce availability.",
            "items": {
              "type": "string",
              "enum": [
                "fiat",
                "jeep",
                "alfaromeo",
                "abarth",
                "lancia"
              ],
              "enumTitles": [
                "🇮🇹 Fiat",
                "🇺🇸 Jeep",
                "🇮🇹 Alfa Romeo",
                "🇮🇹 Abarth",
                "🇮🇹 Lancia"
              ]
            },
            "default": []
          },
          "markets": {
            "title": "🌍 Markets",
            "uniqueItems": true,
            "type": "array",
            "description": "Select one or more European markets. Each market returns <b>local pricing</b> in the country's currency, localized model names, and market-specific availability.<br><br>Leave empty to scrape <b>all 26 markets</b>.<br><br>💡 <b>Tip:</b> Not all brands are available in every market. The scraper automatically skips unavailable combinations.",
            "items": {
              "type": "string",
              "enum": [
                "ES",
                "DE",
                "FR",
                "IT",
                "GB",
                "PT",
                "NL",
                "BE",
                "AT",
                "CH",
                "PL",
                "CZ",
                "HU",
                "RO",
                "BG",
                "HR",
                "SI",
                "SK",
                "SE",
                "DK",
                "FI",
                "NO",
                "IE",
                "GR",
                "TR",
                "LU"
              ],
              "enumTitles": [
                "🇪🇸 Spain",
                "🇩🇪 Germany",
                "🇫🇷 France",
                "🇮🇹 Italy",
                "🇬🇧 United Kingdom",
                "🇵🇹 Portugal",
                "🇳🇱 Netherlands",
                "🇧🇪 Belgium",
                "🇦🇹 Austria",
                "🇨🇭 Switzerland",
                "🇵🇱 Poland",
                "🇨🇿 Czech Republic",
                "🇭🇺 Hungary",
                "🇷🇴 Romania",
                "🇧🇬 Bulgaria",
                "🇭🇷 Croatia",
                "🇸🇮 Slovenia",
                "🇸🇰 Slovakia",
                "🇸🇪 Sweden",
                "🇩🇰 Denmark",
                "🇫🇮 Finland",
                "🇳🇴 Norway",
                "🇮🇪 Ireland",
                "🇬🇷 Greece",
                "🇹🇷 Turkey",
                "🇱🇺 Luxembourg"
              ]
            },
            "default": [
              "ES"
            ]
          },
          "customerType": {
            "title": "👤 Customer type",
            "enum": [
              "PRIVATE",
              "BUSINESS"
            ],
            "type": "string",
            "description": "Choose <b>Private</b> for consumer pricing or <b>Business</b> for fleet/company pricing.<br><br>This affects the prices and available promotions returned by the configurator.",
            "default": "PRIVATE"
          },
          "requestDelay": {
            "title": "⏱️ Request delay",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Milliseconds to wait between page navigations. Lower = faster, but may trigger rate limits.<br><br>Recommended:<br>• <b>1500 ms</b> — default, safe<br>• <b>3000+ ms</b> — if experiencing errors",
            "default": 1500
          },
          "proxyConfiguration": {
            "title": "🔒 Proxy configuration",
            "type": "object",
            "description": "Optional. The scraper uses a real browser to access public configurator pages. Proxies are only needed if you experience geographic restrictions."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}