{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoTempest Scraper",
    "description": "Scrape AutoTempest: used cars from Cars.com, eBay Motors, Carvana, TrueCar, CarsDirect, Cars & Bids, Hemmings and more in one run. VIN, price, mileage, dealer, title status, price history and price drops, days on market. Every filter, nationwide or by ZIP.",
    "version": "1.0",
    "x-build-id": "ooWuTP18oxqet0PhR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/normdata~autotempest-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-normdata-autotempest-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/normdata~autotempest-scraper/runs": {
      "post": {
        "operationId": "runs-sync-normdata-autotempest-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/normdata~autotempest-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-normdata-autotempest-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": {
          "maxItems": {
            "title": "Maximum cars",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many cars in total. Leave empty for no limit (every matching car on every source). The Apify Free plan is always capped at 10."
          },
          "vehicles": {
            "title": "Vehicles",
            "type": "array",
            "description": "Make, or make and model, one per line, e.g. \"Toyota Camry\", \"Ford F-150\", \"Porsche 911\", \"Tesla\". Extra words after the model become keywords (\"Honda Civic Si\"). 122 makes supported. Leave empty to search every make.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "...or paste AutoTempest links",
            "type": "array",
            "description": "AutoTempest results pages (autotempest.com/results?make=...&zip=...). Each link keeps its own filters; the filters below apply to Vehicles.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Words to look for in the listing, e.g. \"manual\", \"one owner\", \"sunroof\". Applied by AutoTempest."
          },
          "zip": {
            "title": "ZIP code",
            "type": "string",
            "description": "US ZIP code (e.g. \"90210\") or Canadian postal code. Needed for a radius, statewide search or distance sort; also fills Distance on every row."
          },
          "radius": {
            "title": "Search area",
            "enum": [
              "25",
              "50",
              "100",
              "300",
              "500",
              "1000",
              "state",
              "country",
              "any"
            ],
            "type": "string",
            "description": "How far from the ZIP code. Nationwide needs no ZIP code.",
            "default": "country"
          },
          "customRadiusMiles": {
            "title": "Custom radius (miles)",
            "minimum": 0,
            "type": "integer",
            "description": "Any other distance in miles, e.g. 75. Overrides Search area. Needs a ZIP code."
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Marketplaces to search. Leave empty for all of them.",
            "items": {
              "type": "string",
              "enum": [
                "cm",
                "eb",
                "cv",
                "ot",
                "te",
                "hem",
                "cs"
              ],
              "enumTitles": [
                "Cars.com",
                "eBay Motors",
                "Carvana",
                "Other dealer sites (TrueCar, CarsDirect, CarGurus and more)",
                "Enthusiast auctions (Cars & Bids and more)",
                "Hemmings (classics)",
                "CarSoup (Midwest)"
              ]
            }
          },
          "minYear": {
            "title": "Min year",
            "minimum": 0,
            "type": "integer",
            "description": "Model year, e.g. 2018."
          },
          "maxYear": {
            "title": "Max year",
            "minimum": 0,
            "type": "integer",
            "description": "Model year, e.g. 2023."
          },
          "minPrice": {
            "title": "Min price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for any."
          },
          "maxPrice": {
            "title": "Max price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no limit."
          },
          "minMiles": {
            "title": "Min mileage",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for any."
          },
          "maxMiles": {
            "title": "Max mileage",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no limit."
          },
          "bodyStyles": {
            "title": "Body style",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "convertible",
                "coupe",
                "hatchback",
                "minivan",
                "sedan",
                "suv",
                "truck",
                "van",
                "wagon"
              ],
              "enumTitles": [
                "Convertible",
                "Coupe",
                "Hatchback",
                "Minivan",
                "Sedan",
                "SUV",
                "Truck",
                "Van",
                "Wagon"
              ]
            }
          },
          "fuel": {
            "title": "Fuel",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "gas",
                "diesel",
                "electric",
                "hybrid",
                "flex",
                "hydrogen",
                "ngv"
              ],
              "enumTitles": [
                "Gas",
                "Diesel",
                "Electric",
                "Hybrid",
                "Flex fuel",
                "Hydrogen",
                "Natural gas"
              ]
            }
          },
          "drive": {
            "title": "Drive type",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "4wd",
                "awd",
                "fwd",
                "rwd"
              ],
              "enumTitles": [
                "4WD",
                "AWD",
                "FWD",
                "RWD"
              ]
            }
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "any",
              "auto",
              "man"
            ],
            "type": "string",
            "description": "Manual, automatic or both.",
            "default": "any"
          },
          "cylinders": {
            "title": "Cylinders",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5",
                "6",
                "8",
                "10",
                "12",
                "unknown"
              ],
              "enumTitles": [
                "2",
                "3",
                "4",
                "5",
                "6",
                "8",
                "10",
                "12",
                "Not specified"
              ]
            }
          },
          "doors": {
            "title": "Doors",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "4",
                "unknown"
              ],
              "enumTitles": [
                "2 or 3",
                "4 or more",
                "Not specified"
              ]
            }
          },
          "exteriorColors": {
            "title": "Exterior color",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "beige",
                "black",
                "blue",
                "brown",
                "gold",
                "gray",
                "green",
                "orange",
                "red",
                "silver",
                "white",
                "yellow",
                "unknown"
              ],
              "enumTitles": [
                "Beige",
                "Black",
                "Blue",
                "Brown",
                "Gold",
                "Gray",
                "Green",
                "Orange",
                "Red",
                "Silver",
                "White",
                "Yellow",
                "Not specified"
              ]
            }
          },
          "interiorColors": {
            "title": "Interior color",
            "type": "array",
            "description": "Keep only ANY of these.",
            "items": {
              "type": "string",
              "enum": [
                "beige",
                "black",
                "blue",
                "brown",
                "gray",
                "red",
                "white",
                "unknown"
              ],
              "enumTitles": [
                "Beige",
                "Black",
                "Blue",
                "Brown",
                "Gray",
                "Red",
                "White",
                "Not specified"
              ]
            }
          },
          "titleStatus": {
            "title": "Title status",
            "type": "array",
            "description": "Keep only ANY of these. \"Branded\" covers salvage, rebuilt and lemon.",
            "items": {
              "type": "string",
              "enum": [
                "clean",
                "branded",
                "salvage",
                "rebuilt",
                "lemon"
              ],
              "enumTitles": [
                "Clean",
                "Branded (any)",
                "Salvage",
                "Rebuilt",
                "Lemon / buyback"
              ]
            }
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers, private sellers or both.",
            "default": "any"
          },
          "saleType": {
            "title": "Sale type",
            "enum": [
              "any",
              "auction",
              "classified"
            ],
            "type": "string",
            "description": "Auctions, fixed-price listings or both.",
            "default": "any"
          },
          "postedWithinDays": {
            "title": "Listed in the last (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only cars listed in the last N days, e.g. 1 for today's new listings. Leave empty for any."
          },
          "withPhotosOnly": {
            "title": "With photos only",
            "type": "boolean",
            "description": "Keep only listings that have a photo.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "best",
              "newest",
              "oldest",
              "price_low",
              "price_high",
              "miles_low",
              "miles_high",
              "year_new",
              "year_old",
              "nearest"
            ],
            "type": "string",
            "description": "Order of the results. Matters most when you set a Maximum.",
            "default": "best"
          },
          "titleIncludes": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep only cars whose title contains ANY of these words, e.g. \"Type R\", \"TRD\", \"Raptor\". Not case sensitive.",
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Drop cars whose title contains any of these words, e.g. \"salvage\", \"parts\".",
            "items": {
              "type": "string"
            }
          },
          "withVinOnly": {
            "title": "With VIN only",
            "type": "boolean",
            "description": "Keep only listings that show a VIN.",
            "default": false
          },
          "priceDropsOnly": {
            "title": "Price drops only",
            "type": "boolean",
            "description": "Keep only cars whose price went down since they were first listed (uses the listing price history).",
            "default": false
          },
          "skipDuplicateVins": {
            "title": "Skip the same car on other sites",
            "type": "boolean",
            "description": "The same car (same VIN) is often listed on several marketplaces. On: save it once, from the first source that returns it. Off: one row per listing.",
            "default": true
          },
          "onlyNew": {
            "title": "New listings only",
            "type": "boolean",
            "description": "For scheduled runs: save only cars this same search has not saved before. The first run saves everything; later runs save just what was listed since. Kept per search (vehicles, links, filters and sources).",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Give \"New listings only\" a fixed name to keep its memory even after you change the filters."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional, off by default. AutoTempest works fine without one. Turn it on only if your runs get blocked. Proxy traffic is billed to your Apify account."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}