{
  "openapi": "3.0.1",
  "info": {
    "title": "Copart & IAAI Sold Prices History Scraper (Final Bids)",
    "description": "Get real final bids of past Copart and IAAI auctions: sold price, sale date, VIN, lot, damage, odometer, title, location and photos. Search by make, model and year, add VIN sale history, ACV and repair estimates. Bidfax-style data via API.",
    "version": "1.0",
    "x-build-id": "f6C4bT1YInfKL2Dr8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/donzely~copart-iaai-sold-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-donzely-copart-iaai-sold-prices",
        "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/donzely~copart-iaai-sold-prices/runs": {
      "post": {
        "operationId": "runs-sync-donzely-copart-iaai-sold-prices",
        "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/donzely~copart-iaai-sold-prices/run-sync": {
      "post": {
        "operationId": "run-sync-donzely-copart-iaai-sold-prices",
        "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": {
          "searches": {
            "title": "Vehicles to look up",
            "type": "array",
            "description": "One vehicle per line: make, optional model and optional year or year range, or a 17-character VIN to find that car's auction sales. Examples: \"Ford F-150 2018-2020\", \"BMW X5 2019\", \"Tesla Model 3\", \"Toyota\". Each year is a separate archive with up to 1,200 most recent auctions.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "FinalBid URLs (optional)",
            "type": "array",
            "description": "Direct finalbid.vin archive pages (make / model / year / damage / location) or individual lot pages. Any language version works.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max sold lots",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many lots are saved (you pay only for saved lots).",
            "default": 200
          },
          "maxPagesPerSearch": {
            "title": "Max pages per archive",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Each archive page has 24 lots, newest first. The archive exposes up to 50 pages (1,200 lots) per make/model/year.",
            "default": 10
          },
          "includeDetails": {
            "title": "Include full lot details",
            "type": "boolean",
            "description": "Opens every lot page to add all photos, engine, fuel, transmission, drive, colors, secondary damage, run & drive condition, ACV, estimated repair cost and the full sale history of the VIN (all previous auctions). Charged as an extra event per lot.",
            "default": false
          },
          "auctions": {
            "title": "Auctions",
            "type": "array",
            "description": "Which auction houses to include.",
            "items": {
              "type": "string",
              "enum": [
                "copart",
                "iaai"
              ],
              "enumTitles": [
                "Copart",
                "IAAI"
              ]
            },
            "default": [
              "copart",
              "iaai"
            ]
          },
          "onlySold": {
            "title": "Only sold lots",
            "type": "boolean",
            "description": "Skip lots that did not sell (minimum bid not met, on approval).",
            "default": true
          },
          "soldAfter": {
            "title": "Sold after",
            "type": "string",
            "description": "Only lots sold on or after this date. Absolute (2026-09-01) or relative (30 days, 8 weeks, 3 months)."
          },
          "minFinalBidUsd": {
            "title": "Min final bid (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only lots that sold for at least this amount."
          },
          "maxFinalBidUsd": {
            "title": "Max final bid (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only lots that sold for at most this amount."
          },
          "maxOdometerMi": {
            "title": "Max odometer (miles)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip lots with higher mileage."
          },
          "damageContains": {
            "title": "Primary damage contains",
            "type": "array",
            "description": "Keep only lots whose primary damage contains one of these words, e.g. \"Front end\", \"Hail\", \"Minor dents\".",
            "items": {
              "type": "string"
            }
          },
          "titleContains": {
            "title": "Title type contains",
            "type": "array",
            "description": "Keep only lots whose title/sale document contains one of these words, e.g. \"Clean\", \"Salvage\", \"Rebuilt\".",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is used by default for reliability.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel requests. Keep it low to be polite to the source.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}