{
  "openapi": "3.0.1",
  "info": {
    "title": "CarParts.com Scraper: Prices, Stock & Specs",
    "description": "Extract real CarParts.com product listings: price, stock status, brand, manufacturer part number, specs, and warranty. Optional monitor mode alerts when a tracked part's price or stock changes.",
    "version": "0.2",
    "x-build-id": "sqB0rTI2Zfm9ivJUX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~carparts-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-carparts-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/getascraper~carparts-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-carparts-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/getascraper~carparts-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-carparts-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": {
          "partType": {
            "title": "Part type",
            "type": "string",
            "description": "The kind of part to search for, as it appears in the CarParts.com URL (e.g. \"brake-rotors\"). Pick a common one below, or type any part-type slug from a CarParts.com URL you've visited, since this list is a helpful starting point, not the full catalog.",
            "default": ""
          },
          "make": {
            "title": "Vehicle make",
            "enum": [
              "",
              "acura",
              "alfa-romeo",
              "aston-martin",
              "audi",
              "bentley",
              "bmw",
              "buick",
              "cadillac",
              "chevrolet",
              "chrysler",
              "citroen",
              "dodge",
              "ducati",
              "ferrari",
              "fiat",
              "ford",
              "genesis",
              "gmc",
              "harley-davidson",
              "honda",
              "hummer",
              "hyundai",
              "infiniti",
              "isuzu",
              "jaguar",
              "jeep",
              "kawasaki",
              "kia",
              "ktm",
              "lamborghini",
              "land-rover",
              "lexus",
              "lincoln",
              "lotus",
              "maserati",
              "mazda",
              "mclaren",
              "mercedes-benz",
              "mercury",
              "mini",
              "mitsubishi",
              "nissan",
              "oldsmobile",
              "plymouth",
              "polaris",
              "pontiac",
              "porsche",
              "ram",
              "rivian",
              "rolls-royce",
              "saab",
              "saturn",
              "scion",
              "smart",
              "subaru",
              "suzuki",
              "tesla",
              "toyota",
              "triumph",
              "volkswagen",
              "volvo",
              "yamaha"
            ],
            "type": "string",
            "description": "Only return parts that fit this vehicle make. Combine with Part type for a real fitment search (e.g. brake rotors for Ford).",
            "default": ""
          },
          "model": {
            "title": "Vehicle model",
            "type": "string",
            "description": "Only return parts that fit this model, as it appears in a CarParts.com URL (e.g. \"f-150\" for the Ford F-150). Only used together with Vehicle make.",
            "default": ""
          },
          "year": {
            "title": "Vehicle year",
            "minimum": 0,
            "maximum": 2030,
            "type": "integer",
            "description": "Only return parts that fit this model year. Only used together with Vehicle make and Vehicle model; leave at 0 for any year.",
            "default": 0
          },
          "brand": {
            "title": "Parts brand",
            "type": "string",
            "description": "Only return parts made by this brand. Combine with Part type to shop one brand's version of a part (e.g. Bosch brake rotors). Leave Vehicle make blank to use this filter. This list is a helpful starting point, not the full catalog; type any brand slug from a CarParts.com URL if yours isn't listed.",
            "default": ""
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional extra category or search-result pages to scrape, on top of any filters set above. Paste any CarParts.com category URL if you already know the exact page you want.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "This Actor loads CarParts.com reliably without a proxy, so the default is off, which is the cheapest and fastest option. Turn on a US proxy only if a run reports that the site is not available in your region.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of parts to return in this run. Each page needs a real browser to load, so keep this modest for a quick, low-cost run.",
            "default": 20
          },
          "onlyNewOrChanged": {
            "title": "Incremental monitor mode",
            "type": "boolean",
            "description": "Only return parts that are new or whose price or stock status changed since your last run with the same monitor state name. Pair with an Apify schedule to watch a category for price drops or restocks.",
            "default": false
          },
          "stateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name for this run's incremental state, used only when incremental monitor mode is on. Use different names to track separate categories independently.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}