{
  "openapi": "3.0.1",
  "info": {
    "title": "CLASSIC.COM Scraper — Global Classic Car Aggregator",
    "description": "Scrape classic car listings from CLASSIC.COM (classic.com), the world's largest aggregator with 800K+ listings from auctions, dealers, and private sellers. Extract prices, sources, auction houses, and sold dates for market analysis.",
    "version": "0.0",
    "x-build-id": "jc7D9oPDgi4ve79Cz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~classic-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-classic-com-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-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-classic-com-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-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-classic-com-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": {
          "searchUrl": {
            "title": "Search URL",
            "type": "string",
            "description": "Paste a classic.com search URL directly. Build your search on <a href='https://www.classic.com/search/' target='_blank'>classic.com/search</a> using filters, year ranges (<code>1970-1985</code>), exact match (<code>\"FJ40\"</code>), exclusions (<code>-convertible</code>), OR (<code>(FJ40 OR FJ43)</code>), then copy the URL.<br><br>Examples:<br>• <code>https://www.classic.com/search/?q=land+cruiser</code><br>• <code>https://www.classic.com/search/?q=1970-1985+%22FJ40%22</code><br>• <code>https://www.classic.com/search/?q=porsche+911+-turbo</code>"
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Car manufacturer. Ignored when Search URL is set.<br>Examples: <code>porsche</code>, <code>ferrari</code>, <code>toyota</code>"
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Car model. Ignored when Search URL is set.<br>Examples: <code>911</code>, <code>250 GT</code>, <code>land cruiser</code>",
            "default": ""
          },
          "year_min": {
            "title": "Year from",
            "minimum": 1886,
            "maximum": 2030,
            "type": "integer",
            "description": "Earliest model year. Only with Make/Model — for Search URL, use year ranges in the query (e.g. <code>1970-1985</code>)."
          },
          "year_max": {
            "title": "Year to",
            "minimum": 1886,
            "maximum": 2030,
            "type": "integer",
            "description": "Latest model year. Only with Make/Model."
          },
          "max_items": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum listings to return. Start with <b>20</b> for testing. classic.com has 1M+ listings in full catalog mode.",
            "default": 100
          },
          "max_pages": {
            "title": "Max pages",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum search result pages (24 listings/page) or sitemap files to process."
          },
          "fetch_details": {
            "title": "Fetch full vehicle details",
            "type": "boolean",
            "description": "Visit each vehicle's detail page to extract 25+ fields (VIN, engine, mileage, colors, taxonomy). Disable for URL/price-only mode (~10× faster).",
            "default": true
          },
          "skip_seen": {
            "title": "Skip previously-seen vehicles",
            "type": "boolean",
            "description": "Remembers vehicle IDs across runs. Turn off for a full re-scrape.",
            "default": true
          },
          "mode": {
            "title": "Discovery mode",
            "enum": [
              "auto",
              "search",
              "sitemap"
            ],
            "type": "string",
            "description": "<b>Auto</b>: Search URL → search by Make/Model → sitemap crawl.",
            "default": "auto"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. This actor works from datacenter IPs without a proxy. Add one only if you experience blocking at high volumes."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}