{
  "openapi": "3.0.1",
  "info": {
    "title": "RockAuto.com Scraper",
    "description": "Scrape auto parts data from RockAuto.com - including part names, part numbers, prices, availability, and compatibility. Ideal for parts comparison, inventory management, and market research. Fast, structured, customizable extraction.",
    "version": "0.2",
    "x-build-id": "WYeeIXux62BBr0j7v"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lexis-solutions~rockauto/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lexis-solutions-rockauto",
        "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/lexis-solutions~rockauto/runs": {
      "post": {
        "operationId": "runs-sync-lexis-solutions-rockauto",
        "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/lexis-solutions~rockauto/run-sync": {
      "post": {
        "operationId": "run-sync-lexis-solutions-rockauto",
        "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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "URLs to scrape",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "partNumber": {
            "title": "Part Number",
            "type": "string",
            "description": "Part number to search for"
          },
          "manufacturer": {
            "title": "Manufacturer",
            "enum": [
              "3D",
              "3M",
              "AAE",
              "ACC",
              "ACCEL",
              "ACDELCO",
              "ACI",
              "ACKOJA",
              "ACME AUTO",
              "ADVAN-TECH",
              "ADVICS",
              "AEM INDUCTION",
              "AGILITY",
              "AGS",
              "AIMCO",
              "AIRAID",
              "AIRQUALITEE",
              "AIRTEX",
              "AISIN",
              "AJUSA",
              "AKEBONO",
              "AL'S LINER",
              "AL-KO",
              "ALBANY",
              "ALLIGATOR",
              "ALLPARTS",
              "ALO",
              "ALTROM",
              "AMERICAN COMPONENTS",
              "AMERICAN REMANUFACTURERS INC.",
              "AMS AUTOMOTIVE / RHINOPAC",
              "ANCHOR",
              "ANCO",
              "ANSA",
              "AP / EASTERN",
              "APEX",
              "APWI",
              "ARC REMANUFACTURING",
              "ARIES",
              "ARMORMARK",
              "ARNOTT",
              "ARP",
              "ATE",
              "ATP",
              "ATSCO",
              "AUS INJECTION INC.",
              "AUTO 7",
              "AUTO EXTRA",
              "AUTO EXTRA/CHASSIS RITE",
              "AUTO-TUNE",
              "AUTOBEST",
              "AUTODRIVE",
              "AUTOLINE",
              "AUTOLITE",
              "AUTOMETER",
              "AUTOMOTIVE UNDERCAR PRODUCTS",
              "AUTOSPECIALTY",
              "AUTOSPECIALTY/KELSEY-HAYES",
              "AUTOTECNICA",
              "AUTOTEMP",
              "AUVECO",
              "AVS",
              "B & M",
              "B&B",
              "B'LASTER",
              "BALKAMP",
              "BANDO",
              "BB BRAKES",
              "BBB INDUSTRIES",
              "BCA",
              "BECK/ARNLEY",
              "BELDEN",
              "BENDIX",
              "BENTLEY PUBLISHERS",
              "BETTER BRAKE PARTS",
              "BH SENS",
              "BILSTEIN",
              "BLUEFLOW",
              "BOGE",
              "BOOMERANG",
              "BORG-WARNER",
              "BOSCH",
              "BRAKE TUFF",
              "BRAKEWARE",
              "BRANDIT",
              "BREMBO",
              "BREXHAUST",
              "BRUTE POWER",
              "BSE",
              "BUNDLE",
              "BURCO",
              "BUSSMANN",
              "BWD/NIEHOFF",
              "CADNA",
              "CALORSTAT",
              "CAMBIARE",
              "CAR CARE PARTS",
              "CARDONE",
              "CARLSON",
              "CARR",
              "CARTEK",
              "CARTER",
              "CATCO",
              "CEC INDUSTRIES",
              "CENTRIC",
              "CHAMP / LUBER-FINER",
              "CHAMPION",
              "CHAMPION FILTER",
              "CHAMPION PARTS",
              "CHERRY BOMB",
              "CHICAGO RAWHIDE",
              "CITGO",
              "CLEARPLUS",
              "CLORE AUTOMOTIVE",
              "CLOYES",
              "COMPRESSORWORKS, INC.",
              "CONI-SEAL",
              "CONTINENTAL",
              "CORTECO",
              "COVERLAY",
              "CRANKSHAFT REBUILDERS",
              "CROWN REMANUFACTURING",
              "CRP INDUSTRIES",
              "CRS AUTOMOTIVE",
              "CSF",
              "CURT",
              "CV UNLIMITED",
              "CYLINDER HEAD EXPRESS",
              "DANA",
              "DASH 4",
              "DAVE GRAHAM",
              "DAVICO",
              "DAYCO",
              "DAYTON",
              "DEA / MARMON RIDE CONTROL",
              "DEE ZEE",
              "DEKA",
              "DELPHI",
              "DENSO",
              "DEPO",
              "DERALE",
              "DETROIT IRON",
              "DIESEL SELECT",
              "DILL AIR CONTROL",
              "DL",
              "DORMAN",
              "DRAW-TITE",
              "DRIVETECH",
              "DSS",
              "DUPLI-COLOR",
              "DURA-BOND",
              "DURAGO",
              "DYNAMIC FRICTION",
              "DYNAMIC REMANUFACTURING",
              "DYNOMAX",
              "E-TRON",
              "E3 SPARK PLUGS",
              "EAGLE EYES",
              "EASTERN INDUSTRIES",
              "EATON",
              "EBC BRAKE",
              "ECHLIN",
              "ECOGARD",
              "EDELBROCK",
              "EDELMANN",
              "EIKO"
            ],
            "type": "string",
            "description": "Select part manufacturer"
          },
          "catalogQuery": {
            "title": "Catalog Query",
            "type": "string",
            "description": "Catalog query in this format `Make Model Year PartName`, e.g. 'toyota corolla 2013 brake'"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "fr",
              "de"
            ],
            "type": "string",
            "description": "Choose the language to use for both input and output processing.",
            "default": "en"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "The maximum number of items to fetch"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Your proxy configuration from Apify",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}