{
  "openapi": "3.0.1",
  "info": {
    "title": "Bid.cars Scraper — Vehicle Auction Data Extractor",
    "description": "Export complete vehicle auction data from bid.cars: VIN, specs, damage, odometer, seller, title, pricing, images, video and sales history.",
    "version": "1.0",
    "x-build-id": "pEQyKLQUFC1rVtQSM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wdnameless~bid-cars-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wdnameless-bid-cars-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/wdnameless~bid-cars-scraper/runs": {
      "post": {
        "operationId": "runs-sync-wdnameless-bid-cars-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/wdnameless~bid-cars-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-wdnameless-bid-cars-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "Search filters",
              "Specific URLs",
              "Finished auctions"
            ],
            "type": "string",
            "description": "Quick preset. 'Search filters' builds a search from the fields below; 'Specific URLs' scrapes the pages listed in Start URLs; 'Finished auctions' searches the archive of sold/ended lots.",
            "default": "Search filters"
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Manufacturer, e.g. Honda, Toyota, Ford. Leave as All for every make.",
            "default": "All"
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model, e.g. Civic, Camry. Leave as All for every model.",
            "default": "All"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional post-filter on title, VIN, lot, seller or damage text (e.g. a VIN fragment or seller name). Leave empty for no filtering."
          },
          "vehicleType": {
            "title": "Vehicle type",
            "enum": [
              "Automobile",
              "Motorcycle",
              "ATV",
              "Personal Watercraft",
              "Snowmobile",
              "Boat",
              "Trailer",
              "Travel Trailer",
              "Motor Home",
              "Emergency Equipment",
              "Heavy Equipment",
              "Farm Equipment",
              "Forestry Equipment",
              "Bus",
              "Truck"
            ],
            "type": "string",
            "description": "Category of vehicle to search.",
            "default": "Automobile"
          },
          "auction": {
            "title": "Auction",
            "enum": [
              "All",
              "Copart",
              "IAAI"
            ],
            "type": "string",
            "description": "bid.cars aggregates two salvage auctions. All searches both.",
            "default": "All"
          },
          "yearFrom": {
            "title": "Year from",
            "minimum": 1900,
            "maximum": 2027,
            "type": "integer",
            "description": "Earliest model year, e.g. 2018.",
            "default": 1900
          },
          "yearTo": {
            "title": "Year to",
            "minimum": 1900,
            "maximum": 2027,
            "type": "integer",
            "description": "Latest model year, e.g. 2026.",
            "default": 2027
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Used only when 'What to scrape' is 'Specific URLs'. Paste bid.cars search pages or individual lot pages.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "URL",
                  "type": "string",
                  "description": "A bid.cars search or lot URL."
                }
              }
            }
          },
          "maxItems": {
            "title": "How many vehicles",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum vehicles to export. Start with 10-50 to check your filters; empty means everything the search matches (large runs take a long time).",
            "default": 20
          },
          "fullDetails": {
            "title": "Full lot details",
            "type": "boolean",
            "description": "ON: open every lot page — full specs, photos, video, sales history, import cost. OFF: listings only, much faster but leaner.",
            "default": true
          },
          "advanced": {
            "title": "Advanced filters",
            "type": "object",
            "description": "Optional: mileage, price, engine, color, transmission, drive, start condition, ordering.",
            "properties": {
              "exteriorColor": {
                "title": "Exterior color",
                "type": "string",
                "description": "Exterior color, e.g. Gray. Use All for every color.",
                "default": "All"
              },
              "transmission": {
                "title": "Transmission",
                "type": "string",
                "description": "All, Automatic or Manual."
              },
              "driveType": {
                "title": "Drive type",
                "type": "string",
                "description": "All, FWD, RWD or AWD."
              },
              "startCode": {
                "title": "Start condition",
                "type": "string",
                "description": "All, Stationary, Starts or Run and Drive."
              },
              "odometerFrom": {
                "title": "Mileage from (mi)",
                "type": "integer",
                "description": "Minimum odometer reading in miles."
              },
              "odometerTo": {
                "title": "Mileage to (mi)",
                "type": "integer",
                "description": "Maximum odometer reading in miles."
              },
              "estimatedMin": {
                "title": "Price from ($)",
                "type": "integer",
                "description": "Minimum estimated price in USD."
              },
              "estimatedMax": {
                "title": "Price to ($)",
                "type": "integer",
                "description": "Maximum estimated price in USD."
              },
              "engineSizeFrom": {
                "title": "Engine size from (L)",
                "type": "number",
                "description": "Minimum engine displacement in liters."
              },
              "engineSizeTo": {
                "title": "Engine size to (L)",
                "type": "number",
                "description": "Maximum engine displacement in liters."
              },
              "engineHpFrom": {
                "title": "Horsepower from",
                "type": "integer",
                "description": "Minimum engine power in horsepower."
              },
              "engineHpTo": {
                "title": "Horsepower to",
                "type": "integer",
                "description": "Maximum engine power in horsepower."
              },
              "engineType": {
                "title": "Engine type",
                "type": "string",
                "description": "I, V, W, B."
              },
              "orderBy": {
                "title": "Order by",
                "type": "string",
                "description": "date or estimated-min."
              }
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy. Residential is preselected — bid.cars challenges busy datacenter IPs. Accounts without residential access: switch the group to AUTOMATED_DATACENTER or SHADER.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "proxyUrls": {
            "title": "Own proxies (optional)",
            "type": "array",
            "description": "Your own proxies instead of Apify Proxy: host:port:user:pass or full URLs, one per line. Keeps the run off your Apify proxy allowance.",
            "items": {
              "type": "string"
            }
          },
          "proxyListKey": {
            "title": "Proxy list Key-Value Store key (optional)",
            "type": "string",
            "description": "Name of a Key-Value Store record holding the proxy list, so credentials stay out of the run input."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}