{
  "openapi": "3.0.1",
  "info": {
    "title": "Copart Salvage Auction Lots Scraper & New-Lot Export (No Login)",
    "description": "Export open Copart salvage lots: make, model, year, damage, repair cost vs retail value, current high bid, buy-now, yard, seller. Monitor new lots and price moves. No account needed.",
    "version": "0.0",
    "x-build-id": "KpJ0oBINVzK1HP9t9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapebench~copart-salvage-auction-lots-export/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapebench-copart-salvage-auction-lots-export",
        "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/scrapebench~copart-salvage-auction-lots-export/runs": {
      "post": {
        "operationId": "runs-sync-scrapebench-copart-salvage-auction-lots-export",
        "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/scrapebench~copart-salvage-auction-lots-export/run-sync": {
      "post": {
        "operationId": "run-sync-scrapebench-copart-salvage-auction-lots-export",
        "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": "Mode",
            "enum": [
              "export",
              "monitor"
            ],
            "type": "string",
            "description": "Export: every open lot your search matches. Monitor: the same search, but only lots that are new since this search's last run, or whose high bid or buy-now price moved, each with change_type. Schedule a monitor daily for a new-lots feed; its first run returns every lot as new.",
            "default": "export"
          },
          "queries": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional, one search per line, matched the way Copart's own search box matches (honda civic, f150 4x4, a lot number). Every word in a line must match. Each line is its own search; a lot found by two is returned once. Empty means every open lot that passes the filters below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Keyword (single)",
            "type": "string",
            "description": "One search, for saved tasks and API calls that send a single value. Use the list above for several."
          },
          "makes": {
            "title": "Makes",
            "type": "array",
            "description": "Copart make names, one per line (Toyota, Honda, Ford). Any of them matches.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models",
            "type": "array",
            "description": "Copart model or model-group names, one per line (Camry, F150, Civic). Any of them matches. Best with a make.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "yearFrom": {
            "title": "Year from",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Oldest model year to include."
          },
          "yearTo": {
            "title": "Year to",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Newest model year to include."
          },
          "damageTypes": {
            "title": "Primary damage",
            "type": "array",
            "description": "One per line, any of them matches: All Over, Biohazard/Chemical, Burn, Burn - Engine, Burn - Interior, Damage History, Frame Damage, Front End, Hail, Mechanical, Minor Dent/Scratches, Missing/Altered VIN, Normal Wear, Partial Repair, Rear End, Rejected Repair, Replaced VIN, Rollover, Side, Stripped, Top/Roof, Undercarriage, Unknown, Vandalism, Water/Flood. Other values are ignored with a free note.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleTypes": {
            "title": "Title type",
            "type": "array",
            "description": "One per line, any of them matches: Clean, Salvage, Non-Repairable (Copart's title groups).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "vehicleTypes": {
            "title": "Vehicle type",
            "type": "array",
            "description": "One per line, any of them matches: Automobiles, SUVs, Pickup Trucks, Motorcycle, ATVs, Boats, Bus, Construction Equipment, Dirt Bikes, Heavy Duty Trucks, Industrial Equipment, Jet Skis, Medium Duty Box Trucks, RVs, Snowmobile, Trailers, Agriculture and Farm Equipment.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States or provinces",
            "type": "array",
            "description": "Two-letter codes of the yard's state or province, one per line (CA, TX, FL, ON). Any of them matches.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "yards": {
            "title": "Yards",
            "type": "array",
            "description": "Copart yard names exactly as Copart writes them, one per line (CA - SUN VALLEY, TX - HOUSTON). Any of them matches.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "saleDateFrom": {
            "title": "Sale date from",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "YYYY-MM-DD. Only lots whose auction is on or after this day (UTC). Lots not yet scheduled have no sale date and drop out when this is set."
          },
          "saleDateTo": {
            "title": "Sale date to",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "YYYY-MM-DD. Only lots whose auction is on or before this day (UTC)."
          },
          "maxOdometer": {
            "title": "Maximum odometer",
            "minimum": 1,
            "type": "integer",
            "description": "Only lots with an odometer reading up to this many miles."
          },
          "buyNowOnly": {
            "title": "Buy It Now only",
            "type": "boolean",
            "description": "Only lots with a Buy It Now price.",
            "default": false
          },
          "runAndDriveOnly": {
            "title": "Run and Drive only",
            "type": "boolean",
            "description": "Only lots Copart lists as Run and Drive.",
            "default": false
          },
          "insuranceSellersOnly": {
            "title": "Insurance-company sellers only",
            "type": "boolean",
            "description": "Only lots consigned by insurance companies (Copart's own seller-type filter). Every row also carries insurance_seller either way.",
            "default": false
          },
          "sellers": {
            "title": "Sellers",
            "type": "array",
            "description": "Seller company names, one per line (State Farm, GEICO, USAA, Allstate, Farmers). A name matches sellers that start with it. Any of them matches. Copart filters on the seller even where its lot page does not name it, so seller_name can be empty on a row this filter matched.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum lots per search",
            "minimum": 1,
            "maximum": 500000,
            "type": "integer",
            "description": "Cap for EACH keyword line (or for the whole filter set when no keyword is given), in Copart's order: soonest sale first. In Monitor mode it is how many lots are watched; only the new or changed ones among them are returned.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Off by default. If a run comes back with a 'blocked' row, turn on a proxy. Included in the price.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}