{
  "openapi": "3.0.1",
  "info": {
    "title": "Classic-Trader Scraper — Premium Classic Cars",
    "description": "Scrape classic car listings from Classic-Trader.com, a premium European marketplace for collector vehicles. Extract price, make, model, year, condition, dealer info, and photos. Ideal for classic car valuation, market tracking, and investment analysis.",
    "version": "0.0",
    "x-build-id": "WY7rH0kL4IFwb54E2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~classic-trader-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-classic-trader-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~classic-trader-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-classic-trader-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~classic-trader-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-classic-trader-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": {
          "brand": {
            "title": "Brand",
            "enum": [
              "",
              "abarth",
              "ac",
              "alfa-romeo",
              "allard",
              "alpina",
              "alpine",
              "alvis",
              "amc",
              "armstrong-siddeley",
              "aston-martin",
              "auburn",
              "audi",
              "austin",
              "austin-healey",
              "autobianchi",
              "bentley",
              "bizzarrini",
              "bmw",
              "bond",
              "borgward",
              "bricklin",
              "bristol",
              "bugatti",
              "buick",
              "cadillac",
              "caterham",
              "chevrolet",
              "chrysler",
              "cisitalia",
              "citroen",
              "cord",
              "daf",
              "daimler",
              "datsun",
              "de-tomaso",
              "delage",
              "delahaye",
              "delorean",
              "desoto",
              "dodge",
              "donkervoort",
              "duesenberg",
              "facel-vega",
              "ferrari",
              "fiat",
              "ford",
              "frazer-nash",
              "ginetta",
              "glas",
              "gordon-keeble",
              "healey",
              "hillman",
              "hispano-suiza",
              "honda",
              "horch",
              "hotchkiss",
              "hudson",
              "humber",
              "hummer",
              "innocenti",
              "iso",
              "isotta-fraschini",
              "jaguar",
              "jeep",
              "jensen",
              "jowett",
              "kaiser",
              "kieft",
              "koenigsegg",
              "lagonda",
              "lamborghini",
              "lancia",
              "land-rover",
              "lea-francis",
              "lincoln",
              "lister",
              "lola",
              "lotus",
              "maserati",
              "maybach",
              "mazda",
              "mclaren",
              "mercedes-benz",
              "mercury",
              "mg",
              "mini",
              "mitsubishi",
              "monteverdi",
              "morgan",
              "morris",
              "nash-healey",
              "nissan",
              "nsu",
              "oldsmobile",
              "opel",
              "packard",
              "pagani",
              "panhard",
              "panther",
              "peugeot",
              "pierce-arrow",
              "plymouth",
              "pontiac",
              "porsche",
              "railton",
              "reliant",
              "renault",
              "riley",
              "rolls-royce",
              "rover",
              "ruf",
              "saab",
              "seat",
              "shelby",
              "simca",
              "singer",
              "skoda",
              "standard",
              "studebaker",
              "stutz",
              "subaru",
              "sunbeam",
              "talbot",
              "talbot-lago",
              "tatra",
              "toyota",
              "trabant",
              "triumph",
              "tvr",
              "vauxhall",
              "volkswagen",
              "volvo",
              "wartburg",
              "westfield",
              "wiesmann",
              "willys",
              "wolseley"
            ],
            "type": "string",
            "description": "Select a brand to filter listings. Choose <b>(All brands)</b> to use a Category filter or scrape the full catalogue.<br><br>If the brand you need is not in the list, you can type its slug directly — e.g. <code>de-tomaso</code>, <code>facel-vega</code>. Slugs follow the URL pattern: <code>classic-trader.com/uk/cars/search/{slug}</code>",
            "default": "porsche"
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "american-classics",
              "british-classics",
              "french-classics",
              "german-classic-cars",
              "italian-classics",
              "japan-classic-cars",
              "classic-convertibles",
              "classic-race-cars",
              "classic-roadster",
              "mercedes-benz-gullwing",
              "mercedes-benz-pagoda",
              "mille-miglia",
              "muscle-cars",
              "pre-war-cars",
              "vintage-cars"
            ],
            "type": "string",
            "description": "Search within a curated category page. Mutually exclusive with Brand — if both are filled, Category takes priority.<br><br>Use this when you want a cross-brand segment (e.g. all Muscle Cars, all Pre-War cars).",
            "default": ""
          },
          "year_min": {
            "title": "Year from",
            "minimum": 1886,
            "maximum": 2030,
            "type": "integer",
            "description": "Earliest production year to include. Leave empty for no lower bound.<br><br>Example: <code>1960</code> includes all cars built from 1960 onwards."
          },
          "year_max": {
            "title": "Year to",
            "minimum": 1886,
            "maximum": 2030,
            "type": "integer",
            "description": "Latest production year to include. Leave empty for no upper bound.<br><br>Example: <code>1979</code> excludes cars built after 1979."
          },
          "locale": {
            "title": "Region",
            "enum": [
              "uk",
              "de",
              "ch",
              "at",
              "au",
              "fr",
              "es",
              "nl",
              "it"
            ],
            "type": "string",
            "description": "Regional version of Classic-Trader to scrape.<br><br><b>UK</b> returns English labels and GBP prices — widest English-language coverage. Switch region to capture local inventory or local-currency prices.",
            "default": "uk"
          },
          "max_items": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum listings to write to the dataset.<br><br>Start with <b>15</b> for a quick test (1 page, ~30 sec). Raise to <b>500–2000</b> for full market snapshots.",
            "default": 15
          },
          "max_pages": {
            "title": "Max pages (optional cap)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on pages fetched (15 results per page). Leave empty to paginate until <i>Max results</i> or end of results.<br><br>Tip: set to <code>1</code> for a fast single-page test without touching Max results."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. <b>Residential proxies recommended</b> for runs above ~200 items. Datacenter proxies may get rate-limited at scale."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}